returned the road item object in the model

This commit is contained in:
2024-12-21 14:22:17 +03:30
parent 767830cf47
commit 48a966a34f
4 changed files with 8 additions and 8 deletions

View File

@@ -100,7 +100,6 @@ class RoadItemsProject extends Model
{
try {
$road_item = \DB::transaction(function () use ($user, $attributes, $before_image, $after_image, $observed_item_id) {
// dd($attributes['cmms_machine_id'],$attributes['cmms_machine_code']);
$road_item = $user->roadItemsProjects()->create([
'start_lat' => $attributes['start_lat'],
'start_lng' => $attributes['start_lng'],