Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pdf template addresses controlling #688

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const initialValues = {

// Customer address
showCustomerAddress: true,

// Company address
showCompanyAddress: true,
companyAddress: '',
Expand Down Expand Up @@ -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',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const initialValues = {
// Company name
companyName: 'Bigcapital Technology, Inc.',

// Customer address
// Customer address
showCustomerAddress: true,

// Company address
Expand Down Expand Up @@ -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',
},
],
Expand Down
Loading