<?php $__env->startSection('main-body'); ?>
<div class="container-fluid">
    <div class="page-header">
        <div class="row">
            <div class="col-sm-12">
                <h3>Disbursements Management</h3>
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="/">Dashboard</a></li>
                    <li class="breadcrumb-item active"><a href="/disbursements">Disbursements</a></li>
                </ol>
                <span class="pull-right"><?php echo Html::decode(link_to_Route('disbursements.create', '<i class="fa fa-plus"></i> Create Disbursement', [], ['class' => 'btn btn-primary'])); ?></span>
            </div>
        </div>
    </div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-body">
                    <div class="table-responsive">
                        <table class="table table-styling" id="user-list">
                            <thead>
                                <tr>
                                    <th>Reference #</th>
                                    <th>Amount</th>
                                    <th>Professional</th>
                                    <th>MOP</th>
                                    <th>Date</th>
                                    <th class="text-center">Action</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $disbursements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $disbursement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo $disbursement->payout_reference; ?></td>
                                        <td><?php echo number_format($disbursement->amount, 2); ?></td>
                                        <td><?php echo $disbursement->professional->profile->first_name.' '.$disbursement->professional->profile->last_name; ?></td>
                                        <td><?php echo $disbursement->mop; ?></td>
                                        <td><?php echo $disbursement->created_at; ?></td>
                                        <td></td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-script'); ?>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/prod/desxpert-admin/resources/views/disbursements/index.blade.php ENDPATH**/ ?>