mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
v6 update
This commit is contained in:
@@ -21,6 +21,9 @@ class SendInvoicePreviewController extends Controller
|
||||
|
||||
$markdown = new Markdown(view(), config('mail.markdown'));
|
||||
|
||||
return $markdown->render('emails.send.invoice', ['data' => $invoice->sendInvoiceData($request->all())]);
|
||||
$data = $invoice->sendInvoiceData($request->all());
|
||||
$data['url'] = $invoice->invoicePdfUrl;
|
||||
|
||||
return $markdown->render('emails.send.invoice', ['data' => $data]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user