Update export and import columns in TestingPanelReadingExporter and TestingPanelReadingImporter for improved data mapping

This commit is contained in:
dhanabalan
2025-09-21 16:00:08 +05:30
parent 90899c87f5
commit 7ca806449c
3 changed files with 15 additions and 9 deletions

View File

@@ -30,23 +30,25 @@ class TestingPanelReadingExporter extends Exporter
->label('LINE'),
ExportColumn::make('machine.name')
->label('MACHINE'),
ExportColumn::make('item.code')
ExportColumn::make('motorTestingMaster.item.code')
->label('ITEM CODE'),
ExportColumn::make('item.description')
ExportColumn::make('motorTestingMaster.item.description')
->label('MODEL'),
ExportColumn::make('output')
->label('OUTPUT'),
ExportColumn::make('serial_number')
->label('SERIAL NUMBER'),
ExportColumn::make('item.kw')
ExportColumn::make('winded_serial_number')
->label('WINDED SERIAL NUMBER'),
ExportColumn::make('motorTestingMaster.kw')
->label('KW'),
ExportColumn::make('item.hp')
ExportColumn::make('motorTestingMaster.hp')
->label('HP'),
ExportColumn::make('item.phase')
ExportColumn::make('motorTestingMaster.phase')
->label('PHASE'),
ExportColumn::make('item.connection')
ExportColumn::make('motorTestingMaster.connection')
->label('CONNECTION'),
ExportColumn::make('item.isi_model')
ExportColumn::make('motorTestingMaster.isi_model')
->label('ISI MODEL'),
ExportColumn::make('before_fr_volt')
->label('BEFORE FR VOLT'),