<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap" rel="stylesheet">
<?php $__currentLoopData = $saldata; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

<div class="row" style="font-family: 'Open Sans', sans-serif;">
    <div class="col-xs-12" style="text-align: center;align-self: center;">
        <h3>VIBRANT TECHNOLOGIES(PVT)LTD</h3>
        <h5 style="line-height: 5px;margin-top: 0;">NO 214/1 KADUWELA RD, BATTARAMULLA.</h5>
        <h5 style="line-height: 5px;margin-top: 0;">Salary Slip</h5>
    </div>
</div>



<div class="row" style="font-size:25px;font-family: 'Open Sans', sans-serif;">
    <div class="col-xs-6">
        <h5><b>Employee Name :</b> <?php echo e($data->employeename->name); ?></h5>
    </div>
    <div class="col-xs-5" style="text-align: right;align-self: right;">
        <h5><b>Month & Year :</b> <?php echo e($ldate); ?> </h5>
    </div>
</div>
<div class="row" style="font-family: 'Open Sans', sans-serif;">
    <div class="col-xs-12">
        <table class="table table-bordered topics">
            <thead>
                <tr>
                <th colspan="2">Earnings</th>
                <th colspan="2">Deductions</th>
                </tr>
            </thead>
            <tbody>

                <tr>
                <td>Basic Salary</td>
                <td><?php echo e($data->basicsalary); ?></td>
                <td>No Pay</td>
                <td><?php echo e($data->nopay); ?></td>
                </tr>

                <tr>
                <td>OT Rate</td>
                <td><?php echo e($data->otrate); ?></td>
                <td>Salary Advance</td>
                <td><?php echo e($data->saladvance); ?></td>
                </tr>

                <tr>
                <td>OT Hours</td>
                <td><?php echo e($data->othrs); ?></td>
                <td>Loan</td>
                <td><?php echo e($data->loan); ?></td>
                </tr>

                <tr>
                <td>OT Amount</td>
                <td><?php echo e($data->otamount); ?></td>
                <td>Late</td>
                <td><?php echo e($data->late); ?></td>
                </tr>
                <tr>
                <td>Sales Commision</td>
                <td><?php echo e($data->salecommision); ?></td>
                <td>Insurance</td>
                <td><?php echo e($data->insurance); ?></td>
                </tr>
                <tr>
                <td>Delivery Commision</td>
                <td><?php echo e($data->deliverycommision); ?></td>
                <td>Other Deductions</td>
                <td><?php echo e($data->otherdeducation); ?></td>
                </tr>
                <tr>
                <td>Food Allowance</td>
                <td><?php echo e($data->foodallowance); ?></td>
                <td>EPF 8%</td>
                <td><?php echo e($data->epf); ?></td>
                </tr>
                <tr>
                <td>Bike Allowance</td>
                <td><?php echo e($data->bikeallowance); ?></td>
                <th></th>
                <td></td>
                </tr>
                <tr>
                <td>Other Allowance</td>
                <td><?php echo e($data->otherallowance); ?></td>
                <td></td>
                <td></td>
                </tr>
                <tr>
                <td>Attendance Bonus</td>
                <td><?php echo e($data->bonus); ?></td>
                <td></td>
                <td></td>
                </tr>

 
                 <tr>
                <th>Total Addition</th>
                <td><?php echo e($data->basicsalary+$data->otamount+$data->salecommision+$data->deliverycommision+$data->foodallowance+$data->bikeallowance+$data->otherallowance+$data->bonus); ?> </td>
                <th>Total Deduction</th>
                <td><?php echo e($data->nopay+$data->saladvance+$data->loan+$data->late+$data->insurance+$data->otherdeducation+ $data->epf); ?></td>
                </tr>

                <tr>
                <th colspan="3"> NET Salary</th>
                <th><?php echo e($data->netsalary); ?></th>
                </tr>

            </tbody>
        </table>
    </div>
</div><br><br><br>
<div class="row" style="font-size:25px;font-family: 'Open Sans', sans-serif;">
    <div class="col-xs-5" style="text-align: center;align-self: center;">
    <hr class='dotted' />
        <h5><b>Signature of the Employee </b></h5>
    </div>
    <div class="col-xs-1"></div>
    <div class="col-xs-5" style="text-align: center;align-self: center;">
        <hr class='dotted' />
        <h5><b>Director</b> </h5>
    </div>
</div>



    
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>













<style>
.topic td,tr{ height: 10px };
.table tr {
    padding: 10px 0;
}

 .dotted {border: 1px dotted black; border-style: none none dotted; color: black; }

    hr.new2 {
  border-top: 1px dashed black;
}

h5{
    font-size:14px;
    font-family: 'Open Sans', sans-serif;
}
b{
    font-size:14px;
    font-family: 'Open Sans', sans-serif;
}

div.breakNow { page-break-inside:avoid; page-break-after:always; }
.center {
                text-align: center;
            }



/* @page    {
        margin: 1cm;
    } */

    @page    {
        margin: -0.1cm 1cm 1cm 1cm;
    }
</style>