Merge pull request 'branchloginissueandprint' (#277) from branchloginissueandprint into main

Reviewed-on: Pozomind/pozo-retail-app#277
This commit is contained in:
TamilSelvan 2026-03-12 16:11:43 +05:30
commit 0419ed82bf
2 changed files with 6 additions and 10 deletions

View File

@ -758,7 +758,7 @@ export const getPreferenceData = createAsyncThunk(
AppId != undefined
) {
return await axiosRetailInstanceData.get(
`/settings?BranchId=${BranchId}&CompId=${CompId}&AppId=${AppId}`
`/Settings?branchId=${BranchId}&compId=${CompId}&appId=${AppId}`
);
}
}

View File

@ -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:&nbsp;{Number(TakeawayTotal).toFixed(2)}</div>
<div>Dine In:&nbsp;{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' ? (
''