Activity translations for verifactu
This commit is contained in:
parent
256555c952
commit
084f0fea25
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue