From 8d07176b38f6f7990c28e5425184eb247e098f1f Mon Sep 17 00:00:00 2001
From: Srinath Refund Amount Total Cash In Hand
Take Away:{' '}
- {TakeAwayOrderCount + SelfTakeAwayOrderCount || 0}
+ {(TakeAwayOrderCount + SelfTakeAwayOrderCount || 0)}
Dine In: {DineInOrderCount + SelfDineInOrderCount || 0}
Charges: {TotalCharges}
)} + {refundAmount > 0 && ( +Refund: {refundAmount}
+ )} {TotalDiscount > 0 && (Discount(-): {TotalDiscount}
)} --------------------------
{' '} - Net: {Math.round(TotalNetAmount + (TotalPreOrderAmount || 0))} + Net: {Math.round(TotalBillAmount + TaxAmount + (TotalPreOrderAmount || 0) - (refundAmount))}
Charges: {parseFloat(TotalCharges).toFixed(2)}
)} + {itemData?.[0]?.RefundAmount > 0 && ( +Refund: {parseFloat(itemData?.[0]?.RefundAmount).toFixed(2)}
+ )} {TotalDiscount > 0 && (Discount(-): { parseFloat(TotalDiscount).toFixed(2)}
)} @@ -190,7 +193,7 @@ const ItemWiseReportPdf = ({ (TotalTaxAmount || 0) + (TotalCharges || 0) + (TotalPreOrderAmount || 0) - - (TotalDiscount || 0) + (TotalDiscount || 0) - (itemData?.[0]?.RefundAmount || 0) )}