E-invoicing
This commit is contained in:
parent
04d6d18830
commit
55e7ca2397
|
|
@ -124,6 +124,8 @@ abstract class CompanyEntity extends Object
|
|||
convertExpenseCurrency: false,
|
||||
notifyVendorWhenPaid: false,
|
||||
calculateTaxes: false,
|
||||
eInvoiceCertificate: '',
|
||||
eInvoiceCertificatePassphrase: '',
|
||||
taxData: TaxDataEntity(),
|
||||
groups: BuiltList<GroupEntity>(),
|
||||
taxRates: BuiltList<TaxRateEntity>(),
|
||||
|
|
@ -760,6 +762,8 @@ abstract class CompanyEntity extends Object
|
|||
..convertExpenseCurrency = false
|
||||
..notifyVendorWhenPaid = false
|
||||
..calculateTaxes = false
|
||||
..eInvoiceCertificate = ''
|
||||
..eInvoiceCertificatePassphrase = ''
|
||||
..taxData.replace(TaxDataEntity())
|
||||
..systemLogs.replace(BuiltList<SystemLogEntity>())
|
||||
..subscriptions.replace(BuiltList<SubscriptionEntity>())
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
static final Map<String, Map<String, String>> _localizedValues = {
|
||||
'en': {
|
||||
// STARTER: lang key - do not remove comment
|
||||
'certificate_passphrase': 'Certificate Passphrase',
|
||||
'rename': 'Rename',
|
||||
'renamed_document': 'Successfully renamed document',
|
||||
'e_invoice': 'E-Invoice',
|
||||
|
|
@ -102465,6 +102466,11 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
_localizedValues[localeCode]['renamed_document'] ??
|
||||
_localizedValues['en']['renamed_document'];
|
||||
|
||||
String get certificatePassphrase =>
|
||||
_localizedValues[localeCode]['certificate_passphrase'] ??
|
||||
_localizedValues['en']['certificate_passphrase'];
|
||||
|
||||
|
||||
// STARTER: lang field - do not remove comment
|
||||
|
||||
String lookup(String key) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue