fixlinebug
This commit is contained in:
parent
0cb561e628
commit
8a1b564936
|
|
@ -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 = ({
|
|||
})()}
|
||||
</div>
|
||||
)}
|
||||
{/* <hr className="PrintStyle4-print-dottline" /> */}
|
||||
<div className="PrintStyle4-FourthDiv">
|
||||
{!estimatePrintHeader && table2Data?.OrderType === 'E' ? (
|
||||
''
|
||||
|
|
@ -3916,7 +3915,6 @@ const Printstyle4 = ({
|
|||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
{DineInData?.length > 0 && (
|
||||
<>
|
||||
<div
|
||||
|
|
@ -4093,7 +4091,7 @@ const Printstyle4 = ({
|
|||
}
|
||||
</div>
|
||||
)
|
||||
).trim()}
|
||||
)?.trim()}
|
||||
</td>
|
||||
)}
|
||||
{GlobaldummyData
|
||||
|
|
@ -4215,7 +4213,6 @@ const Printstyle4 = ({
|
|||
)}
|
||||
{DineInData?.length > 0 && TakeawayData?.length > 0 && (
|
||||
<>
|
||||
<hr className="PrintStyle4-print-dottline" />
|
||||
<div>
|
||||
<div>Takeaway: {Number(TakeawayTotal).toFixed(2)}</div>
|
||||
<div>Dine In: {Number(DineInTotal).toFixed(2)} </div>
|
||||
|
|
@ -4789,7 +4786,6 @@ const Printstyle4 = ({
|
|||
})()}
|
||||
</div>
|
||||
)}
|
||||
<hr className="PrintStyle4-print-dottline" />
|
||||
<div className="PrintStyle4-FourthDiv">
|
||||
{!estimatePrintHeader && table2Data?.OrderType === 'E' ? (
|
||||
''
|
||||
|
|
|
|||
Loading…
Reference in New Issue