Improvement for Uploading of receipts

This commit is contained in:
2026-05-02 00:21:54 +02:00
parent b668195e21
commit 71cb09f051
3 changed files with 4 additions and 9 deletions
@@ -60,7 +60,7 @@ class CreateInvoiceReceiptCommand {
storage_path('app/private/' .$filename) . '.zip',
ZipArchive::CREATE | ZipArchive::OVERWRITE
);
dd($receipt);
$zip->addFile(storage_path('app/private/' . $tmpFileName ), 'antrag.pdf');
$zip->addFile(storage_path('app/private/' . $receipt), 'beleg.pdf');
+1 -7
View File
@@ -16,12 +16,6 @@ class WebDavProvider {
public function uploadFile(string $fileName) : bool {
$baseDir = storage_path('app/private/');
return $this->webDavClient->upload_file($baseDir . $fileName, $this->workingDirectory . '/'.
basename($fileName)
);
return $this->webDavClient->upload_file($baseDir . $fileName, $this->workingDirectory . '/');
}
}
Executable → Regular
+2 -1
View File
@@ -24,11 +24,12 @@ rm docker-compose.prod
rm justfile
rm phpunit.xml
rm -rf node_modules
rm composer.json
rm composer.lock
rm package-lock.json
rm package.json
rm -rf docker
rm -rf database
r m-rf app/Installer
php artisan migrate --force