* @param DeedList $this->deedList
*/
?>
Add
";
}
?>
Deeds
|
Section, Lot |
Owner 1 |
Owner 2 |
Issue Date |
Cemetery |
deedList as $deed) {
$editButton = '';
if (userIsAllowed('Deeds')) {
$url = new URL(BASE_URL.'/deeds/updateDeed.php');
$url->deed_id = $deed->getId();
$editButton = "
";
$url = new URL(BASE_URL.'/deeds/deleteDeed.php');
$url->deed_id = $deed->getId();
$url->return_url = "http://$_SERVER[SERVER_NAME]$_SERVER[REQUEST_URI]";
$deleteButton = "
";
}
$section = View::escape($deed->getSection());
$lot = View::escape($deed->getLot());
$owner1 = View::escape($deed->getOwner(1));
$owner2 = View::escape($deed->getOwner(2));
$date = $deed->getIssueDate('n/j/Y');
$cemetery = $deed->getCemetery() ? View::escape($deed->getCemetery()->getName()) : '';
echo "
$editButton $deleteButton |
{$deed->getSection()}, {$deed->getLot()} |
$owner1 |
$owner2 |
$date |
$cemetery |
";
}
?>
deedList->getPaginator()) {
$pageNavigation = new Block('pageNavigation.inc',
array('pages'=>$this->deedList->getPaginator()->getPages()));
echo $pageNavigation->render('html');
}
?>