?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/settings/display_alert.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('settings','viewinsettingssearch','search_alert','view_alert', '<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4></h4> </div> </div> <?php if ($id == 1) { ?> <div class="grid_12"> <div class="box"> <div class="header"> <h3>Fee Alert</h3> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th></th> <th>Student Name </th> <th>Batch Name</th> <th>Batch Allocation Date</th> <th>Course Fee</th> <th>Paid Amount </th> <th> Remove </th> </tr> </thead> <tbody> <?php $k = ''; $i = 1; if(($fee_alert_count)>0) { foreach ($fee_alert_detail as $student) { $student_name=$this->mastermodel->get_data_srow('student',$student,'student_id'); echo "<tr> <td>" . $i++ . "</td> <td>" .$student_name->first_name." ".$student_name->last_name . "</td>"; $batch = ''; $course = ''; $allo_date = ''; $paid=''; foreach ($fee_alert_detail[$student] as $row) { $batch.='<p>' .$this->mastermodel->get_single_field_value('batch','batch_no','batch_id', $row['batch_id']) . '</p>'; $course.='<p class="text_r">' . $row['course_fee'] . '</p>'; $allo_date.='<p class="text_r">' . $this->mastermodel->convertdatenormalformat($row['allo_date']) . '</p>'; $paid.='<p class="text_r">' . $row['paid_amount'] . '</p>'; } echo " <td>$batch</td> <td>$allo_date</td> <td>$course</td> <td>$paid</td> "; echo '<td> <img src="'.base_url().'assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="remove_alert('.$student.')"/> </td> </tr>'; } } ?> </tbody> <!-- <tbody> <?php /* foreach($fee_alert_count 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> <?= $row['employee_name'] ?> </td> <td id="center"> <?= $row['employee_contact_no'] ?> </td> <td id="center"> <?= $row['employee_labour_card_no'] ?> </td> <td> <?= $this->mastermodel->convertdatenormalformat($row['employee_labour_card_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 } ?>