
<?php $__env->startSection('title','Main Page'); ?>
<?php $__env->startSection('main'); ?>

<div class="container mt-5">
    <div class="row lead d-flex justify-content-center">
        <div class="col-md-4 bg-warning text-dark text-center p-4 shadow ">
            <i class="fa-solid fa-file-invoice-dollar fa-2xl  "></i><h4 class="pt-3">Liability</h4>
            <h3><b><?php echo e(number_format($libility,0)); ?></b></h3>
        </div>
        <div class="col-md-4 bg-success text-light text-center p-4 shadow ">
            <i class="fa-solid fa-receipt fa-2xl"></i><h4 class="pt-3">Receivable</h4>
            <h3><b><?php echo e(number_format($receivable,0)); ?></b></h3>
        </div>
        
        <div class="col-md-4 bg-info text-dark text-center p-4 shadow ">
            <i class="fa-solid fa-sack-dollar fa-2xl"></i><h4 class="pt-3">Cash In Hand</h4>
            <h3><b><?php echo e(number_format($cash_in_hand,0)); ?></b></h3>
        </div>
    </div>
    <div class="row mt-3">
        <div class="col-auto">
            <table class="table">
                <tr>
                <th>Bank Name</th>
                <th>Amount</th>
                </tr>
                <?php $__currentLoopData = $bank; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        
                        <td><?php echo e($data->account_name); ?></td>
                        <td><?php echo e(number_format($data->total_amount,0)); ?></td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                
            </table>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/imtiazir/public_html/resources/views/main.blade.php ENDPATH**/ ?>