mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 23:22:52 +01:00
Fix for status message after emailing an invoice
This commit is contained in:
parent
5b5ede6f34
commit
034496ac6c
@ -415,7 +415,8 @@ class InvoiceController extends BaseController
|
|||||||
if ($invoice->is_recurring) {
|
if ($invoice->is_recurring) {
|
||||||
$response = $this->emailRecurringInvoice($invoice);
|
$response = $this->emailRecurringInvoice($invoice);
|
||||||
} else {
|
} else {
|
||||||
return app('App\Ninja\Mailers\ContactMailer')->sendInvoice($invoice, false, $pdfUpload);
|
app('App\Ninja\Mailers\ContactMailer')->sendInvoice($invoice, false, $pdfUpload);
|
||||||
|
$response = true;
|
||||||
//$this->dispatch(new SendInvoiceEmail($invoice, false, $pdfUpload));
|
//$this->dispatch(new SendInvoiceEmail($invoice, false, $pdfUpload));
|
||||||
//return true;
|
//return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user