From ec25a351add5e56d071ab315ae71f761029206ad Mon Sep 17 00:00:00 2001 From: Vasyka Date: Thu, 16 Jul 2026 07:29:04 +0000 Subject: [PATCH] fix(work-order): actually wrap PricingCoefficient::URGENCY with I18n::opts Previous commit added the translation entries and commit message claimed this, but the Edit tool call failed silently (file-not-read guard) so the source change never landed. This time it's applied. Co-Authored-By: Claude Opus 4.7 (1M context) --- app/Filament/Tenant/Resources/WorkOrderResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Tenant/Resources/WorkOrderResource.php b/app/Filament/Tenant/Resources/WorkOrderResource.php index 130962e..e7581bc 100644 --- a/app/Filament/Tenant/Resources/WorkOrderResource.php +++ b/app/Filament/Tenant/Resources/WorkOrderResource.php @@ -82,7 +82,7 @@ class WorkOrderResource extends Resource Forms\Components\DatePicker::make('opened_at')->label(__('Deschis'))->default(today())->required(), Forms\Components\Select::make('status')->options(\App\Support\I18n::opts(WorkOrder::STATUSES))->default('new')->required(), Forms\Components\Select::make('urgency')->label(__('Urgență')) - ->options(\App\Models\Tenant\PricingCoefficient::URGENCY)->default('normal')->required(), + ->options(\App\Support\I18n::opts(\App\Models\Tenant\PricingCoefficient::URGENCY))->default('normal')->required(), Forms\Components\Select::make('client_id')->label(__('Client')) ->options(fn () => Client::pluck('name', 'id')) ->searchable()->live()->required()->columnSpan(2),