?
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_pdf.php |
<?php //var_dump($franchisee_details); $center_info=$this->mastermodel->getdatas('centre'); foreach($center_info as $row) { $centre_name=$row['centre_name']; $centre_address=$row['address']; $centre_phone=$row['contact_no']; $centre_email=$row['email']; $centre_website=$row['website']; } $html=' <html> <table width="100%"> <tr> <td> <img src="'.base_url().'/assets/img/logo.jpg" > </td> </tr> </table> <table width="100%"> <tr> <td style="text-align:left;">'.$centre_name.', '.$centre_address.'<br/>Tel: '.$centre_phone.', Email: '.$centre_email.', Website: '.$centre_website.'</td> </tr> </table> <hr> <br/> <table width="100%"> <tr> <td style="text-align:center;"><font size="16px"><b>PAYMENT DETAILS</b></font></td> </tr> <tr> <td style="text-align:right;"><b>Date</b>: '.$this->mastermodel->convertdatenormalformat($franchisee_details[0]->franchisee_fee_date).'</td> </tr>'; if(isset($franchisee_details[0]->reference)) { $html .='<tr> <td style="text-align:right;"><b>PV No</b>: '.$franchisee_details[0]->reference.'</td> </tr>'; } $html .='</table> <br/><br/><br/> <table width="60%"> <tr> <td style="text-align:left;"><strong>Franchisee Name</strong></td><td>'.$franchisee_details[0]->franchisee_name. '</strong></td> </tr> <tr> <td style="text-align:left;"><strong>Franchisee Code</strong></td><td>'.$franchisee_details[0]->franchisee_code.'</strong></td> </tr> <tr> <td style="text-align:left;"><strong>Franchisee Address</strong></td><td>'.$franchisee_details[0]->franchisee_address.'</strong></td> </tr> </table> <br/><br/>'; $html.='<table border="1px" cellspacing="0px" cellpading="10px" width="100%"> <tr> <td style="width:30%;text-align:left;">Batch Code</td> <td style="text-align:left;">'.$franchisee_details[0]->batch_no.'</td> </tr> <tr> <td style="width:30%;text-align:left;">Course Name</td> <td style="text-align:left;">'.$franchisee_details[0]->course_name.'</td> </tr> <tr> <td style="width:30%;text-align:left;">Amount</td> <td style="text-align:left;">'.number_format($franchisee_details[0]->franchisee_fee_amount, 2).'</td> </tr> <tr> <td style="width:30%;text-align:left;">Payment Mode</td> <td style="text-align:left;">'.$franchisee_details[0]->franchisee_fee_payment_mode.'</td> </tr> <tr> <td style="width:30%;text-align:left;"> Franchisee Receipt No</td> <td style="text-align:left;">'.$franchisee_details[0]->franchisee_receipt_no.'</td> </tr> <tr> <td style="width:30%;text-align:left;">Payment Remarks</td> <td style="text-align:left;">'.$franchisee_details[0]->franchisee_fee_payment_remarks.'</td> </tr> </table> </html>'; //echo $html; die(); pdf_create($html, 'PV'); ?>