<?php $__env->startSection('content'); ?>
    <div class="dashboard-inner">
        <div class="mb-4">
            <h3 class="mb-2"><?php echo e(__($pageTitle)); ?></h3>
        </div>
        <div class="row">
            <div class="col-lg-12">

                <?php if(!blank($logs)): ?>
                    <div class="table-responsive">
                        <table class="table--responsive--md table">
                            <thead>
                                <tr>
                                    <th><?php echo app('translator')->get('Amount'); ?></th>
                                    <th><?php echo app('translator')->get('Position'); ?></th>
                                    <th><?php echo app('translator')->get('Detail'); ?></th>
                                    <th><?php echo app('translator')->get('Date'); ?></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__empty_1 = true; $__currentLoopData = $logs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                    <tr>
                                        <td class="budget">
                                            <strong
                                                <?php if($data->trx_type == '+'): ?> class="text--success" <?php else: ?> class="text--danger" <?php endif; ?>>
                                                <?php echo e($data->trx_type == '+' ? '+' : '-'); ?>

                                                <?php echo e(getAmount($data->inv_amount)); ?></strong>
                                        </td>

                                        <td>
                                            <?php if($data->position == 1): ?>
                                                <span class="badge badge--success"><?php echo app('translator')->get('Left'); ?></span>
                                            <?php else: ?>
                                                <span class="badge badge--primary"><?php echo app('translator')->get('Right'); ?></span>
                                            <?php endif; ?>
                                        </td>
                                      <!--  <td>
                                            <?php if($data->status == 1): ?>
                                                <span class="badge badge--success"><?php echo app('translator')->get('cut'); ?></span>
                                            <?php else: ?>
                                                <span class="badge badge--primary"><?php echo app('translator')->get('Remaining'); ?></span>
                                            <?php endif; ?>
                                        </td> -->
                                        <td><?php echo e($data->details); ?></td>
                                        <td>
                                            <?php echo e(showDateTime($data->created_at, 'M d Y @g:i:a')); ?>

                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                    <tr>
                                        <td class="text-muted text-center" colspan="100%"><?php echo e(__($emptyMessage)); ?></td>
                                    </tr>
                                <?php endif; ?>

                            </tbody>
                        </table>
                    </div>
                <?php else: ?>
                    <div class="card-body text-center">
                        <h4 class="text--muted"><i class="far fa-frown"></i> <?php echo e(__($emptyMessage)); ?></h4>
                    </div>
                <?php endif; ?>
                <?php if($logs->hasPages()): ?>
                    <div class="card-footer py-4">
                        <?php echo e(paginateLinks($logs)); ?>

                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make($activeTemplate . 'layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/mez5ba60cfao/public_html/Files/core/resources/views/templates/basic/user/bv_log.blade.php ENDPATH**/ ?>