From 72251522d622de735986570024359b71fbd3f0fa Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 25 Sep 2026 12:15:03 +0530 Subject: [PATCH] Added options in characteristics type and changed path of the fonts --- app/Filament/Resources/StickerDetailResource.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/StickerDetailResource.php b/app/Filament/Resources/StickerDetailResource.php index 3d4b456..dbfa070 100644 --- a/app/Filament/Resources/StickerDetailResource.php +++ b/app/Filament/Resources/StickerDetailResource.php @@ -96,7 +96,7 @@ class StickerDetailResource extends Resource ->reactive() ->searchable() ->options( - collect(Schema::getColumnListing('class_characteristics')) + collect(Schema::getColumnListing('class_characteristics')) ->reject(fn ($column) => in_array($column, [ 'id', 'plant_id', @@ -121,6 +121,9 @@ class StickerDetailResource extends Resource ->prepend('Verified By', 'verified_by') ->prepend('Approved By', 'approved_by') ->prepend('Date Of Test', 'date_of_test') + ->prepend('Gross Wt Dual', 'zmm_grwt_pump_dual') + ->prepend('Net Wt Dual', 'zmm_newt_pump_dual') + ->prepend('MRP Dual', 'mrp_dual') ->toArray() ), Forms\Components\TextInput::make('string_value') @@ -131,7 +134,7 @@ class StickerDetailResource extends Resource ->label('String Font') ->reactive() ->options(function () { - $files = File::files(storage_path('app/fonts')); + $files = File::files(storage_path('app/private/fonts')); return collect($files) ->mapWithKeys(function ($file) {