diff --git a/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle4.jsx b/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle4.jsx index 66a0564..22a5a1b 100644 --- a/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle4.jsx +++ b/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle4.jsx @@ -92,10 +92,10 @@ const Printstyle4 = ({ const orderNo = FieldDetails?.['Order No']; const paymentTypelabel = FieldDetails?.['Payment Type Label']; const WeightasKg = FieldDetails?.['Weight']; - const BillLabel=FieldDetails?.['BillNoLabel'] - const Total_Label=FieldDetails?.['Total Label'] - const BillNoLabel = (printDatas?.PrintDocLabel && BillLabel) ? printDatas?.PrintDocLabel : "Bill No"; - const TotalLabel = (printDatas?.PrintTotalLabel && Total_Label) ? printDatas?.PrintTotalLabel : "SUB TOTAL"; + const BillLabel = FieldDetails?.['BillNoLabel'] + const Total_Label = FieldDetails?.['Total Label'] + const BillNoLabel = (printDatas?.PrintDocLabel && BillLabel) ? printDatas?.PrintDocLabel : "Bill No"; + const TotalLabel = (printDatas?.PrintTotalLabel && Total_Label) ? printDatas?.PrintTotalLabel : "SUB TOTAL"; const GlobalSlNo = useSelector(GlobalprintSlNo); const GlobalItem = useSelector(GlobalprintItem); const GlobalMRP = useSelector(GlobalprintMRP); @@ -1956,7 +1956,6 @@ const Printstyle4 = ({ })()} )} - {/*
*/}
{!estimatePrintHeader && table2Data?.OrderType === 'E' ? ( '' @@ -3916,7 +3915,6 @@ const Printstyle4 = ({
)} - {DineInData?.length > 0 && ( <>
) - ).trim()} + )?.trim()} )} {GlobaldummyData @@ -4215,7 +4213,6 @@ const Printstyle4 = ({ )} {DineInData?.length > 0 && TakeawayData?.length > 0 && ( <> -
Takeaway: {Number(TakeawayTotal).toFixed(2)}
Dine In: {Number(DineInTotal).toFixed(2)}
@@ -4789,7 +4786,6 @@ const Printstyle4 = ({ })()}
)} -
{!estimatePrintHeader && table2Data?.OrderType === 'E' ? ( ''