diff --git a/app/Models/Activity.php b/app/Models/Activity.php index a673524..60cb164 100644 --- a/app/Models/Activity.php +++ b/app/Models/Activity.php @@ -63,7 +63,7 @@ class Activity extends Model $data->updatePersentaseProgress(); $data->updateCostActual(); } - if($this->start_date != request()->start_date || $this->end_date != request()->end_date) { + if($data->start_date != request()->start_date || $data->end_date != request()->end_date) { $data->updateStartEndDateHeader(); } });