fix: pdf template addresses controlling

This commit is contained in:
Ahmed Bouhuolia
2024-10-03 17:12:12 +02:00
parent cbc60b3c73
commit c74c8e896a
5 changed files with 12 additions and 12 deletions

View File

@@ -62,12 +62,12 @@ export const fieldsGroups = [
label: 'Credit Note #', label: 'Credit Note #',
}, },
{ {
enableKey: 'showBilledToAddress', enableKey: 'showCustomerAddress',
labelKey: 'billedToLabel', labelKey: 'billedToLabel',
label: 'Bill To', label: 'Bill To',
}, },
{ {
enableKey: 'showBilledFromAddress', enableKey: 'showCompanyAddress',
label: 'Billed From', label: 'Billed From',
}, },
], ],

View File

@@ -73,12 +73,12 @@ export const fieldsGroups = [
label: 'Expiration Date', label: 'Expiration Date',
}, },
{ {
enableKey: 'showBilledToAddress', enableKey: 'showCustomerAddress',
labelKey: 'billedToLabel', labelKey: 'billedToLabel',
label: 'Bill To', label: 'Bill To',
}, },
{ {
enableKey: 'showBilledFromAddress', enableKey: 'showCompanyAddress',
label: 'Billed From', label: 'Billed From',
}, },
], ],

View File

@@ -83,12 +83,12 @@ export const fieldsGroups = [
label: 'Due Date', label: 'Due Date',
}, },
{ {
enableKey: 'showBillingToAddress', enableKey: 'showCustomerAddress',
labelKey: 'billedToLabel', labelKey: 'billedToLabel',
label: 'Bill To', label: 'Bill To',
}, },
{ {
enableKey: 'showBilledFromAddress', enableKey: 'showCompanyAddress',
label: 'Billed From', label: 'Billed From',
}, },
], ],

View File

@@ -59,12 +59,12 @@ export const fieldsGroups = [
label: 'Payment Date', label: 'Payment Date',
}, },
{ {
enableKey: 'showBillingToAddress', enableKey: 'showCustomerAddress',
labelKey: 'billedToLabel', labelKey: 'billedToLabel',
label: 'Bill To', label: 'Bill To',
}, },
{ {
enableKey: 'showBilledFromAddress', enableKey: 'showCompanyAddress',
label: 'Billed From', label: 'Billed From',
}, },
], ],

View File

@@ -67,12 +67,12 @@ export const fieldsGroups = [
label: 'Receipt Date', label: 'Receipt Date',
}, },
{ {
enableKey: 'showBilledToAddress', enableKey: 'showCustomerAddress',
labelKey: 'billedToLabel', labelKey: 'billedToLabel',
label: 'Bill To', label: 'Bill To',
}, },
{ {
enableKey: 'showBilledFromAddress', enableKey: 'showCompanyAddress',
label: 'Billed From', label: 'Billed From',
}, },
], ],