pick time storing and convert time to 24 hours time base

This commit is contained in:
2025-11-13 21:45:06 +03:00
parent 590cc2c5e9
commit a62ba5028f
7 changed files with 87 additions and 27 deletions

View File

@@ -37,6 +37,8 @@ export default function useOrder() {
location,
discount,
plateCar,
pickupTime,
pickupDate,
} = useAppSelector(selectCart);
const highestLoyaltyItem = useAppSelector(selectHighestPricedLoyaltyItem);
const { useLoyaltyPoints } = useAppSelector(selectCart);
@@ -83,7 +85,8 @@ export default function useOrder() {
paymentType: "cod",
uuid: user_uuid,
pickup_comments: "",
pickup_time: estimateTime,
pickup_time: pickupTime,
pickup_date: pickupDate,
car_plate: plateCar,
delivery_pickup_interval: "",
orderPrice: orderPrice,