Merge branch 'main' into development

This commit is contained in:
Dennis 2022-02-15 11:31:42 +01:00 committed by GitHub
commit 49256a3522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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) {

View file

@ -5,6 +5,7 @@ use App\Models\Settings;
return [
'version' => '0.7.3',
/*
|--------------------------------------------------------------------------
| Application Name