1 Commits

Author SHA1 Message Date
7ac07692a2 change command signature 2026-06-14 13:19:56 +03:30
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ class EncodePolyLineCommand extends Command
*
* @var string
*/
protected $signature = 'app:encode-poly-line-command';
protected $signature = 'polyline:encode';
/**
* The console command description.

View File

@@ -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',
'زمان پایان ماموریت باید بعد از زمان شروع ماموریت باشد.'