<?php $__env->startPush('style-lib'); ?>

    <?php $__env->startSection('content'); ?>
        <link rel="stylesheet" href="<?php echo e(asset('static/tree/css/withdrawalrecords.css')); ?>">



        <body>
            <div class="withdrawalrecords">
                <div class="navbar">
                    <span onclick="onBack()">
                        <i></i>
                    </span>
                    <span>withdrawal record</span>
                    <span>
                    </span>
                </div>

                <div class="tips-box">
                    <img src="<?php echo e(asset('static/tree/img/err.png')); ?>" alt="">
                    <p class="tips">
                        Please enter the following 3 pieces of information to facilitate your withdrawal.
                    </p>
                </div>

                <ul class="list">
                    <?php $__currentLoopData = $withdraws; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($data->status == 3): ?>
                            <li>
                                <i class="unconfirmed"></i>
                                <div>
                                    <h2><span
                                            style="text-transform: capitalize;">fail</span><b><?php echo e(number_format($data->amount)); ?></b>
                                    </h2>
                                    <p><?php echo e($data->created_at->format('d M Y, h:m a')); ?></p>
                                </div>
                            </li>
                        <?php elseif($data->status == 2): ?>
                            <li>
                                <i></i>
                                <div>
                                    <h2><span style="text-transform: capitalize;">pending</span>
                                        <b><?php echo e(number_format($data->amount)); ?></b></h2>
                                    <p><?php echo e($data->created_at->format('d M Y, h:m a')); ?></p>
                                </div>
                            </li>
                        <?php elseif($data->status == 1): ?>
                            <li>
                                <i class="success"></i>
                                <div>
                                    <h2><span style="text-transform: capitalize;">success</span>
                                        <b><?php echo e(number_format($data->amount)); ?></b></h2>
                                    <p><?php echo e($data->created_at->format('d M Y, h:m a')); ?></p>
                                </div>
                            </li>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>





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

<?php echo $__env->make('layouts.users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/AMPPS/www/ipad/core/resources/views/templates/basic/user/withdraw/log.blade.php ENDPATH**/ ?>