Example #1
0
			 <!-- Populating the List -->
				
			  <?php 
if (count($departments)) {
    ?>
				<?php 
    foreach ($departments as $j => $department) {
        ?>
				
              <tr>
                <td align="left"><?php 
        echo $department->getTitle();
        ?>
 </td>
				<td align="center"><?php 
        echo Constant::GetRecordStatusTitle($department->getStatus());
        ?>
</td>
				<td align="center"><?php 
        echo $department->getUpdatedAt('d-M-Y');
        ?>
				<td align="right">
				<?php 
        echo link_to('&nbsp;', 'Department/edit?id=' . Utility::EncryptQueryString($department->getId()), array('title' => 'Edit', 'class' => 'edit'));
        ?>
				
				<?php 
        echo link_to('&nbsp;', 'Department/delete?id=' . Utility::EncryptQueryString($department->getId()), array('confirm' => 'Are you sure you want to Delete this?', 'title' => 'Delete', 'class' => 'delete'));
        ?>
				</td>
              </tr>
Example #2
0
			 <!-- Populating the List -->
				
			  <?php 
if (count($duty_places)) {
    ?>
				<?php 
    foreach ($duty_places as $j => $duty_place) {
        ?>
				
              <tr>
                <td align="left"><?php 
        echo $duty_place->getTitle();
        ?>
 </td>
				<td align="center"><?php 
        echo Constant::GetRecordStatusTitle($duty_place->getStatus());
        ?>
</td>
				<td align="center"><?php 
        echo $duty_place->getUpdatedAt('d-M-Y');
        ?>
				<td align="right">
				<?php 
        echo link_to('&nbsp;', 'DutyPlace/edit?id=' . Utility::EncryptQueryString($duty_place->getId()), array('title' => 'Edit', 'class' => 'edit'));
        ?>
				
				<?php 
        echo link_to('&nbsp;', 'DutyPlace/delete?id=' . Utility::EncryptQueryString($duty_place->getId()), array('confirm' => 'Are you sure you want to Delete this?', 'title' => 'Delete', 'class' => 'delete'));
        ?>
				</td>
              </tr>
Example #3
0
    ?>
		<?php 
    foreach ($designations as $j => $designation) {
        ?>
		
		<tr>
		<td align="left"><?php 
        echo $designation->getTitle();
        ?>
 </td>
		<td align="left">&nbsp;<?php 
        echo $designation->getDepartment();
        ?>
</td>
		<td align="center"><?php 
        echo Constant::GetRecordStatusTitle($designation->getStatus());
        ?>
</td>
		<td align="center"><?php 
        echo $designation->getUpdatedAt('d-M-Y');
        ?>
		<td align="right" class="edit">
		<?php 
        echo link_to('&nbsp;', 'Designation/edit?id=' . Utility::EncryptQueryString($designation->getId()), array('title' => 'Edit', 'class' => 'edit'));
        ?>
		<?php 
        echo link_to('&nbsp;', 'Designation/delete?id=' . Utility::EncryptQueryString($designation->getId()), array('confirm' => 'Are you sure you want to Delete this?', 'title' => 'Delete', 'class' => 'delete'));
        ?>
		</td>
	  </tr>
	  
Example #4
0
			 <!-- Populating the List -->
				
			  <?php 
if (count($wards)) {
    ?>
				<?php 
    foreach ($wards as $j => $ward) {
        ?>
				
              <tr>
                <td align="left"><?php 
        echo $ward->getTitle();
        ?>
 </td>
				<td align="center"><?php 
        echo Constant::GetRecordStatusTitle($ward->getStatus());
        ?>
</td>
				<td align="right">
				<?php 
        echo link_to('&nbsp;', 'Ward/edit?id=' . Utility::EncryptQueryString($ward->getId()), array('title' => 'Edit', 'class' => 'edit'));
        ?>
				
				<?php 
        echo link_to('&nbsp;', 'Ward/delete?id=' . Utility::EncryptQueryString($ward->getId()), array('confirm' => 'Are you sure you want to Delete this?', 'title' => 'Delete', 'class' => 'delete'));
        ?>
				</td>
              </tr>
			  
			  <?php 
    }
Example #5
0
			 <!-- Populating the List -->
				
			  <?php 
if (count($dosages)) {
    ?>
				<?php 
    foreach ($dosages as $j => $dosage) {
        ?>
				
              <tr>
                <td align="left"><?php 
        echo $dosage->getTitle();
        ?>
 </td>
				<td align="center"><?php 
        echo Constant::GetRecordStatusTitle($dosage->getStatus());
        ?>
</td>
			
				<td align="right">
				<?php 
        echo link_to('&nbsp;', 'Dosage/edit?id=' . Utility::EncryptQueryString($dosage->getId()), array('title' => 'Edit', 'class' => 'edit'));
        ?>
				
				<?php 
        echo link_to('&nbsp;', 'Dosage/delete?id=' . Utility::EncryptQueryString($dosage->getId()), array('confirm' => 'Are you sure you want to Delete this?', 'title' => 'Delete', 'class' => 'delete'));
        ?>
				</td>
              </tr>
			  
			  <?php 
Example #6
0
    ?>
				<?php 
    foreach ($lab_tests as $j => $lab_test) {
        ?>
				
              <tr>
                <td align="left"><?php 
        echo $lab_test->getTitle();
        ?>
 </td>
				<td align="left"><?php 
        echo $lab_test->getPrice();
        ?>
</td>
				<td align="center"><?php 
        echo Constant::GetRecordStatusTitle($lab_test->getStatus());
        ?>
</td>
				<td align="center"><?php 
        echo $lab_test->getUpdatedAt('d-M-Y');
        ?>
				<td align="right">
				<?php 
        echo link_to('&nbsp;', 'LabTest/edit?id=' . Utility::EncryptQueryString($lab_test->getId()), array('title' => 'Edit', 'class' => 'edit'));
        ?>
				
				<?php 
        echo link_to('&nbsp;', 'LabTest/delete?id=' . Utility::EncryptQueryString($lab_test->getId()), array('confirm' => 'Are you sure you want to Delete this?', 'title' => 'Delete', 'class' => 'delete'));
        ?>
				</td>
              </tr>