Browse Source

fix estimated time

remotes/origin/mohammad
mahdihty 4 years ago
parent
commit
f6afd0a79e
  1. 2
      app/Models/Task.php

2
app/Models/Task.php

@ -73,7 +73,7 @@ class Task extends Model
'title' => 'required|string|min:3|max:254',
'description' => 'nullable|string|min:2|max:1000',
'priority' => 'nullable|numeric|between:1,10',
'estimated_time' => 'nullable|numeric|min:30',
'estimated_time' => 'bail|nullable|numeric',
'due_date' => 'bail|nullable|date|date_format:Y-m-d|after_or_equal:'.
((request()->method() === 'POST') ? date('yy-m-d') : $this->created_at->toDateString()),
'tags' => 'nullable|array',

Loading…
Cancel
Save