<!DOCTYPE html>
<html>
<head>
	<title>Salary Slip</title>
	<style type="text/css">
		table {
			width: 100%;
		}
        
        .b-right{
            border-right: 1px solid black;
        }
        .b-bottom{
            border-bottom: 1px solid black;
        }
        
        .text-right{
            text-align: right;
        }
        
        .text-top{
            vertical-align: top;
        }
        
        .text-left{
            text-align: left;
        }
        .f-weight{
            font-weight: 700;
        }
		.payslip{
  			border: 1px solid black;
  			font-size: 11px;

		}
		.payslip tr td{
  			padding: 5px;
            border-right: 1px solid black;
            width: 25%;
		}

		.payslip tr th{
  			text-align: left;
  			text-transform: uppercase;
  			padding: 5px;
		}
		.detail{
			border: 1px solid black;
			border-top: 0px;
  			font-size: 10px;
		}
		.detail tr td{
  			padding: 5px;
		}
		.detail tr th{
  			text-align: center;
  			text-transform: uppercase;
  			padding: 5px;
/*  			border-color: black;
  			border-style: solid;*/
  			border-width: 0px 1px 1px 0px;
		}
		.detail .row th{
  			text-align: left;
  			text-transform: uppercase;
  			padding: 5px;
/*  			border-color: black;
  			border-style: solid;
  			border-width: 0px 1px 1px 0px;*/
		}
		.detail .row td{
  			text-align: left;
  			/*text-transform: uppercase;*/
  			padding: 2px;
/*  			border-color: black;
  			border-style: solid;
  			border-width: 0px 1px 0px 0px;*/
		}
		.detail .row .rightTd{
  			text-align: right;
  			/*text-transform: uppercase;*/
  			padding: 2px;
/*  			border-color: black;
  			border-style: solid;
  			border-width: 0px 1px 0px 0px;*/
		}
		.detail .row .endTd{
			vertical-align: top;
			font-weight: bold;
  			padding: 2px;
/*  			border-color: black;
  			border-style: solid;
  			border-width: 1px 1px 1px 0px;*/
		}
		.detail .row .endTd_leave{
  			padding: 2px;
/*  			border-color: black;
  			border-style: solid;
  			border-width: 0px 1px 1px 0px;*/
		}
		.detail .row .right{
  			text-align: right;
  			text-transform: uppercase;
  			padding: 5px;
/*  			border-color: black;
  			border-style: solid;
  			border-width: 0px 1px 1px 0px;*/
		}
		.title_td{
			text-align: center;
			text-transform: uppercase;
			font-weight: bold;
			font-size: 12px
		}
		.title_td p{
			margin-top: -10px;
		}
        
        .width10{
            width: 10%;
        }
        .width15{
            width: 15%;
        }
        .width20{
            width: 20%;
        }
        .width25{
            width: 25%;
        }
        .width30{
            width: 30%;
        }
        .width35{
            width: 35%;
        }
        .width40{
            width: 40%;
        }
        .width45{
            width: 45%;
        }
        .width50{
            width: 49%;
        }
	</style>
