Merge pull request 'change command signature' (#23) from feature/PolyLineEncoderCommand into develop
Reviewed-on: #23
This commit was merged in pull request #23.
This commit is contained in:
@@ -34,7 +34,7 @@ class UpdateRequest extends FormRequest
|
||||
{
|
||||
return [
|
||||
function (Validator $validator) {
|
||||
if (strtotime($this->violation->exit_time) < strtotime($this->enter_time)) {
|
||||
if (strtotime($this->enter_time) < strtotime($this->violation->exit_time)) {
|
||||
$validator->errors()->add(
|
||||
'time',
|
||||
'زمان پایان ماموریت باید بعد از زمان شروع ماموریت باشد.'
|
||||
|
||||
Reference in New Issue
Block a user