send pick up type
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user