Add Postal/City address option
This commit is contained in:
parent
8ba4f7ff9c
commit
11bbca6c12
|
|
@ -92,6 +92,7 @@ class ClientFields {
|
|||
static const String createdById = 'created_by_id';
|
||||
static const String cityStatePostal = 'city_state_postal';
|
||||
static const String postalCityState = 'postal_city_state';
|
||||
static const String postalCity = 'postal_city';
|
||||
static const String documents = 'documents';
|
||||
static const String postalCode = 'postal_code';
|
||||
static const String city = 'city';
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ class CompanyFields {
|
|||
static const String custom4 = 'custom4';
|
||||
static const String cityStatePostal = 'city_state_postal';
|
||||
static const String postalCityState = 'postal_city_state';
|
||||
static const String postalCity = 'postal_city';
|
||||
}
|
||||
|
||||
abstract class CompanyEntity extends Object
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ class VendorFields {
|
|||
static const String contacts = 'contacts';
|
||||
static const String cityStatePostal = 'city_state_postal';
|
||||
static const String postalCityState = 'postal_city_state';
|
||||
static const String postalCity = 'postal_city';
|
||||
}
|
||||
|
||||
abstract class VendorEntity extends Object
|
||||
|
|
|
|||
|
|
@ -496,6 +496,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
ClientFields.address2,
|
||||
ClientFields.cityStatePostal,
|
||||
ClientFields.postalCityState,
|
||||
ClientFields.postalCity,
|
||||
ClientFields.country,
|
||||
ClientFields.custom1,
|
||||
ClientFields.custom2,
|
||||
|
|
@ -551,6 +552,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
CompanyFields.address2,
|
||||
CompanyFields.cityStatePostal,
|
||||
CompanyFields.postalCityState,
|
||||
CompanyFields.postalCity,
|
||||
CompanyFields.country,
|
||||
CompanyFields.custom1,
|
||||
CompanyFields.custom2,
|
||||
|
|
@ -589,6 +591,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
CompanyFields.address2,
|
||||
CompanyFields.cityStatePostal,
|
||||
CompanyFields.postalCityState,
|
||||
CompanyFields.postalCity,
|
||||
CompanyFields.country,
|
||||
CompanyFields.custom1,
|
||||
CompanyFields.custom2,
|
||||
|
|
@ -740,7 +743,8 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
VendorFields.address1,
|
||||
VendorFields.address2,
|
||||
VendorFields.cityStatePostal,
|
||||
//VendorFields.postalCityState,
|
||||
VendorFields.postalCityState,
|
||||
VendorFields.postalCity,
|
||||
VendorFields.country,
|
||||
VendorFields.customValue1,
|
||||
VendorFields.customValue2,
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
static final Map<String, Map<String, String>> _localizedValues = {
|
||||
'en': {
|
||||
// STARTER: lang key - do not remove comment
|
||||
'postal_city': 'Postal/City',
|
||||
'failed': 'Failed',
|
||||
'client_contacts': 'Client Contacts',
|
||||
'sync_from': 'Sync From',
|
||||
|
|
@ -93989,6 +93990,9 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
_localizedValues[localeCode]['failed'] ??
|
||||
_localizedValues['en']['failed'];
|
||||
|
||||
String get postalCity =>
|
||||
_localizedValues[localeCode]['postal_city'] ??
|
||||
_localizedValues['en']['postal_city'];
|
||||
|
||||
// STARTER: lang field - do not remove comment
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue