2009-12-18 20:57:41 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @copyright 2009 City of Bloomington, Indiana
|
|
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt
|
|
|
|
* @author Cliff Ingham <inghamn@bloomington.in.gov>
|
|
|
|
* @param Interment $this->interment
|
|
|
|
*/
|
|
|
|
$fullname = View::escape($this->interment->getFullname());
|
|
|
|
echo "<h2>$fullname</h2>";
|
|
|
|
|
|
|
|
$date = $this->interment->getDeceasedDate('n/j/Y');
|
|
|
|
$birth = View::escape($this->interment->getBirthPlace());
|
|
|
|
$residence = View::escape($this->interment->getLastResidence());
|
|
|
|
$cemetery = View::escape($this->interment->getCemetery());
|
|
|
|
$age = View::escape($this->interment->getAge());
|
|
|
|
$gender = View::escape($this->interment->getSex());
|
|
|
|
|
|
|
|
$section_lot = array();
|
|
|
|
if ($this->interment->getSection()) {
|
|
|
|
$section_lot[] = $this->interment->getSection();
|
|
|
|
}
|
|
|
|
if ($this->interment->getLot()) {
|
|
|
|
$section_lot[] = $this->interment->getLot();
|
|
|
|
}
|
|
|
|
$section_lot = View::escape(implode(', ',$section_lot));
|
|
|
|
?>
|
|
|
|
<table>
|
|
|
|
<tr><th>Date of Death </th>
|
|
|
|
<td><?php echo $date; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr><th>Last Residence </th>
|
|
|
|
<td><?php echo $residence; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr><th>Place of Birth </th>
|
|
|
|
<td><?php echo $birth; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr><th>Age </th>
|
|
|
|
<td><?php echo $age; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr><th>Gender </th>
|
|
|
|
<td><?php echo $gender; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr><th>Cemetery </th>
|
|
|
|
<td><?php echo $cemetery; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr><th>Section and Lot </th>
|
|
|
|
<td><?php echo $section_lot; ?></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2010-01-06 15:33:47 +00:00
|
|
|
<?php
|
|
|
|
if (userIsAllowed('Interments')) {
|
|
|
|
$notes = View::escape($this->interment->getNotes());
|
|
|
|
echo "<p>$notes</p>";
|
|
|
|
}
|
|
|
|
?>
|