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 = ({ })()} )} - {/*