</head>
<body >
    <table style="">
		<tr>
			<td class="title_td">

			</td>
		</tr>
	</table>
	<table style="">
		<tr>
			<td class="title_td">
				<p>government of assam</p>
	           	<p>Office of the Commissioner Panchayat & Rural Development (P&RD)</p>
	           	<p>panjabari:::::juripar:::::guwahati:::::37</p>
	           	<!-- <p>Website:www.pnrdhcms.org</p> -->
			</td>
		</tr>
	</table>

	<table style="margin: 50px 0 0 0;">
		<tr>
			<td style="text-align: center;">
				<p><strong>Payslip for the month of <?php echo e($salary_month); ?></strong></p>
			</td>
		</tr>
	</table>

	<table class="payslip" cellspacing="0" cellpadding="0">
		<tr>
			<th>code</th>
			<td><b>:</b> <?php echo e($employee_info->employee_code); ?></td>
			<th >birth date</th>
			<td ><b>:</b>  <?php echo e($employee_info->date_of_birth); ?></td>

		</tr>
		<tr>
			<th>name</th>
			<td><b>:</b>  <?php echo e($employee_info->name); ?></td>
			<th >joining date</th>
			<td ><b>:</b>  <?php echo e($employee_info->date_of_joining); ?></td>

		</tr>
		<tr>
			<th>father name</th>
			<td><b>:</b> <?php echo e($employee_info->father_name); ?>  </td>
			<th >pan no</th>
			<td ><b>:</b> <?php echo e($employee_info->pan_no); ?>  </td>

		</tr>
		<tr>
			<th>program</th>
			<td><b>:</b> <?php echo e($employee_info->program_name); ?>  </td>
			<th >aadhar no</th>
			<td ><b>:</b> <?php echo e($employee_info->adhar_no); ?>  </td>

		</tr>
		<tr>
			<th>designation</th>
			<td><b>:</b> <?php echo e($employee_info->designation_name); ?> </td>
			<th >uan no</th>
			<td ><b>:</b>  </td>

		</tr>
		<tr>
			<th>location</th>
			<td><b>:</b> <?php if($employee_info->district_code==999): ?><?php echo e('Guwahati'); ?> <?php else: ?> <?php echo e($employee_info->district_name); ?>  <?php endif; ?> </td>
			<th >pf no</th>
			<td ><b>:</b>  </td>

		</tr>
		<tr>
			<th>bank name</th>
			<td><b>:</b>  <?php echo e($employee_info->bank_name); ?></td>
			<th >esi no</th>
			<td ><b>:</b>  </td>

		</tr>
		<tr>
			<th>a/c no</th>
			<td><b>:</b> <?php echo e($employee_info->account_no); ?> </td>
			<th >days payable</th>
			<td ><b>:</b> <?php echo e($salaryData['total_payable_days']); ?> Dayes  </td>

		</tr>
	</table>

	<table class="detail" cellspacing="0" cellpadding="0">
		<tr>
			<th colspan="2" class="b-right b-bottom width50">Earnings (Rs)</th>
			<th colspan="2" class="b-right b-bottom width35">deductions (RS)</th>
			<th colspan="2" class="b-right b-bottom width15">leave details</th>
		</tr>
		<tr >
			<th class="b-right b-bottom text-left">description</th>
			<th class="b-right b-bottom text-right">amount</th>
            <th class="b-right b-bottom text-left">description</th>
			<th class="b-right b-bottom text-right">amount</th>
			<th class="b-right b-bottom text-left">leave</th>
            <th class="b-right b-bottom text-left">day</th>
		</tr>
		<tr >
			<td class="b-right">Monthly Fixed Amount</td>
			<td class="b-right text-right"><?php echo e(number_format((float)$salary_info->fixed_salary, 2, '.', '')); ?></td>
			<td class="b-right ">P.Tax</td>
			<td class="b-right  text-right"><?php echo e(number_format((float)$salary_info->professional_tax, 2, '.', '')); ?></td>
			<td rowspan="5" class="b-right b-bottom"></td>
			<td rowspan="5" class="b-right b-bottom"></td>
		</tr>
		<tr >
            <td class="b-right ">DA</td>
			<td class="b-right text-right">0.00</td>
			<td class="b-right ">LOP <?php if($salaryData['lop_days']): ?> ( <?php echo e($salaryData['lop_days']); ?> Days) <?php endif; ?></td>
			<td class="b-right text-right"><?php echo e(number_format((float)$salaryData['lop_amount'], 2, '.', '')); ?></td>

		</tr>
		<tr >
            <td class="b-right " >TA</td>
			<td class="b-right text-right" >0.00</td>
			<td class="b-right ">TDS</td>
			<td class="b-right  text-right"><?php echo e(number_format((float)$salary_info->tds, 2, '.', '')); ?></td>
		</tr>
		<tr >
            <td class="b-right b-bottom">Allowance(s) / Due(s) <br>
                <?php if($salaryData['allowances_names']): ?>(<?php echo e($salaryData['allowances_names']); ?>) <?php endif; ?>
            </td>
            <td class="b-right text-right b-bottom"><?php echo e(number_format((float)$salaryData['allowances_amount'], 2, '.', '')); ?></td>
			<td class="b-right b-bottom">Other Deductions <br>
                <?php if($salaryData['lop_days']): ?> ( <?php echo e($salaryData['deduction_names']); ?> ) <?php endif; ?>
            </td>
			<td class="b-right b-bottom text-right">
               <?php echo e(number_format((float)$salaryData['deduction_amount'], 2, '.', '')); ?>

            </td>
		</tr>
		<tr class="">
            <td class="b-right b-bottom f-weight text-top">(A) Gross Remuneration</td>
            <td class="b-right b-bottom text-right f-weight text-top"><?php echo e(number_format((float)($salary_info->net_salary+$salaryData['deduction_amount']+$salary_info->tds+$salaryData['lop_amount']+$salary_info->professional_tax), 2, '.', '')); ?></td>
			<td rowspan="" class="b-right b-bottom f-weight text-top">(B) Total Deduction
            </td>
			<td rowspan="" class="b-right b-bottom text-right f-weight text-top"><?php echo e(number_format((float)($salary_info->professional_tax+$salary_info->tds+$salaryData['deduction_amount']+$salaryData['lop_amount']), 2, '.', '')); ?></td>
		</tr>

		<tr>
			<td colspan="6" ><strong class="f-weight">Net Payable Remuneration (A-B) : <?php echo e(number_format((float)$salary_info->net_salary, 2, '.', '')); ?></strong> <?php if($salary_in_words): ?>  <br> Amount in words( Rupees <?php echo e($salary_in_words); ?> Only). <?php endif; ?></td>
		</tr>
	</table>
	<p style="font-size: 11px;">This is the computer generated salary slip, so signature is not required.</p>

</body>
</html>