From 7abd3c3b133cfdb623365af5f28787271de8b901 Mon Sep 17 00:00:00 2001 From: Srinath Date: Wed, 4 Mar 2026 17:31:17 +0530 Subject: [PATCH] Implement dynamic header and table color functionality --- src/Pages/BookingScreen/PrintTemplates/A4/TaxInvoice.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Pages/BookingScreen/PrintTemplates/A4/TaxInvoice.jsx b/src/Pages/BookingScreen/PrintTemplates/A4/TaxInvoice.jsx index 00bee82..29c0af4 100644 --- a/src/Pages/BookingScreen/PrintTemplates/A4/TaxInvoice.jsx +++ b/src/Pages/BookingScreen/PrintTemplates/A4/TaxInvoice.jsx @@ -47,8 +47,6 @@ const TaxInvoice = ({ setting?.SettingIdName?.toLowerCase() === 'estimatetitle' )?.SettingValue === 'Y'; let BillName = printDatas?.PrintHdrName; - let companyColour = printDatas?.PrintHdrColor ?? '#00000'; - const SelectedHeaderColor = useSelector(GlobalSelectedPrintHeaderColor); const SelectedHeaderFontColor = useSelector(GlobalSelectedPrintHeaderFontColor); const SelectedTableHeaderColor = useSelector(GlobalSelectedTableHeaderColor); @@ -490,7 +488,6 @@ const TaxInvoice = ({ style={{ // flex: '1', padding: '10px', - fontSize: '11px', textAlign: 'left', }} @@ -499,7 +496,7 @@ const TaxInvoice = ({ style={{ fontWeight: '700', fontSize: '15px', - color: companyColour, + color: headerColor?.font }} > {invoiceData.companyName}