From c83ba701f439ab47fa62f5cd16632ccbf35b8db1 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 15 Oct 2025 13:51:44 +1100 Subject: [PATCH] Updated translations --- app/Http/Requests/Company/UpdateCompanyRequest.php | 3 +-- lang/en/texts.php | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Http/Requests/Company/UpdateCompanyRequest.php b/app/Http/Requests/Company/UpdateCompanyRequest.php index 69ea2d2941..8c1bfead68 100644 --- a/app/Http/Requests/Company/UpdateCompanyRequest.php +++ b/app/Http/Requests/Company/UpdateCompanyRequest.php @@ -216,9 +216,8 @@ class UpdateCompanyRequest extends Request } - if($this->company->verifactuEnabled()) { + if(isset($settings['e_invoice_type']) && $settings['e_invoice_type'] == 'VERIFACTU' && $this->company->verifactuEnabled()) { $settings['lock_invoices'] = 'when_sent'; - $settings['e_invoice_type'] = 'VERIFACTU'; } if (isset($settings['email_style_custom'])) { diff --git a/lang/en/texts.php b/lang/en/texts.php index 26ef2bbdb3..cdcc853262 100644 --- a/lang/en/texts.php +++ b/lang/en/texts.php @@ -5648,6 +5648,9 @@ $lang = array( 'activity_151' => 'E-Invoice :invoice for :client failed to send to AEAT :notes', 'activity_152' => 'Invoice cancellation for :invoice sent to AEAT successfully', 'activity_153' => 'Invoice cancellation for :invoice failed to send to AEAT :notes', + 'justify' => 'Justify', + 'outdent' => 'Outdent', + 'indent' => 'Indent', ); return $lang;