DATE OF DISCHARGE </td> <td> :<?=getDatetime(getAccountDetail('date_releaving',$emp_id))?> </td> </tr> </table> </td> <td> DESIGNATION :<?=getdesignationMaster('designation_name','rec_id',getdesignationDetail('designation_id',$emp_id,$date_month));?> <br/> Year:<?=$year?> </td> <td> DEPARTMENT:<?=getdeptDetail('department_name','rec_id',getdepartmentDetail('dept_id',$emp_id,$date_month));?> </td> </tr> <tr> <td colspan="3"> <table border="1" width="100%" class="tableborder" cellpadding="0" cellspacing="0"> <tr> <td rowspan="2">Month</td> <td rowspan="2">No. of <br/>Working Days</td> <td rowspan="2">No of Days <br/>Work Performed</td> <td rowspan="2">Wage Rate</td> <!--<td rowspan="2">No.of Days Maternity Leave With Wage</td> <td rowspan="2">No. Of Days Layoff</td>--> <td colspan="3">PREVILAGE EARNED LEAVE</td> <td colspan="3">CASUAL LEAVE</td> <td rowspan="2">Total Paid <br/>Leave</td>
<td> :<?php echo getDatetime(getAccountDetail('date_releaving', $emp_id)); ?> </td> </tr> </table> </td> <td> DESIGNATION :<?php echo getdesignationMaster('designation_name', 'rec_id', getdesignationDetail('designation_id', $emp_id, $date_month)); ?> </td> <td> DEPARTMENT:</td><td><?php echo getdeptDetail('department_name', 'rec_id', getdepartmentDetail('dept_id', $emp_id, $date_month)); ?> </td> </tr> <tr> <td colspan="4"> <table border="1" width="100%"> <tr> <td rowspan="2">Month</td> <td rowspan="2">No. of <br/>Working Days</td> <td rowspan="2">No of Days <br/>Work Performed</td> <td rowspan="2">Wage Rate</td> <!--<td rowspan="2">No.of Days Maternity Leave With Wage</td> <td rowspan="2">No. Of Days Layoff</td>--> <td colspan="3">PREVILAGE EARNED LEAVE</td> <td colspan="3">CASUAL LEAVE</td>
</tr> <tr> <td> Off Day. </td> <td style="border-bottom:1px solid #333333;"><?php echo $off_day; ?> </td> <td colspan="2"> Department </td> <td colspan="2" style="border-bottom:1px solid #333333;"> <?php echo getdeptDetail('department_name', 'rec_id', getdepartmentDetail('dept_id', $row['rec_id'], $date_month)); ?> </td> </tr> <tr> <td> Designation </td> <td style="border-bottom:1px solid #333333;"> <?php echo getdesignationMaster('designation_name', 'rec_id', getdesignationDetail('designation_id', $row['rec_id'], $date_month)); ?> </td> <td colspan="2"> Date Of Joining </td>