<?php
$user = \Auth::user();
?>

<?php $__env->startPush('css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('assets/front/css/page.css')); ?>">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">

<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>

<div class="bg02 pt-3 pb-3">
    <div class="container-fluid text-center">
        <div class="cont01 p-3">
            <div class="d-flex flex-row justify-content-between mb-5">

                <a href="deposit.html">
                    <h1 class="dep">Deposit Record</h1>
                </a>
            </div>

            <div class="container">
                <?php if($all_request): ?>
                <?php $__currentLoopData = $all_request; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $request): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="data-container p-3">
                    <div class="d-flex flex-row justify-content-between mb-2">
                        <p class="time01"><?php echo e(Utility::date_time_format($request->created_at)); ?></p>
                        <?php
                        $status = 'Pending';
                        if($request->status == 1){
                        $status = 'Successful';
                        }elseif($request->status == 2){
                        $status = 'Rejected';
                        }else{
                        $status = 'Pending';
                        }
                        ?>
                        <button class="but10"><?php echo e($status); ?> review</button>
                    </div>
                    <h4 class="amount">USDT <?php echo e($request->amount); ?></h4>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
               
            </div>

        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('javascript'); ?>
<!-- <script src="<?php echo e(asset('assets/admin/lib/jquery/jquery-3.7.1.min.js')); ?>"></script> -->
<!-- <script src="<?php echo e(asset('assets/admin/lib/datatables/dataTables.js')); ?>"></script> -->
<?php echo $__env->make('layouts.includes.datatable_js', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<script>
    $(document).ready(function() {


        $(document).on("click", ".select_amount", function() {
            var amount = $(this).data('amount');
            // alert(amount);
            $('#amount').val(amount);

        });
    });
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\journey\resources\views/front/deposite_history.blade.php ENDPATH**/ ?>