@sedramina i want to add two methods one in item model :
get_alter(item , healthrecord , member)
which takes returns an array of item alternative to the item given as an input
the other method :
get_count(item , member)
given an item it returns the number of time this member ordered.
@sedramina i want to add two methods one in item model : get_alter(item , healthrecord , member) which takes returns an array of item alternative to the item given as an input the other method : get_count(item , member) given an item it returns the number of time this member ordered.