Activity translations for verifactu

This commit is contained in:
David Bomba 2025-08-14 12:17:03 +10:00
parent 256555c952
commit 084f0fea25
2 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,8 @@ class SendToAeat implements ShouldQueue
$invoice = Invoice::withTrashed()->find($this->invoice_id); $invoice = Invoice::withTrashed()->find($this->invoice_id);
$invoice = $invoice->service()->markSent()->save();
switch($this->action) { switch($this->action) {
case 'create': case 'create':
$this->createInvoice($invoice); $this->createInvoice($invoice);

View File

@ -5581,6 +5581,10 @@ $lang = array(
'verifactu_cancellation_send_success' => 'Invoice cancellation for :invoice sent to AEAT successfully', 'verifactu_cancellation_send_success' => 'Invoice cancellation for :invoice sent to AEAT successfully',
'verifactu_cancellation_send_failure' => 'Invoice cancellation for :invoice failed to send to AEAT :notes', 'verifactu_cancellation_send_failure' => 'Invoice cancellation for :invoice failed to send to AEAT :notes',
'verifactu' => 'Verifactu', 'verifactu' => 'Verifactu',
'activity_150' => 'E-Invoice :invoice for :client sent to AEAT successfully',
'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',
); );
return $lang; return $lang;