<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css">
    <style>
        /*.daily__expense{*/
        /*    padding: 60px 0;*/
        /*}*/
        h6.ml-5 {
    margin-left: 50px;
}
h5.card-title {
    font-weight: bold;
    font-size: 18px;
}
td {
 font-weight: bold;
    border: 1px solid #000 !important;
    text-align:center;
}
th {
   font-weight: bold;
    border: 1px solid #000 !important;
     text-align:center;
}
    </style>
</head>
<body onload="window.print()" style="zoom:80%">
    <div class="container">
        <div class="daily__expense">
            <div class="logo">
                <img src="<?php echo e(asset('style/assets/img/logo2.jpeg')); ?>" style="width: 100%; margin-bottom:30px;" alt="">
            </div>
            <table class="table table-bordered table-responsive">
                <thead>
                  <tr>
                    <th class="text-center" colspan="6">-</th>
                    <th class="text-center" colspan="7"></th>

                  </tr>
                </thead>
                <tbody>
                    <tr>
                        <tr>
                            <th class="text-center" colspan="6"><h2><b><?php echo e($month); ?> - <?php echo e($year); ?> </b></h2></th>
                            <th class="text-center" colspan="7"> </th>


                          </tr>
                    </tr>
                    <tr>
                        <th>TRN : NUMBER</th>
                        <th>TAX INVOICE</th>
                        <th>COMPANY NAME</th>
                        <th>QTY</th>
                        <th>RATE</th>
                        <th>AMOUNT</th>
                        <th>TAX</th>
                        <th>TOTAL AMOUNT</th>

                    </tr>
                    <?php
                    $total_qty=0;
                    $total_rate=0;
                    $total_amnt=0;
                    $total_tax=0;
                    $final_amnt=0;
                    ?>

                    <?php $__currentLoopData = $transaction; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $trans): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                    $total_qty +=$trans['qty'];
                    $total_rate +=$trans['rate'];
                    $total_amnt +=$trans['total'];
                    $total_tax +=$trans['tax'];
                    $final_amnt +=$trans['final_total'];
                    ?>
                    <tr>
                          <td><b><?php echo e($trans['trn_no']); ?></b></td>
                       <td><?php echo e($trans['invoice_no']); ?></td>
                       <td><?php echo e($trans['customer_name']); ?></td>
                      <td><?php echo e($trans['qty']); ?></td>
                      <td><?php echo e($trans['rate']); ?></td>
                     <td><?php echo e($trans['total']); ?></td>
                     <td><?php echo e($trans['tax']); ?></td>
                   <td><?php echo e($trans['final_total']); ?></td>
                    </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </tbody>
                <!-- <tfoot> -->
                <tr>
                    <td colspan="3">TOTAL</td>
                    <td><?php echo e($total_qty); ?></td>
                    <td><?php echo e($total_rate); ?></td>
                    <td><?php echo e($total_amnt); ?></td>
                    <td><?php echo e($total_tax); ?></td>
                    <td><?php echo e($final_amnt); ?></td>
                </tr>



                  <!-- </tfoot> -->
              </table>
              <div class="border" style="margin-top:100px">
                <div class="row">
                  <div class="d-flex justify-content-between">
                      <div class="card border-0" style="width: 600px;min-height: 320px;">
                          <div class="card-body">
                            <h5 class="card-title">SRK DIESEL TRADING L.L.C </h5>
                            <h5 class="card-title">DUBAI - UNITED ARAB EMIRATES</h5>
                            <H6>Email : srkdieseltrading@gmail.com</H6>
                            <H6 class="ml-5">jamshiparayil@gmail.com</H6>
                            <h6>Mobile : 0091-55 33 46 408</h6>
                            <h6>Indian : 009171 9847 108 913</h6>
                            <h5>SIGNATURE :-</h5>
                            <img src="<?php echo e(asset('style/assets/img/seal.png')); ?>" class="img-fluid mt-3" alt="">
                          </div>
                        </div>
                            <div class="card border-0" style="width: 24rem;min-height: 320px; float: right;">
                          <div class="card-body text-center">
                            <h5 class="card-title"></h5>
                            <h5 class="card-title">DUBAI - UNITED ARAB EMIRATES</h5>

                          </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>


<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
<?php /**PATH /home/u943602698/domains/srkdieseltrading.in/public_html/resources/views/all_tax_statement_result.blade.php ENDPATH**/ ?>