?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/application/views/franchisee/ |
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/sec/application/views/franchisee/franchisee_xls.php |
<table width="60%"> <tr> <td style="text-align:left;"><strong>Franchisee Name</strong></td><td><?=$viewinfo->franchisee_name;?></strong></td> </tr> <tr> <td style="text-align:left;"><strong>Franchisee Code</strong></td><td><?=$viewinfo->franchisee_code;?></strong></td> </tr> <tr> <td style="text-align:left;"><strong>Franchisee Address</strong></td><td><?=$viewinfo->franchisee_address;?></strong></td> </tr> <tr> <td style="text-align:left;"><strong>Batch Code</strong></td><td><?=$viewinfo->batch_no;?></strong></td> </tr> </table> <br/><br/> <table border="1" cellspacing="0px" cellpading="5px" style="width:100%;text-align:left" class="sort"> <tr> <th bgcolor="#7FCEFF">Reg No</th> <th bgcolor="#7FCEFF">First Name</th> <th bgcolor="#7FCEFF">Last Name</th> <th bgcolor="#7FCEFF">Gender</th> <th bgcolor="#7FCEFF">Nationality</th> <th bgcolor="#7FCEFF">Date of Birth</th> <th bgcolor="#7FCEFF">Course Fee Paid</th> <th bgcolor="#7FCEFF">Royalty</th> </tr> <?php $sum = 0; foreach ($student_list as $row) { if (!empty($row['student_batch_id'])) { $course_paid_fee= $this->franchiseemodel->get_paid_fee_details($id, $row['student_id']); ?> <tr> <td><?= $row['reg_no']; ?></td> <td><?= $row['first_name']; ?></td> <td><?= $row['last_name']; ?></td> <td><?= $row['gender']; ?></td> <td><?= $row['nationality']; ?></td> <td><?= $this->mastermodel->convertdatenormalformat($row['dob']); ?></td> <td style="text-align: right"><?= $course_paid_fee; ?></td> <td style="text-align: right"><?= $course_paid_fee * $viewinfo->franchisee_course_royalty / 100; ?></td> <td></td> </tr> <?php $sum+=$course_paid_fee * $viewinfo->franchisee_course_royalty / 100; } } ?> <tr> <th colspan="7">Total Amount</th> <th style="text-align: right"><?= $sum; ?></th> <th></th> </tr> </table>