select("id","pic","name", "name_ru", "registration_no AS welder_id") ->where("registration_no", get("id")); } $userInfos = $userInfo->whereIn("level", ['Welder'])->get(); foreach($userInfos AS $userInfo) { $welderInfo = db("naks_welders")->where("welder_id", $userInfo->registration_no)->first(); $welderInfoRad = db("naks_welders")->where("process", "РАД")->where("welder_id", $userInfo->registration_no)->first(); $welderInfoRd = db("naks_welders")->where("process", "РД")->where("welder_id", $userInfo->registration_no)->first(); $welderTests = db("welder_tests")->where("naks_id", $userInfo->registration_no)->get(); $welderTestsRad = db("welder_tests")->where("welding_method", "like", "%РАД%")->where("naks_id", $userInfo->registration_no)->first(); $welderTestsRd = db("welder_tests")->where("welding_method", "like", "%РД%")->where("naks_id", $userInfo->registration_no)->first(); $welderTestSummary = WelderTest::join("naks_welders", "welder_tests.naks_no", "naks_welders.naks_certificate_no") ->where("naks_id", $userInfo->registration_no) ->groupBy("wpq_document_no") ->get(); $name = explode(" ", $userInfo->name); $name_ru = explode(" ", $userInfo->name_ru); ?>
| Группа ОТУGroup of technical devices | Способ сваркиWelding process | Группа материалаMaterial group | Сварочные материалы Welding material | Тип шваWeld type | Толщина детали, мм Weld thickness, mm | Диаметр детали, мм Diameter, mm | Положение при сварке Welding position | Вид соединенияView of connection |
| {{str_replace(",", ", ", $wts->naks_technology_group)}} | {{$wts->welding_method}} | {{$wts->material_group_1}} / {{$wts->material_group_2}} | {{$wts->wire}} | {{$wts->weld_type}} | от {{$wts->thk_min}} до {{$wts->thk_max}} вкл. / from {{$wts->thk_min}} to {{$wts->thk_max}} | от {{$wts->dia_min}} до {{$wts->dia_max}} вкл. / from {{$wts->dia_min}} то {{$wts->dia_max}} | {{str_replace(",", ", ", $wts->welding_position)}} | ос(бп) |