add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
@@ -9,7 +9,8 @@ class ExpenseReceiptService
{
public function __construct(
private ApplicationUrlService $urls
) {}
) {
}
public function storeReceipt(UploadedFile $file): string
{
@@ -33,7 +34,7 @@ class ExpenseReceiptService
throw new \InvalidArgumentException('Receipt file too large. Max 5MB.');
}
$filename = bin2hex(random_bytes(16)).'.'.$allowed[$mime];
$filename = bin2hex(random_bytes(16)) . '.' . $allowed[$mime];
$file->storeAs('receipts', $filename);
return $filename;