* @param IntermentList $this->intermentList
*/
?>
Add
";
}
?>
Interments
|
Last Name |
First Name |
Date of Death |
Cemetery |
Section & Lot |
intermentList as $interment) {
$editButton = '';
if (userIsAllowed('Interments')) {
$url = new URL(BASE_URL.'/interments/updateInterment.php');
$url->interment_id = $interment->getId();
$editButton = "
";
}
$last = View::escape($interment->getLastname());
$first = View::escape($interment->getFirstname());
$date = $interment->getDeceasedDate('n/j/Y');
$cemetery = View::escape($interment->getCemetery());
$section_lot = array();
if ($interment->getSection()) {
$section_lot[] = $interment->getSection();
}
if ($interment->getLot()) {
$section_lot[] = $interment->getLot();
}
$section_lot = View::escape(implode(', ',$section_lot));
echo "
$editButton |
getURL()}\">$last |
$first |
$date |
$cemetery |
$section_lot |
";
}
?>
intermentList->getPaginator()) {
$pageNavigation = new Block('pageNavigation.inc',
array('pages'=>$this->intermentList->getPaginator()->getPages()));
echo $pageNavigation->render('html');
}
?>