Merge pull request 'Implement dynamic header and table color functionality' (#232) from print-colors-sq into main
Reviewed-on: Pozomind/pozo-retail-app#232
This commit is contained in:
commit
49b67a1ece
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue