Code improvements
This commit is contained in:
1 parent
d23e6c3914
commit
4bb64b0053
51 files changed
+30702
-87
No files matched your search
@@ -25,7 +25,7 @@ class UploadFileProvider {
|
||||
* wo alle anderen Belege liegen.
|
||||
*/
|
||||
public static function directoryFor(CostUnit $costUnit) : string {
|
||||
return sprintf('%1$s/invoices/%2$s', app('tenant')->slug, $costUnit->id);
|
||||
return sprintf('%1$s/invoices/%2$s', currentTenant()->slug, $costUnit->id);
|
||||
}
|
||||
|
||||
public function saveUploadedFile() : ?InvoiceFile {
|
||||
|
||||
Reference in new issue
Block a user