Browse Source

update header if start / end date changed / an activity deleted

pull/3/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
f58551b692
  1. 2
      app/Models/Activity.php

2
app/Models/Activity.php

@ -78,9 +78,7 @@ class Activity extends Model
$data->updatePersentaseProgress();
$data->updateCostActual();
}
if($this->start_date != request()->start_date || $this->end_date != request()->end_date) {
$data->updateStartEndDateHeader();
}
});
}

Loading…
Cancel
Save