浏览代码

remove wrong save

WBLKLeipe 3 年之前
父节点
当前提交
69c41620b8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Http/Controllers/Admin/PaymentController.php

+ 2 - 2
app/Http/Controllers/Admin/PaymentController.php

@@ -237,8 +237,8 @@ class PaymentController extends Controller
                     ->sequence($newInvoiceID)
                     ->serialNumberFormat(env("INVOICE_PREFIX","").'-{SERIES}{SEQUENCE}')
 
-                    ->logo(public_path('vendor/invoices/logo.png'))
-                    ->save("local");
+                    ->logo(public_path('vendor/invoices/logo.png'));
+                
                 //Save the invoice in "storage\app\invoice\USER_ID\YEAR"
                 $invoice->render();
                 Storage::disk("local")->put("invoice/".$user->id."/".now()->format('Y')."/".$invoice->filename, $invoice->output);