add plateCar

This commit is contained in:
2025-11-12 23:34:09 +03:00
parent c1f2f1a6a6
commit df43d46ed2
3 changed files with 26 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ export default function useOrder() {
giftDetails,
location,
discount,
plateCar,
} = useAppSelector(selectCart);
const highestLoyaltyItem = useAppSelector(selectHighestPricedLoyaltyItem);
const { useLoyaltyPoints } = useAppSelector(selectCart);
@@ -83,6 +84,7 @@ export default function useOrder() {
uuid: user_uuid,
pickup_comments: "",
pickup_time: estimateTime,
car_plate: plateCar,
delivery_pickup_interval: "",
orderPrice: orderPrice,
use_loylaty: useLoyaltyPoints && highestLoyaltyItem ? 1 : 0,