1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00

Fix for status message after emailing an invoice

This commit is contained in:
Hillel Coren 2017-01-26 20:21:30 +02:00
parent 5b5ede6f34
commit 034496ac6c

View File

@ -415,7 +415,8 @@ class InvoiceController extends BaseController
if ($invoice->is_recurring) {
$response = $this->emailRecurringInvoice($invoice);
} 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));
//return true;
}