update restaurant details source & add loyalty icon

This commit is contained in:
2025-10-20 21:42:48 +03:00
parent c7f5620f5a
commit 6a6f92aefc
15 changed files with 305 additions and 205 deletions

View File

@@ -38,12 +38,12 @@ export default function useOrder() {
couponID: coupon,
discountAmount: 0,
comment: specialRequest,
delivery_method: "3",
timeslot: "",
table_id: tables,
table_id: tables[0],
deliveryType: orderType,
dineType: orderType,
type: "table-pickup",
user_id: id,
// user_id: id,
restorant_id: restaurantID,
items: items.map((i) => ({
...i,
@@ -74,6 +74,7 @@ export default function useOrder() {
senderEmail: giftDetails?.senderEmail,
senderPhone: giftDetails?.senderPhone,
senderName: giftDetails?.senderName,
dineType: orderType
}
: {}),
})