Skip to content

Commit

Permalink
Merge pull request #26 from docmcfly/development
Browse files Browse the repository at this point in the history
FIX : PersonalDutyRoster -> fix the progess bars counter if the user …
  • Loading branch information
docmcfly authored Jun 2, 2024
2 parents ef95f03 + ff4ec2c commit ef73588
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Classes/Controller/PersonalDutyRosterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,10 @@ public function setPresentAction(Commitment $commitment): ResponseInterface
$settings = $this->getPreparedSettings(intval($this->request->getArgument('id')));
$this->commitmentRepository->update($commitment);
$this->persistenceManager->persistAll();
$cc = $this->commitmentRepository->getEventCommitmentCounts($settings[PersonalDutyRosterController::PLANNING_STORAGE_UID], $eventUid);
}
$cc = $this->commitmentRepository->getEventCommitmentCounts($settings[PersonalDutyRosterController::PLANNING_STORAGE_UID], $eventUid);
$return['counts'] = Utility::calculatePresentDatas($cc['presentCount'], $cc['presentDefaultCount']);
} else {

} else {
$return['present'] = false;
$return['counts'] = [
'presentCount' => 0,
Expand Down
3 changes: 2 additions & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 1,
'version' => '4.0.2',
'version' => '4.0.3',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
Expand All @@ -29,6 +29,7 @@
/**
* Change log:
*
4.0.3 :: FIX : PersonalDutyRoster -> fix the progess bars counter if the user has changed its commitment.
4.0.2 :: CHG : Change the small duty roster output.
4.0.1 :: FIX : Fix colors of next event in the duty roster and update the bootstrap package to 14.0.0
4.0.0 :: UPD : Update to TYPO3 12.4.0
Expand Down

0 comments on commit ef73588

Please sign in to comment.