fix: Add mising address in branding templates customize

This commit is contained in:
Ahmed Bouhuolia
2024-09-14 22:52:37 +02:00
parent 70551bee30
commit 8566422ce3
5 changed files with 49 additions and 6 deletions

View File

@@ -10,6 +10,11 @@ export const initialValues = {
companyLogo:
'https://cdn-development.mercury.com/demo-assets/avatars/mercury-demo-dark.png',
// Address
showBilledToAddress: true,
showBilledFromAddress: true,
billedToLabel: 'Bill To',
// Entries
itemNameLabel: 'Item',
itemDescriptionLabel: 'Description',
@@ -55,6 +60,15 @@ export const fieldsGroups = [
enableKey: 'showCreditNoteNumber',
label: 'Credit Note #',
},
{
enableKey: 'showBilledToAddress',
labelKey: 'billedToLabel',
label: 'Bill To',
},
{
enableKey: 'showBilledFromAddress',
label: 'Billed From',
},
],
},
{