Merge pull request #688 from bigcapitalhq/fix-pdf-template-addresses-controlling

fix: pdf template addresses controlling
This commit is contained in:
Ahmed Bouhuolia
2024-10-03 17:13:07 +02:00
committed by GitHub
5 changed files with 12 additions and 12 deletions

View File

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

View File

@@ -25,7 +25,7 @@ export const initialValues = {
// Customer address
showCustomerAddress: true,
// Company address
showCompanyAddress: true,
companyAddress: '',
@@ -73,12 +73,12 @@ export const fieldsGroups = [
label: 'Expiration Date',
},
{
enableKey: 'showBilledToAddress',
enableKey: 'showCustomerAddress',
labelKey: 'billedToLabel',
label: 'Bill To',
},
{
enableKey: 'showBilledFromAddress',
enableKey: 'showCompanyAddress',
label: 'Billed From',
},
],

View File

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

View File

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

View File

@@ -21,7 +21,7 @@ export const initialValues = {
// Company name
companyName: 'Bigcapital Technology, Inc.',
// Customer address
// Customer address
showCustomerAddress: true,
// Company address
@@ -67,12 +67,12 @@ export const fieldsGroups = [
label: 'Receipt Date',
},
{
enableKey: 'showBilledToAddress',
enableKey: 'showCustomerAddress',
labelKey: 'billedToLabel',
label: 'Bill To',
},
{
enableKey: 'showBilledFromAddress',
enableKey: 'showCompanyAddress',
label: 'Billed From',
},
],