diff --git a/app/Services/WorkOrderPdfService.php b/app/Services/WorkOrderPdfService.php index a5d7cbe..92c0b9c 100644 --- a/app/Services/WorkOrderPdfService.php +++ b/app/Services/WorkOrderPdfService.php @@ -57,6 +57,6 @@ class WorkOrderPdfService public function filename(WorkOrder $wo): string { - return 'WO-' . $wo->number . '-' . optional($wo->opened_at)->format('Ymd') . '.pdf'; + return $wo->number . '-' . optional($wo->opened_at)->format('Ymd') . '.pdf'; } } diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index a1c5f99..13c50c1 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -28,6 +28,7 @@ if [ "${APP_ENV:-production}" = "production" ]; then echo "[entrypoint] Caching config/routes/views..." php artisan config:cache --no-interaction || true php artisan route:cache --no-interaction || true + php artisan view:clear --no-interaction || true php artisan view:cache --no-interaction || true php artisan event:cache --no-interaction || true php artisan filament:cache-components --no-interaction || true diff --git a/resources/views/pdf/work-order.blade.php b/resources/views/pdf/work-order.blade.php index 070db95..57bb725 100644 --- a/resources/views/pdf/work-order.blade.php +++ b/resources/views/pdf/work-order.blade.php @@ -2,7 +2,7 @@
-