<?php $__env->startSection('content'); ?>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
      <!-- Main content -->
<!-- Main content -->
    <section class="content">

        <!-- /.row -->
        <!-- Main row -->
        <div class="">
            <br><br>
            <?php echo $__env->make('inc.messages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
          <!-- Left col -->

          <!-- /.Left col -->
          <!-- right col (We are only adding the ID to make the widgets sortable)-->
          <section class="col-lg-12 connectedSortable">

            <!-- Map card -->
            <div class="card">
              <div class="card-header no-border">
                <h3 class="card-title">
                  Beneficiaries Summary Report. <b>District:</b> <?php echo e($district); ?>

                </h3>
                <!-- card tools -->

                <!-- /.card-tools -->
              </div>
              <div class="card-body">

               <h5><b>Start Date:</b> <?php echo e($start_date); ?> - <b>End Date:</b> <?php echo e($end_date); ?>   <b>Total No. of Beneficiaries:</b> <?php echo e($no_of_beneficiaries); ?>. <b>Total Amount:</b> <?php echo e(number_format($total)); ?> UGX</h5>
              <div class="float-right">
                
              </div>

              <br><br><br>

              <div class="table-responsive">
                  <table id="" width="100%" class="table-bordered table-striped table-sm dataTable no-footer">
                      <thead>
                      <tr>
                        <th>ID</th>
                        <th>District</th>
                        <th>No. of Beneficiaries</th>
                        <th>Entitlement Amount</th>
                        <th>Service Fee</th>
                        <th>Withdraw Charges</th>
                        <th>Total</th>
                        <th>Quarter</th>
                        <th>Payment Date</th>
                        <th>Financial Year</th>
                      </tr>
                      </thead>
                      <tbody>
                        <?php $__currentLoopData = $entries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($loop->iteration); ?></td>
                            <td><?php echo e($item->district); ?></td>
                            <td><?php echo e($item->no_of_beneficiaries); ?></td>
                            <td><?php echo e(number_format($item->ent_amount)); ?></td>
                            <td><?php echo e(number_format($item->service_fee)); ?></td>
                            <td><?php echo e(number_format($item->withdraw_charge)); ?></td>
                            <td><?php echo e(number_format($item->total)); ?></td>
                            <td><?php echo e($item->quarter); ?></td>
                            <td><?php echo e($item->pay_date); ?></td>
                            <td><?php echo e($item->fy); ?></td>
                           
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                       </tbody>

                    </table>
              </div>
            </div>
            <!-- /.card -->


        </div>
        <!-- /.modal-dialog -->
      </div>
      <!-- /.create modal -->

            <!-- /.card -->
          </section>
          <!-- right col -->
        </div>

    <!-- /.content -->

    



    <?php echo $__env->make('inc.copyright', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.dashboard', ['title' => 'Beneficiaries Report'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xamp\htdocs\esp_manager\resources\views/beneficiaries/report.blade.php ENDPATH**/ ?>