Added part_validation_3 field to the characteristics data retrieval in getClassChar method #1268

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-16 07:42:02 +00:00

View File

@@ -3762,7 +3762,7 @@ class CharacteristicsController extends Controller
$characteristicsData = ClassCharacteristic::where('gernr', $serialNumber)->where('item_id', $itemId)->where('machine_id', $machineId)->where('plant_id', $plantId)->get();
$remFields = ['id', 'plant_id', 'machine_id', 'item_id', 'gernr', 'zmm_codeclass', 'zmm_colour', 'zmm_grade', 'zmm_grwt_cable', 'zmm_grwt_pf', 'zmm_isivalve', 'zmm_isi_wc', 'zmm_length', 'zmm_license_cml_no', 'zmm_mfgmonyr', 'zmm_motoridentification', 'zmm_newt_cable', 'zmm_newt_pf', 'zmm_packtype', 'zmm_panel', 'zmm_pumpidentification', 'zmm_psettype', 'zmm_size', 'zmm_type', 'zmm_usp', 'zmm_mrp', 'man_marked_expected_time', 'created_at', 'updated_at', 'created_by', 'updated_by', 'deleted_at']; // , 'is_stopped', 'stopped_datetime', 'stopped_by'
$remFields = ['id', 'plant_id', 'machine_id', 'item_id', 'gernr', 'zmm_codeclass', 'zmm_colour', 'zmm_grade', 'zmm_grwt_cable', 'zmm_grwt_pf', 'zmm_isivalve', 'zmm_isi_wc', 'zmm_length', 'zmm_license_cml_no', 'zmm_mfgmonyr', 'zmm_motoridentification', 'zmm_newt_cable', 'zmm_newt_pf', 'zmm_packtype', 'zmm_panel', 'zmm_pumpidentification', 'zmm_psettype', 'zmm_size', 'zmm_type', 'zmm_usp', 'zmm_mrp', 'part_validation_3', 'man_marked_expected_time', 'created_at', 'updated_at', 'created_by', 'updated_by', 'deleted_at']; // , 'is_stopped', 'stopped_datetime', 'stopped_by'
$filteredData = $characteristicsData->map(function ($char) use ($remFields) {
$charArray = $char->toArray();