diff --git a/app/Http/Controllers/Admin/InvoiceController.php b/app/Http/Controllers/Admin/InvoiceController.php index 381d7385..bc20ef4c 100644 --- a/app/Http/Controllers/Admin/InvoiceController.php +++ b/app/Http/Controllers/Admin/InvoiceController.php @@ -16,7 +16,7 @@ class InvoiceController extends Controller $zip = new ZipArchive; $zip_safe_path = storage_path('invoices.zip'); $res = $zip->open($zip_safe_path, ZipArchive::CREATE | ZipArchive::OVERWRITE); - $result = $dthis::rglob(storage_path('app/invoice/*')); + $result = $this::rglob(storage_path('app/invoice/*')); if ($res === TRUE) { $zip->addFromString("1. Info.txt", __("Created at") . " " . now()->format("d.m.Y")); foreach ($result as $file) { diff --git a/config/app.php b/config/app.php index 652be605..7da98065 100644 --- a/config/app.php +++ b/config/app.php @@ -5,6 +5,7 @@ use App\Models\Settings; return [ 'version' => '0.7.3', + /* |-------------------------------------------------------------------------- | Application Name