<?php $__env->startSection('content'); ?>
    <h5 class="text--secondary mb-3"><?php echo app('translator')->get('Booking Overview'); ?></h5>
    <div class="row gy-4 pb-3">
        <div class="col-xxl-4 col-xs-6">
            <div class="widget widget--base">
                <div class="widget__header">
                    <div class="widget__icon">
                        <i class="las la-clipboard-list"></i>
                    </div>
                </div>
                <div class="widget__body">
                    <h6 class="widget__title"> <?php echo app('translator')->get('Total'); ?></h6>
                    <h3 class="widget__amount"><?php echo e($booking['total']); ?></h3>
                </div>
            </div>
        </div>

        <div class="col-xxl-4 col-xs-6">
            <div class="widget widget--primary">
                <div class="widget__header">
                    <div class="widget__icon">
                        <i class="las la-book"></i>
                    </div>
                </div>
                <div class="widget__body">
                    <h6 class="widget__title"> <?php echo app('translator')->get('Requested'); ?></h6>
                    <h3 class="widget__amount"><?php echo e($booking['request']); ?></h3>
                </div>
            </div>
        </div>

        <div class="col-xxl-4 col-xs-6">
            <div class="widget widget--success">
                <div class="widget__header">
                    <div class="widget__icon">
                        <i class="las la-check"></i>
                    </div>
                </div>
                <div class="widget__body">
                    <h6 class="widget__title"> <?php echo app('translator')->get('Active'); ?></h6>
                    <h3 class="widget__amount"><?php echo e($booking['successful']); ?></h3>
                </div>
            </div>
        </div>
        <div class="col-xxl-4 col-xs-6">
            <div class="widget widget--danger">
                <div class="widget__header">
                    <div class="widget__icon">
                        <i class="las la-times"></i>
                    </div>
                </div>
                <div class="widget__body">
                    <h6 class="widget__title"> <?php echo app('translator')->get('Canceled'); ?></h6>
                    <h3 class="widget__amount"><?php echo e($booking['canceled']); ?></h3>
                </div>
            </div>
        </div>
        <div class="col-xxl-4 col-xs-6">
            <div class="widget widget--dark">
                <div class="widget__header">
                    <div class="widget__icon">
                        <i class="las la-list-alt"></i>
                    </div>
                </div>
                <div class="widget__body">
                    <h6 class="widget__title"> <?php echo app('translator')->get('Checked Out'); ?></h6>
                    <h3 class="widget__amount"><?php echo e($booking['checkedOut']); ?></h3>
                </div>
            </div>
        </div>
        <div class="col-xxl-4 col-xs-6">
            <div class="widget widget--dark">
                <div class="widget__header">
                    <div class="widget__icon">
                        <i class="la la-money"></i>
                    </div>
                </div>
                <div class="widget__body">
                    <h6 class="widget__title"> <?php echo app('translator')->get('Payment'); ?></h6>
                    <h3 class="widget__amount"><?php echo e(showAmount($booking['total_payment'])); ?></h3>
                </div>
            </div>
        </div>
    </div>

    <h5 class="text--secondary my-3"><?php echo app('translator')->get('Recent Bookings'); ?></h5>
    <?php echo $__env->make($activeTemplate . 'partials.booking_history_table', $bookings, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('style'); ?>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500&display=swap');

        .widget__amount {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 500;
        }
    </style>
<?php $__env->stopPush(); ?>

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