Rename subassembly_code to mot_subassembly_code in get_motor_master method for clarity

This commit is contained in:
dhanabalan
2025-09-09 10:23:58 +05:30
parent 77064399cd
commit 37c91afe25

View File

@@ -458,7 +458,7 @@ class TestingPanelController extends Controller
} }
$output = [ $output = [
"subassembly_code" => $motorTestingMaster->subassembly_code ?? "", "mot_subassembly_code" => $motorTestingMaster->subassembly_code ?? "",
"mot_model_name" => $description, "mot_model_name" => $description,
"mot_non_isi_model" => $motorTestingMaster->isi_model ? "0" :"1", "mot_non_isi_model" => $motorTestingMaster->isi_model ? "0" :"1",
"mot_phase" => $motorTestingMaster->phase ?? "", "mot_phase" => $motorTestingMaster->phase ?? "",