fixes
This commit is contained in:
@@ -698,7 +698,7 @@ export const selectGrandTotal = (state: RootState) => {
|
||||
const taxAmount = selectTaxAmount(state);
|
||||
const subtotal = selectCartTotal(state);
|
||||
const deliveryFee =
|
||||
state.order.orderType !== OrderType.DineIn
|
||||
state.order.orderType === OrderType.Delivery
|
||||
? Number(state.order.restaurant?.delivery_fees) || 0
|
||||
: 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user