mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for status message after emailing an invoice
This commit is contained in:
parent
6106f8d705
commit
98fed80761
@ -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…
x
Reference in New Issue
Block a user