yahiaelgamal/smartsoft-14

Time of the truck

Closed this issue · 3 comments

@sedramina adding the attribute indicates the time of each truck to be in the warehouse after getting back form delivering the orders
field :trip_time_mins , type: Integer
field:take_off_time , type: DateTime #the take off time from the warehouse

in truck model ? @aaeabdo

@sedramina also i will add a method in this model called
int trucks_condition check the condition of the trucks and return an integer indicating the number of modified trucks