İlk temizlik tamamlandı bir önceki projeden

This commit is contained in:
Ümit Tunç
2026-04-28 21:14:25 +03:00
commit f80443aec0
10000 changed files with 959965 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
$id = $request['key'];
$data = db($tableName)->where("id", $id)->first();
$location = $data->shop_or_field;
$updateWelderLocation = db("welder_locations")
->where("naks_id", $data->naks_id)
->update([
'location' => $location
]);
$updateNaksWelders = db("naks_welders")
->where("welder_id", $data->naks_id)
->update([
'status' => $location
]);
dump([
"updateWelderLocation" => $updateWelderLocation,
"updateNaksWelders" => $updateNaksWelders
]);
?>