1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Merge pull request #9742 from turbo124/v5-develop

Disable e_invoice in transformer
This commit is contained in:
David Bomba 2024-07-09 08:05:51 +10:00 committed by GitHub
commit 0e4baeca5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -211,7 +211,7 @@ class CompanyTransformer extends EntityTransformer
'smtp_password' => $company->smtp_password ? '********' : '',
'smtp_local_domain' => (string)$company->smtp_local_domain ?? '',
'smtp_verify_peer' => (bool)$company->smtp_verify_peer,
'e_invoice' => $company->e_invoice ?: new \stdClass(),
// 'e_invoice' => $company->e_invoice ?: new \stdClass(),
];
}