small fixes
This commit is contained in:
		| @@ -39,13 +39,14 @@ async def update_auto(autoid: int, request: Request): | ||||
|     new_home_factor = calc_home_factor(gallons_put_in_home = gallons_put_in_home, | ||||
|                                         current_house_factor=customer_home_factor) | ||||
|      | ||||
|     gallons_left_buffer = get_auto_delivery.tank_size - 30 | ||||
|  | ||||
|  | ||||
|     get_auto_delivery.house_factor = new_home_factor | ||||
|     get_auto_delivery.tank_height = 'Full' | ||||
|     get_auto_delivery.last_fill = date.today() | ||||
|     get_auto_delivery.estimated_gallons_left = 240 | ||||
|     get_auto_delivery.estimated_gallons_left_prev_day = 240 | ||||
|     get_auto_delivery.estimated_gallons_left = gallons_left_buffer | ||||
|     get_auto_delivery.estimated_gallons_left_prev_day = gallons_left_buffer | ||||
|     get_auto_delivery.auto_status = 1 | ||||
|     get_auto_delivery.days_since_last_fill = 0 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user