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

    <?php $__env->startSection('content'); ?>
        <style type="text/css">
            .topname {
                line-height: 46px;
                font-size: 14px;
                width: 75%;
                text-align: center;
                color: #fff;
                position: absolute;
                top: 0;
                right: 0;
                left: 0;
                bottom: 0;
                margin: auto;
                font-weight: bold;
            }


            .typeitem {
                color: #888;
                float: left;
                margin-left: 3%;
                cursor: pointer;
                font-family: 黑体;
                font-size: 13px;
                margin-top: 10px;
                margin-bottom: 2px;
            }

            .typeitemover {
                margin-top: 10px;
                color: #085efa;
                border-bottom: 1px solid #085efa;
                margin-bottom: 1px;
                float: left;
                margin-left: 3%;
                cursor: pointer;
                font-family: 黑体;
                font-size: 13px;
            }
        </style>

        <body style="background-size: 100% auto; background: #fff;">
            <input type="hidden" id="status" value="-1" />
            <input type="hidden" id="_more" value="" />
            <input type="hidden" id="_withdrawal_t14" value="" />

            <div style="width: 100%; margin: 0 auto; background: #000; border-bottom: 0px solid #117546; " class="top">
                <div style="float:left; text-align:left; line-height:46px;width:50%;" id="btnClose">
                    <i class="layui-icon" style=" color:#fff; margin-left:12px; font-size:18px;  font-weight:bold;">&#xe603;</i>
                </div>
                <font class="topname">
                    Record withdrawals
                </font>
                <div style="float:right; text-align:right; line-height:46px;width:50%;">

                </div>
            </div>
            <div style=" max-width:450px; margin:0 auto;">
                <div style=" width:100%;margin:0 auto;margin-top:46px;color:#fff;position:relative; display:none;">
                    <div style="height:auto; margin:0 auto; text-align:left; line-height:18px;padding-top:10px; padding-bottom:10px; overflow:hidden;"
                        id="typelist">
                        <span class="typeitemover" value="-1" id="_wi_t1"></span>
                        <span class="typeitem" value="0" id="_wi_t2"> </span>
                        <span class="typeitem" value="1" id="_wi_t3"> </span>
                        <span class="typeitem" value="2" id="_wi_t4"> </span>
                        <span class="typeitem" value="3" id="_wi_t5"> </span>
                        <span class="typeitem" value="4" id="_wi_t6"> </span>
                    </div>
                </div>
                <div style="width: 100%; margin: 0 auto; position: relative; margin-top: 55px; " id="itemlist">
                    <?php $__currentLoopData = $withdraws; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div
                            style="height:auto;overflow:hidden;color:#333;background:#fff;margin:0 auto; width100%; margin-top:5px;">
                            <div style="padding:10px; border-bottom: 1px solid #eee;height: auto; overflow: hidden;">
                                <div style="float:left;width:55%; margin-left:5%">
                                    <div style="height:27px; line-height:27px;"><span
                                            style="padding:3px; padding-left: 0px;padding-right:10px;border-radius: 10px; color: #fff">
                                            <font style="color:green;"><?php echo e($data->trx); ?></font>
                                        </span></div>
                                    <div style="height:27px; line-height:27px;font-size:12px; color:#999;">
                                        <?php echo e($data->created_at->format('d/M/Y h:i a')); ?></div>
                                </div>
                                <div style="float:left;width:35%; text-align:right; margin-right:5%">
                                    <div style="height:27px; line-height:27px; font-size:12px; font-weight: 200;color: #000;">
                                        ₦<?php echo e(number_format($data->amount)); ?>

                                    </div>
                                    <?php if($data->status == 2): ?>
                                        <div style="height:27px; line-height:27px;font-size:12px;color:#999;">processing</div>
                                    <?php elseif($data->status == 1): ?>
                                        <div style="height:27px; line-height:27px;font-size:12px;color:darkgreen;">success</div>
                                    <?php elseif($data->status == 3): ?>
                                        <div style="height:27px; line-height:27px;font-size:12px;color:red;">cancel</div>
                                    <?php endif; ?>

                                </div>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </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/arrowquip/core/resources/views/templates/basic/user/withdraw/log.blade.php ENDPATH**/ ?>