ranjith-dev #884
@@ -236,13 +236,13 @@ class ItemCharacteristicResource extends Resource
|
|||||||
Forms\Components\TextInput::make('zmm_codeclass')
|
Forms\Components\TextInput::make('zmm_codeclass')
|
||||||
->label('ZMM CODE CLASS'),
|
->label('ZMM CODE CLASS'),
|
||||||
Forms\Components\TextInput::make('zmm_colour')
|
Forms\Components\TextInput::make('zmm_colour')
|
||||||
->label('ZMM Colour'),
|
->label('ZMM COLOUR'),
|
||||||
Forms\Components\TextInput::make('zmm_logo_cp')
|
Forms\Components\TextInput::make('zmm_logo_cp')
|
||||||
->label('ZMM LOGO CP'),
|
->label('ZMM LOGO CP'),
|
||||||
Forms\Components\TextInput::make('zmm_grade')
|
Forms\Components\TextInput::make('zmm_grade')
|
||||||
->label('ZMM GRADE'),
|
->label('ZMM GRADE'),
|
||||||
Forms\Components\TextInput::make('zmm_grwt_pset')
|
Forms\Components\TextInput::make('zmm_grwt_pset')
|
||||||
->label('ZMM Grwt Pset'),
|
->label('ZMM GRWT PSET'),
|
||||||
Forms\Components\TextInput::make('zmm_grwt_cable')
|
Forms\Components\TextInput::make('zmm_grwt_cable')
|
||||||
->label('ZMM GRWT CABLE'),
|
->label('ZMM GRWT CABLE'),
|
||||||
Forms\Components\TextInput::make('zmm_grwt_motor')
|
Forms\Components\TextInput::make('zmm_grwt_motor')
|
||||||
@@ -315,6 +315,8 @@ class ItemCharacteristicResource extends Resource
|
|||||||
->label('ZMM MOTOR SPEED'),
|
->label('ZMM MOTOR SPEED'),
|
||||||
Forms\Components\TextInput::make('zqmm_qty')
|
Forms\Components\TextInput::make('zqmm_qty')
|
||||||
->label('ZMM QTY'),
|
->label('ZMM QTY'),
|
||||||
|
Forms\Components\TextInput::make('mrp')
|
||||||
|
->label('MRP'),
|
||||||
Forms\Components\TextInput::make('zmm_1')
|
Forms\Components\TextInput::make('zmm_1')
|
||||||
->label('ZMM 1'),
|
->label('ZMM 1'),
|
||||||
Forms\Components\TextInput::make('zmm_2')
|
Forms\Components\TextInput::make('zmm_2')
|
||||||
@@ -897,6 +899,10 @@ class ItemCharacteristicResource extends Resource
|
|||||||
->label('ZMM QTY')
|
->label('ZMM QTY')
|
||||||
->alignCenter()
|
->alignCenter()
|
||||||
->sortable(),
|
->sortable(),
|
||||||
|
Tables\Columns\TextColumn::make('mrp')
|
||||||
|
->label('MRP')
|
||||||
|
->alignCenter()
|
||||||
|
->sortable(),
|
||||||
Tables\Columns\TextColumn::make('zmm_1')
|
Tables\Columns\TextColumn::make('zmm_1')
|
||||||
->label('ZMM 1')
|
->label('ZMM 1')
|
||||||
->alignCenter()
|
->alignCenter()
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ class ItemCharacteristic extends Model
|
|||||||
'zmm_motor_heading',
|
'zmm_motor_heading',
|
||||||
'zmm_motor_speed',
|
'zmm_motor_speed',
|
||||||
'zqmm_qty',
|
'zqmm_qty',
|
||||||
|
'mrp',
|
||||||
'zmm_1',
|
'zmm_1',
|
||||||
'zmm_2',
|
'zmm_2',
|
||||||
'zmm_3',
|
'zmm_3',
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
$sql1 = <<<'SQL'
|
||||||
|
ALTER TABLE item_characteristics
|
||||||
|
ADD COLUMN mrp TEXT DEFAULT NULL
|
||||||
|
SQL;
|
||||||
|
|
||||||
|
DB::statement($sql1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
// Schema::table('item_characteristics', function (Blueprint $table) {
|
||||||
|
// //
|
||||||
|
// });
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user