remove the validation

This commit is contained in:
amirghasempoor
2026-07-14 14:44:02 +03:30
parent 961e4c40c9
commit 89972b57f4
3 changed files with 1 additions and 13 deletions

View File

@@ -70,12 +70,6 @@ class ContinueMissionRequest extends FormRequest
'زمان پایان ماموریت باید بعد از زمان شروع ماموریت باشد.'
);
}
if (($this->end_km - $this->mission->km ) < 100) {
$validator->errors()->add(
'end_km',
'اختلاف کلیلومتر شروع و پایان نباید بیشتر از 100 کیلومتر باشد'
);
}
},
];
}