mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
84 lines
1.7 KiB
TypeScript
84 lines
1.7 KiB
TypeScript
export const initialValues = {
|
|
templateName: '',
|
|
|
|
// Colors
|
|
primaryColor: '#2c3dd8',
|
|
secondaryColor: '#2c3dd8',
|
|
|
|
// Company logo.
|
|
showCompanyLogo: true,
|
|
companyLogoUri: '',
|
|
companyLogoKey: '',
|
|
|
|
// Top details.
|
|
showPaymentReceivedNumber: true,
|
|
paymentReceivedNumberLabel: 'Payment number',
|
|
|
|
// Payment number
|
|
showPaymentReceivedDate: true,
|
|
paymentReceivedDateLabel: 'Date of Issue',
|
|
|
|
// Company name
|
|
companyName: 'Bigcapital Technology, Inc.',
|
|
|
|
// Customer address
|
|
showCompanyAddress: true,
|
|
companyAddress: '',
|
|
|
|
// Company address
|
|
showCustomerAddress: true,
|
|
billedToLabel: 'Billed To',
|
|
|
|
// Entries
|
|
itemNameLabel: 'Item',
|
|
itemDescriptionLabel: 'Description',
|
|
itemRateLabel: 'Rate',
|
|
itemTotalLabel: 'Total',
|
|
|
|
// Subtotal
|
|
showSubtotal: true,
|
|
subtotalLabel: 'Subtotal',
|
|
|
|
// Total
|
|
showTotal: true,
|
|
totalLabel: 'Total',
|
|
};
|
|
|
|
export const fieldsGroups = [
|
|
{
|
|
label: 'Header',
|
|
fields: [
|
|
{
|
|
labelKey: 'paymentReceivedNumberLabel',
|
|
enableKey: 'showPaymentReceivedNumber',
|
|
label: 'Payment No.',
|
|
},
|
|
{
|
|
labelKey: 'paymentReceivedDateLabel',
|
|
enableKey: 'showPaymentReceivedDate',
|
|
label: 'Payment Date',
|
|
},
|
|
{
|
|
enableKey: 'showCustomerAddress',
|
|
labelKey: 'billedToLabel',
|
|
label: 'Bill To',
|
|
},
|
|
{
|
|
enableKey: 'showCompanyAddress',
|
|
label: 'Billed From',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
label: 'Totals',
|
|
fields: [
|
|
{
|
|
labelKey: 'subtotalLabel',
|
|
enableKey: 'showSubtotal',
|
|
label: 'Subtotal',
|
|
},
|
|
{ labelKey: 'totalLabel', enableKey: 'showTotal', label: 'Total' },
|
|
],
|
|
},
|
|
];
|