diff --git a/app/Filament/Resources/ItemCharacteristicResource.php b/app/Filament/Resources/ItemCharacteristicResource.php index 501fa16..1354891 100644 --- a/app/Filament/Resources/ItemCharacteristicResource.php +++ b/app/Filament/Resources/ItemCharacteristicResource.php @@ -236,13 +236,13 @@ class ItemCharacteristicResource extends Resource Forms\Components\TextInput::make('zmm_codeclass') ->label('ZMM CODE CLASS'), Forms\Components\TextInput::make('zmm_colour') - ->label('ZMM Colour'), + ->label('ZMM COLOUR'), Forms\Components\TextInput::make('zmm_logo_cp') ->label('ZMM LOGO CP'), Forms\Components\TextInput::make('zmm_grade') ->label('ZMM GRADE'), Forms\Components\TextInput::make('zmm_grwt_pset') - ->label('ZMM Grwt Pset'), + ->label('ZMM GRWT PSET'), Forms\Components\TextInput::make('zmm_grwt_cable') ->label('ZMM GRWT CABLE'), Forms\Components\TextInput::make('zmm_grwt_motor') @@ -315,6 +315,8 @@ class ItemCharacteristicResource extends Resource ->label('ZMM MOTOR SPEED'), Forms\Components\TextInput::make('zqmm_qty') ->label('ZMM QTY'), + Forms\Components\TextInput::make('mrp') + ->label('MRP'), Forms\Components\TextInput::make('zmm_1') ->label('ZMM 1'), Forms\Components\TextInput::make('zmm_2') @@ -897,6 +899,10 @@ class ItemCharacteristicResource extends Resource ->label('ZMM QTY') ->alignCenter() ->sortable(), + Tables\Columns\TextColumn::make('mrp') + ->label('MRP') + ->alignCenter() + ->sortable(), Tables\Columns\TextColumn::make('zmm_1') ->label('ZMM 1') ->alignCenter() diff --git a/app/Models/ItemCharacteristic.php b/app/Models/ItemCharacteristic.php index 4f19891..3c278ea 100644 --- a/app/Models/ItemCharacteristic.php +++ b/app/Models/ItemCharacteristic.php @@ -142,6 +142,7 @@ class ItemCharacteristic extends Model 'zmm_motor_heading', 'zmm_motor_speed', 'zqmm_qty', + 'mrp', 'zmm_1', 'zmm_2', 'zmm_3', diff --git a/database/migrations/2026_08_11_122520_add_mrp_to_item_characteristics.php b/database/migrations/2026_08_11_122520_add_mrp_to_item_characteristics.php new file mode 100644 index 0000000..c9df4bf --- /dev/null +++ b/database/migrations/2026_08_11_122520_add_mrp_to_item_characteristics.php @@ -0,0 +1,31 @@ +