mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
Merge pull request #688 from bigcapitalhq/fix-pdf-template-addresses-controlling
fix: pdf template addresses controlling
This commit is contained in:
@@ -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',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export const initialValues = {
|
|||||||
|
|
||||||
// Customer address
|
// Customer address
|
||||||
showCustomerAddress: true,
|
showCustomerAddress: true,
|
||||||
|
|
||||||
// Company address
|
// Company address
|
||||||
showCompanyAddress: true,
|
showCompanyAddress: true,
|
||||||
companyAddress: '',
|
companyAddress: '',
|
||||||
@@ -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',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -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',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -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',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export const initialValues = {
|
|||||||
// Company name
|
// Company name
|
||||||
companyName: 'Bigcapital Technology, Inc.',
|
companyName: 'Bigcapital Technology, Inc.',
|
||||||
|
|
||||||
// Customer address
|
// Customer address
|
||||||
showCustomerAddress: true,
|
showCustomerAddress: true,
|
||||||
|
|
||||||
// Company address
|
// Company address
|
||||||
@@ -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',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user