create permission

This commit is contained in:
2025-12-23 11:00:07 +03:30
parent e8e0f2c724
commit 89a0e1d228
8 changed files with 85 additions and 8 deletions

View File

@@ -54,6 +54,7 @@ class DailyMovingMachineCommand extends Command
MissionViolation::query()->create([
'machine_code' => $code,
'machine_id' => CMMSMachine::query()->firstWhere('machine_code', '=', $code)->id,
'type' => MissionViolationType::KHOROJ_BEDONE_MOGAVEZ->value,
'request_date' => $date,
'mileage' => $cmm['mileageKM'],