<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>AdminLTE 3 | Ledger Print</title>

  <!-- Google Font: Source Sans Pro -->
  <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback"> -->
  <!-- Font Awesome -->
  <link rel="stylesheet" href="<?php echo e(asset('plugins/fontawesome-free/css/all.min.css')); ?>">
  <!-- Theme style -->
  <!-- <link rel="stylesheet" href="<?php echo e(asset('dist/css/adminlte.min.css')); ?>"> -->
  <style>
    table{
      width:100%;
    }
    td{
      border:1px solid #000 !important;
      padding:10px;
    }
  </style>
</head>
<body style="font-size:18px !important;font-family:sans-serif;">
<div class="wrapper">
  <!-- Main content -->
  <section>
    <!-- title row -->

    <!-- Table row -->
    <h3>Ledger Card</h3>
    <div class="row">
        <div class="">
            <table class="table" style="width:100%;font-size:12px !important;font-weight:bold;border:1px solid black;border-collapse:collapse">
            <thead>
                
            <tr>                
                <td>ID</td>
                <td>Date</td>
                <td>Received</td>
                <td>Supplied</td>
                <td>Balance</td>
            </tr>
            </thead>
            <?php
                        $count=1;
            ?>
            <?php $__currentLoopData = $ledger; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ldg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td><?php echo e($count); ?></td>
                <td><?php echo e(date('jS F Y',strtotime($ldg->created_at))); ?></td>
                <td><?php echo e($ldg->received); ?></td>
                <td><?php echo e($ldg->supplied); ?></td>
                <td><?php echo e($ldg->balance); ?></td>      
            </tr>
            <?php
                $count++;
            ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            </tbody>
            </table>
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->
    <!-- /.row -->
  </section>
  <!-- /.content -->
</div>
<!-- ./wrapper -->
<!-- Page specific script -->
<script>
  window.addEventListener("load", window.print());
</script>
</body>
</html>
<?php /**PATH C:\xampp\htdocs\sonnexindustries.com\resources\views/ledger_print.blade.php ENDPATH**/ ?>