Invoice PAIN & CSV can be uploaded

This commit is contained in:
2026-02-13 22:37:27 +01:00
parent cd526231ed
commit 4f4dff2edd
29 changed files with 1635 additions and 193 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Storage;
class FileWriteProvider {
public string $fileName;
public string $fileContent;
public function __construct(string $fileName, string $fileContent) {
$this->fileName = $fileName;
$this->fileContent = $fileContent;
}
public function writeToFile() {
Storage::disk('local')->put($this->fileName, $this->fileContent);
}
}