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