Skip to content
Snippets Groups Projects
Commit dd79486a authored by Roger W Feese's avatar Roger W Feese
Browse files

Use bulletinSectionModel to find the bulletin requests.

parent a25dae65
No related branches found
No related tags found
1 merge request!26Add missing queue managers
<?php
$proposedBulletins = Bulletin_LearningOutcomeModel::findLatestOfRequest($this->requests);
$originalBulletins = Bulletin_LearningOutcomeModel::findParentOfRequest($this->requests);
$requestBulletins = Bulletin_SectionModel::findWithRequest($this->requests);
$isCurrentPeriod = $this->isCurrentPeriod;
$requestBulletins = array();
foreach ($this->requests as $requset) {
$requestId = $requset->getId();
if ($originalBulletins[$requestId]) {
$bulletin = $originalBulletins[$requestId];
} else {
$bulletin = $proposedBulletins[$requestId];
}
$requestBulletins[$requestId] = $bulletin;
}
$this->headLink()->appendStylesheet($this->baseUrl() . '/css/bulletin/queue-manager/request-table.css', 'all');
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment