send pick up type

This commit is contained in:
2025-11-15 23:04:25 +03:00
parent fb590eb8f2
commit a86fc166fa
3 changed files with 28 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ export default function useOrder() {
plateCar,
pickupTime,
pickupDate,
pickupType,
} = useAppSelector(selectCart);
const highestLoyaltyItem = useAppSelector(selectHighestPricedLoyaltyItem);
const { useLoyaltyPoints } = useAppSelector(selectCart);
@@ -88,6 +89,7 @@ export default function useOrder() {
pickup_time: pickupTime,
pickup_date: pickupDate,
car_plate: plateCar,
pickupTimeType: pickupType,
delivery_pickup_interval: "",
orderPrice: orderPrice,
use_loylaty: useLoyaltyPoints && highestLoyaltyItem ? 1 : 0,