1
0
forked from poc/pds

Added migration and Updated model, resource, importer, exporter to add test_sequence_flag, test_started_at columns and Refactored validations and design in resource page for testing_panel_readings table and Added these columns to Motor Testing Panel Post API in TestingPanelController

This commit is contained in:
dhanabalan
2026-10-07 09:15:36 +05:30
parent 5f472cf0d4
commit f2a249bf35
6 changed files with 197 additions and 8 deletions

View File

@@ -325,6 +325,8 @@ class TestingPanelController extends Controller
'remark' => $serial['remark'] ?? null,
'rework_count' => $serial['rework_count'] ?? 0,
'rework_winded' => $serial['rework_winded'] ?? 0,
'test_sequence_flag' => $serial['test_sequence_flag'] ?? '4',
'test_started_at' => $serial['test_started_at'] ?? null,
'output_flag' => $serial['output_flag'] ?? 0,
'tested_by' => (($serial['tested_by'] == 'jothi') ? 'Admin' : $serial['tested_by']) ?? null,
'updated_by' => (($serial['updated_by'] == 'jothi') ? 'Admin' : $serial['updated_by']) ?? null,