<?php $__env->startSection('styles'); ?>
<style type="text/css">
	tr.cap{
		height:30px;
	}
</style>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<article class="content responsive-tables-page">
                    <div class="title-block">
                        <h1 class="title">
		Salary Statement
	</h1>
                        
                    </div>
                    <section class="section">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="card">
                                    <div class="card-block">
                                       
                                        <section class="example">
                                            <div class="table-responsive">
                                               <?php
$count=0;
$count=sizeof($payout);
?>
<div class="panel panel-default">
<div class="panel-body">
<!-- statement layout -->
<div class="table-responsive" style="align:center">
<?php for($i = 0; $i < $count ; $i++): ?>

<h1 class="text-center text-uppercase">SWOT Techsolutions</h1>
<p class="text-center">New Street Main Road, Chennai</p>
<hr />
<div class="float:right">
<h3 class="text-center text-uppercase">Salary Slip</h3>
<p>
<strong>Employee Name: </strong><span class="text-uppercase"> <?php echo e($payout{$i}{0}->emp->name); ?> </span> <br />
<strong>Designation: </strong> <?php echo e($payout{$i}{0}->emp->post->post); ?>  <br />
<strong>Month &amp; Year: </strong> <?php echo e(date('M, Y', strtotime($payout{$i}{0}->period_frm))); ?>  <br />
</p>
</div>
<br />
<table class="table table-bordered">
<thead>
<tr class="active">
<th>Earnings</th>
<th></th>
<th>Deductions</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Basic &amp; DA</strong></td>
<td> <?php echo e($payout{$i}{0}->pay); ?> </td>
<td><strong>TAX</strong></td>
<td> <?php echo e($payout{$i}{0}->tax); ?> </td></tr>
<tr>
<td><strong>Incentives</strong></td>
<td> <?php echo e($payout{$i}{0}->incentive); ?> </td>
<td><strong>Other Deductions</strong></td>
<td> <?php echo e($payout{$i}{0}->ded); ?> </td></tr>
<tr class="cap"><td></td><td></td><td></td><td></td></tr>
<tr>
<td><strong>Total Addition</strong></td><td><?php echo e(($payout{$i}{0}->pay+$payout{$i}{0}->incentive)); ?></td>
<td><strong>Total Deduction</strong></td><td><?php echo e(($payout{$i}{0}->tax+$payout{$i}{0}->ded)); ?></td>
</tr>
<tr><td colspan='2'></td>
<td class="active"><strong>NET Salary</strong></td><td class="active"><strong><?php echo e(round($payout{$i}{0}->net)); ?> </strong></td></tr>
</table>
<br />
<p class="text-capitalize">
Rupees
<?php $word=App::make("app\Http\Controllers\admin\PayrollController")->int_to_words(round($payout{$i}{0}->net)); ?>
 <?php echo e($word); ?> only
<p>
<strong>Transaction Details:</strong> <?php echo e($payout{$i}{0}->trans_mode); ?> <br />
<strong>Transaction No:</strong> <?php echo e($payout{$i}{0}->trans_id); ?> <br />
</p>
<br />
<p><i>Thank you, Happy Spending!</i><p>
<p class="text-right">
<h4>Managing Director</h4>
</p>
<p align='right'><small>Computer Generated Salary Slip,needs No Signature</small></p>
<br />
<div class='break'></div>
<br />
 <?php endfor; ?>
                                            </div>
                                        </section>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
                   
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
                </article>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>