remove wrong save
This commit is contained in:
parent
928086953c
commit
69c41620b8
|
@ -237,8 +237,8 @@ class PaymentController extends Controller
|
||||||
->sequence($newInvoiceID)
|
->sequence($newInvoiceID)
|
||||||
->serialNumberFormat(env("INVOICE_PREFIX","").'-{SERIES}{SEQUENCE}')
|
->serialNumberFormat(env("INVOICE_PREFIX","").'-{SERIES}{SEQUENCE}')
|
||||||
|
|
||||||
->logo(public_path('vendor/invoices/logo.png'))
|
->logo(public_path('vendor/invoices/logo.png'));
|
||||||
->save("local");
|
|
||||||
//Save the invoice in "storage\app\invoice\USER_ID\YEAR"
|
//Save the invoice in "storage\app\invoice\USER_ID\YEAR"
|
||||||
$invoice->render();
|
$invoice->render();
|
||||||
Storage::disk("local")->put("invoice/".$user->id."/".now()->format('Y')."/".$invoice->filename, $invoice->output);
|
Storage::disk("local")->put("invoice/".$user->id."/".now()->format('Y')."/".$invoice->filename, $invoice->output);
|
||||||
|
|
Loading…
Reference in a new issue