Added required isi model column for motor testing importer and exporter
This commit is contained in:
@@ -71,9 +71,9 @@ class MotorTestingMasterExporter extends Exporter
|
|||||||
ExportColumn::make('res_br_ul')
|
ExportColumn::make('res_br_ul')
|
||||||
->label('RESISTANCE BR UL'),
|
->label('RESISTANCE BR UL'),
|
||||||
ExportColumn::make('lock_volt_limit')
|
ExportColumn::make('lock_volt_limit')
|
||||||
->label('LOCK VOLT Limit'),
|
->label('LOCK VOLT LIMIT'),
|
||||||
ExportColumn::make('leak_cur_limit')
|
ExportColumn::make('leak_cur_limit')
|
||||||
->label('Leak CURRENT Limit'),
|
->label('LEAK CURRENT LIMIT'),
|
||||||
ExportColumn::make('lock_cur_ll')
|
ExportColumn::make('lock_cur_ll')
|
||||||
->label('LOCK CURRENT LL'),
|
->label('LOCK CURRENT LL'),
|
||||||
ExportColumn::make('lock_cur_ul')
|
ExportColumn::make('lock_cur_ul')
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ class MotorTestingMasterImporter extends Importer
|
|||||||
->label('SubAssembly Code')
|
->label('SubAssembly Code')
|
||||||
->rules(['required']),
|
->rules(['required']),
|
||||||
ImportColumn::make('isi_model')
|
ImportColumn::make('isi_model')
|
||||||
|
->requiredMapping()
|
||||||
->boolean()
|
->boolean()
|
||||||
->exampleHeader('ISI Model')
|
->exampleHeader('ISI Model')
|
||||||
->example(['Y','N','Y'])
|
->example(['Y','N','Y'])
|
||||||
|
|||||||
Reference in New Issue
Block a user