mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: Hook up customer/company address to pdf templates
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { addressTextFormat } from '@/utils/address-text-format';
|
||||
import { organizationAddressTextFormat } from '@/utils/address-text-format';
|
||||
import BaseModel from 'models/Model';
|
||||
import { getUploadedObjectUri } from '../../services/Attachments/utils';
|
||||
|
||||
@@ -74,7 +74,7 @@ export default class TenantMetadata extends BaseModel {
|
||||
{POSTAL_CODE},
|
||||
{COUNTRY}
|
||||
`;
|
||||
return addressTextFormat(defaultMessage, {
|
||||
return organizationAddressTextFormat(defaultMessage, {
|
||||
organizationName: this.name,
|
||||
address1: this.address?.address1,
|
||||
address2: this.address?.address2,
|
||||
|
||||
Reference in New Issue
Block a user