ok
Direktori : /home2/selectio/public_html/pvmatricschool.com/admin/print-form/ |
Current File : /home2/selectio/public_html/pvmatricschool.com/admin/print-form/form-f-form.php |
<?php ob_start(); session_start(); include"../config/config.php"; $id=$_POST['id']; //$id=51; //$statement = $pdo->prepare("SELECT * FROM tbl_user where id ='$id'"); $statement = $pdo->prepare("SELECT tbl_user.*,(SELECT departement from tbl_departement WHERE id=tbl_user.department_id) as department_name,(SELECT desgination from tbl_desgination WHERE id=tbl_user.designation_id) as designation_name,tbl_branch.branch_name,tbl_branch.branch_location,tbl_branch.address as branch_address FROM `tbl_user` inner join tbl_branch on tbl_user.branch_id=tbl_branch.id where tbl_user.id ='$id'"); $statement->execute(); $emp_data = $statement->fetchAll(PDO::FETCH_ASSOC); $totalData = $statement->rowCount(); //Single Words $employer_signature = "Employer's Signature & Designation"; $formf = "form `F'"; $title = "Form 'F'"; $persons_s = "persons's"; $husband_s = "husband's"; if($totalData){ foreach($emp_data as $data){ $content=' <table style="width:100%;border-collapse: collapse;"> <tr> <td style="width:100%; border: 1px solid black;"> <center><span class="compnay_name8">M.SUNDARDAS & SONS</h2></span> </td> </tr> <tr> <td style="width:100%; border: 1px solid black;"> <center><span class="address8">'.$data['branch_address'].'</span></center> </td> </tr> </table> <center><u style="font-family: Arial;font-size:30px;font-weight: bold;"> '.$title.' </u></center> <center><u style="font-family: Calibri;font-size:30px;">(See Sub-rule (1) of Rule 6)</u></center> <center><u style="font-family: Calibri;font-size:30px;">NOMINATION</u></center> <span style="font-family: Arial;font-size:16px;">To: </span> <table style="width:100%;"> <tr> <td>1. </td> <td class="text-form8">Shri/Shrimati/Kumari</td> <td style="width: 78%;"><b>'.$data['emp_name'].'</b></td> </tr> </table> <p class="text-form8">Whose particulars are given in the statement below, hereby nominate the '.$persons_s.' mentioned below to <br> receive the gratuity payable after my death as also the gratuity standing to my credit in the event of my <br> death before that amount has become payable, or having become payable, has not been paid and direct that <br> the said amount of gratuity shall be paid in proportion indicated against the name (s) of the nominee (s).</p> <p class="text-form8">2. I herby certify that the person(s) mentioned is a/are member (s) of my family within the meaning of <br>     clause (h) of section 2 of the Payment of Gratuity Act, 1972.</p> <p class="text-form8"> 3. I hereby certify that I have no family within the meaning of clause (h) of section (2) of the said Act. </p> <p class="text-form8"> 4. (a) My father/mother/parents is/are not dependent on me.<br>     (b) My '.$husband_s.' father/mother/parents is/are not dependnet on my husband </p> <p class="text-form8"> 5. I have excluded my husband from my family by a notice dated the <span style="border-bottom: 1px solid black;"></span> <br>    to the controlling authority in terms of the provision to clause (h) of section 2 of the said Act. </p> <p class="text-form8"> 6. Nomination made herein invalidates my previous nominee(s). </p> <table style="width:100%;border-collapse: collapse;" class="text-form8"> <tr> <td style="width:1%;border: 1px solid black;vertical-align: top;" class="text-form8">No.</td> <td style="width:33%;border: 1px solid black;" class="text-form8">Name in full with address <br> of nomine (s)</td> <td style="width:33%;border: 1px solid black;" class="text-form8">Relationship with <br> the employee</td> <td style="width:33%;border: 1px solid black;" class="text-form8">Proportion by which the <br> gratuity will be shared</td> </tr> <tr> <td style="border: 1px solid black;">1.</td> <td style="border: 1px solid black;text-align: center;"><b>'.$data['nominee_name'].' '.$data['nominee_address'].'</b></td> <td style="border: 1px solid black;text-align: center;"><b>'.$data['nominee_relationship'].'</b></td> <td style="border: 1px solid black;text-align: center;">100%</td> </tr> </table> <br> <table style="width:100%;border: 1px solid black;" class="text-form8"> <tr> <th colspan="4" style="font-family: Arial;font-size:14px;font-weight: bold;">STATEMENT</th> </tr> <tr> <td style="padding: 5px;width: 50%;">1. Name of employee in full:</td> <td> <div class="vvv">  '.$data['emp_name'].' </div> </td> </tr> <tr> <td style="padding: 5px;width: 50%;">2. sex:</td> <td> <div class="vvv">  '.$data['gender'].' </div> </td> </tr> <tr> <td style="padding: 5px;">3. Religion:</td> <td> <div class="vvv">  '.$data['religion'].' </div> </td> </tr> <tr> <td style="padding: 5px;width: 50%;">4. Whether unmarried/ married/ widow / widower</td> <td> <div class="vvv">  '.$data['married_status'].' </div> </td> </tr> <tr> <td style="padding: 5px;width: 50%;">5. Department/ Branch/ Section/ where employed</td> <td> <div class="vvv">  '.$data['department_name'].' / '.$data['designation_name'].' </div> </td> </tr> <tr> <td style="padding: 5px;width: 50%;">6. Post held with Ticket or Serial No. if any</td> <td> <div class="vvv" >  '.$data['emp_code'].' </div> </td> </tr> <tr> <td style="padding: 5px;width: 50%;">7. Temporary address</td> <td> <div class="vvv" style="padding-left:3px;">  '.nl2br($data['address']).' </div> </td> </tr> <tr> <td style="padding: 5px;width: 50%;">8. Permanent address</td> <td> <div class="vvv" style="padding-left:3px;">  '.nl2br($data['permanentadress']).' </div> </td> </tr> <tr> <td style="border-bottom: 0.5px solid black;">Village     </td> <td style="border-bottom: 0.5px solid black;text-align: center;">Sub-Division</td> </tr> <tr> <td colspan="2"> <table style="width: 100%;" class="text-form8"> <tr> <td style="width: 15%;">post office</td> <td style="width: 20%;">salem</td> <td style="width: 15%;">District</td> <td style="width: 15%;">Salem</td> <td style="width: 20;">State</td> <td>Tamilnadu</td> </tr> </table> <br> </td> </tr> <tr> <td style="padding: 5px;">Place</td> <td></td> </tr> <tr> <td style="padding: 5px;">Date</td> <td style="border-bottom: 0.5px solid black;"> X</td> </tr> <tr> <td></td> <td style="vertical-align: top;">Signature/Thump impression of the employee</td> </tr> </table> <br> <center><span style="font-family: Arial;font-size:14px;font-weight: bold;">DECLARATION BY THE WITNESSES</span></center> <center><span style="font-family: Calibri;font-size:14px;">Nomination Signed/thumb impressed before me</span></center> <table style="width: 100%;padding:2px;" class="text-form8"> <tr> <th style="width: 70%;text-align: left;">Name in full and full address of witnesses</th> <th style="width: 30%;">Signature of witnesses</th> </tr> </table> <table style="width: 100%; border-collapse: collapse;text-align: center;" class="text-form8"> <tr> <td style="border: 1px solid black;width: 5%;height: 80px;">1</td> <td style="border: 1px solid black;"></td> <td style="border: 1px solid black;"></td> <td style="border: 1px solid black;"></td> </tr> <tr> <td style="border: 1px solid black;height: 80px;">2</td> <td style="border: 1px solid black;"></td> <td style="border: 1px solid black;"></td> <td style="border: 1px solid black;"></td> </tr> </table> <div style="border: 1px solid black;padding: 2px;"> <table> <tr> <td style="padding: 10px;">Place</td> </tr> <tr> <td style="padding: 10px;">Date</td> </tr> </table> <br> <center><span class="text-form8">CERTIFICATE BY THE EMPLOYER</span></center> <p class="text-form8">Certified that the particulars of the above nomination have been verified & recorded in this establishment.</p> <br> <table style="width: 100%;" class="text-form8"> <tr> <td style="width: 20%;vertical-align: bottom;text-align: center;">Registration No.</td> <td style="border-bottom: 1px solid black;width: 20%;"> </td> <td></td> </tr> <tr> <td style="width: 20%;vertical-align: bottom;text-align: center;">Date</td> <td style="border-bottom: 1px solid black;width: 20%;"></td> <td style="text-align: center;">'.$employer_signature.'</td> </tr> <tr> <td style=""></td> <td></td> <td style="text-align: center;">Name & Address of Establishment or Rubber Stamp</td> </tr> </table> <br> <center><span style="font-family: Arial;font-size:20px;font-weight: bold;">ACKNOWLEDGEMENT BY EMPLOYER</span></center> <p style="font-family: Calibri;font-size:16px;font-weight: bold;">Received the duplicate copy of nomination in '.$formf.' filed by me and duly certified by the employer.</p><br><br><br><br><br> <table style="width: 100%;"> <td style="width: 35%;"></td> <td style="width: 35%;"></td> <td style="border-bottom: 1px solid black;">X</td> </table> </div> <style> .compnay_name8{ font-family: Algerian Regular; font-size:36px;font-weight: bold; } .address8{ font-family: Calibri; font-size:14px;font-weight: bold; } .text-form8{ font-family: Calibri; font-size:14px; } .tamil-font-size{ font-size:12px;font-weight: bold; } .vvv{ border: 0.5px solid black; border-spacing: 3px; border-collapse: collapse; padding-left: 1px; } </style>'; }}else{ $content='<center>Empty</center>';} echo $content;