Invoice upload by robot

This commit is contained in:
th.guenther committed 2026-02-14 00:04:00 +01:00
1 parent 4f4dff2edd
commit 2b458eccd7
15 files changed
+278 -6

No files matched your search

+2 -2
View File
@@ -13,10 +13,10 @@ class WebDavProvider {
$this->workingDirectory = $workingDirectory;
}
public function uploadFile(string $fileName) {
public function uploadFile(string $fileName) : bool {
$baseDir = storage_path('app/private/');
$this->webDavClient->upload_file($baseDir . $fileName, $this->workingDirectory . '/'.
return $this->webDavClient->upload_file($baseDir . $fileName, $this->workingDirectory . '/'.
basename($fileName)