remove exit station

This commit is contained in:
2026-06-14 11:21:30 +03:30
parent 0b7b22ff87
commit 0f65437bfa
5 changed files with 13 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ class ViolationManagementController extends Controller
'city_name' => $user->city_fa,
'station_id' => $user->station_id,
'station_name' => RahdariPoint::query()->find($user->station_id)->name,
'exit_station' => $request->exit_station,
'exit_time' => $request->exit_time,
]);
return $this->successResponse();
@@ -68,7 +68,7 @@ class ViolationManagementController extends Controller
public function update(UpdateRequest $request, MissionViolation $violation): JsonResponse
{
$violation->update([
'enter_station' => $request->enter_station,
'enter_time' => $request->enter_time,
'status' => MissionViolationStatus::BEDON_EGHDAM->value,
]);