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

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