?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/application/views/settings/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/rms/application/views/settings/display_alert.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); if($id==1) { ?> <div class="grid_12"> <div class="box"> <div class="header"> <h3>Rent Alert</h3> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th> Building Name </th> <th>Flat No</th> <th>Customer Name</th> <th> Date </th> <th> Remove </th> </tr> </thead> <tbody> <?php foreach($detail as $row) { ?> <tr> <td> <?=$row['building_name']?> </td> <td id="center"> <?=$row['lease_flat_no']?> </td> <td> <?=$this->mastermodel->get_single_field_value('customer','customer_name','customer_id',$row['lease_customer_id'])?> </td> <td> <?=$this->mastermodel->convertdatenormalformat($row['alert_date'])?> </td> <td> <img src="<?=base_url()?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="remove_alert(<?=$row['alert_id']?>)"/> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php } else if($id==2) { ?> <div class="grid_12"> <div class="box"> <div class="header"> <h3>Tenancy Agreement Renewal</h3> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th> Building Name </th> <th>Flat No</th> <th>Customer Name</th> <th>Rent Amount</th> <th> Lease End Date </th> <th> Remove </th> </tr> </thead> <tbody> <?php foreach($detail as $row) { ?> <tr> <td> <?=$row['building_name']?> </td> <td id="center"> <?=$row['lease_flat_no']?> </td> <td> <?=$this->mastermodel->get_single_field_value('customer','customer_name','customer_id',$row['lease_customer_id'])?> </td> <td id="center"> <?=$row['lease_rent_amount']?> </td> <td> <?=$this->mastermodel->convertdatenormalformat($row['lease_end_date'])?> </td> <td> <img src="<?=base_url()?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="remove_alert(<?=$row['alert_id']?>)"/> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php } else if($id==4) { $title=''; ?> <div class="grid_12"> <div class="box"> <div class="header"> <h3>Visa Renewal</h3> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th> Employee Name </th> <th>Contact Number</th> <th>Visa Type</th> <th>Visa Expiry Date</th> <th>Status</th> <th> Remove </th> </tr> </thead> <tbody> <?php foreach($detail as $row) { ?> <tr> <td> <?=$row['employee_name']?> </td> <td id="center"> <?=$row['employee_contact_no']?> </td> <td> <?=$row['employee_visa_type']?> </td> <td> <?=$this->mastermodel->convertdatenormalformat($row['employee_visa_expiry_date'])?> </td> <td> <?=$row['employee_status']?> </td> <td> <img src="<?=base_url()?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="remove_alert(<?=$row['alert_id']?>)"/> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php } else { ?> <div class="grid_12"> <div class="box"> <div class="header"> <h3>Labor Card Renewal</h3> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th> Employee Name </th> <th>Contact Number</th> <th>Labor Card Number</th> <th>Labor Card Expiry Date</th> <th>Status</th> <th> Remove </th> </tr> </thead> <tbody> <?php foreach($detail as $row) { ?> <tr> <td> <?=$this->mastermodel->convertdatenormalformat($row->purchase_order_date)?> </td> <td id="center"> <?=$row->supplier_name;?> </td> <td id="center"> <?=$row->purchase_order_status;?> </td> <td> <img src="<?=base_url()?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="remove_alert(<?=$row['alert_id']?>)"/> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php } ?>