Invoice system working

This commit is contained in:
twotalesanimation
2025-12-30 22:10:30 +02:00
parent e8e9b1f03c
commit 94b90f603d
36 changed files with 6523 additions and 53 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ class InvoiceService
throw new \Exception('Failed to create directory: ' . $directory);
}
// Create filename: INV-{order_number}-{uuid}.pdf
$filename = 'INV-' . $order->order_number . '-' . $order->uuid . '.pdf';
// Create filename: INV-{order_number}.pdf
$filename = 'INV-' . $order->order_number . '.pdf';
$path = "{$directory}/{$filename}";
try {