enhance loyalty card
This commit is contained in:
@@ -653,7 +653,7 @@ export const selectGrandTotal = (state: RootState) => {
|
||||
return (
|
||||
subtotal +
|
||||
taxAmount -
|
||||
(state.order.useLoyaltyPoints ? loyaltyDiscount : 0) +
|
||||
(state.order.useLoyaltyPoints && state.order.restaurant?.is_loyalty_enabled === 1 ? loyaltyDiscount : 0) +
|
||||
deliveryFee
|
||||
);};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user