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



    .typeitem {
        float: left;
        width: 50%;
        height: auto;
        overflow: hidden;
    }

    .over {
        border-bottom: 1px solid #000;
    }
</style>

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

        <div style="width: 100%; margin: 0 auto; background: red; border-bottom: 0px solid #117546; " class="top">
            <div onclick="window.history.go(-1); return false;" 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" style="color: #fff;">
                Account records
            </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:56px;color:#fff;position:relative;">
                <div
                    style=" width: 100%; margin: 0 auto; margin-top: 55px; text-align: center; background: #fff; color: #000; position: relative; height: auto; overflow: hidden;">
                    <div class="typeitem over" value="1">
                        <div style="padding: 10px; height: 30px; line-height:30px; overflow: hidden;">Income record</div>
                    </div>
                    <a href="<?php echo e(route('user.withdraw.history')); ?>">
                        <div class="typeitem" value="2">
                            <div style="padding: 10px; height: 30px; line-height: 30px; overflow: hidden; ">Withdrawal records
                            </div>
                        </div>
                    </a>
                </div>
            </div>
            <div style=" width:100%;margin:0 auto; position:relative;" id="itemlist">
                <?php $__currentLoopData = $logs; $__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:black;"><?php echo e($data->details); ?></font>
                                </span></div>
                            
                        </div>
                        <div style="float:left;width:35%; text-align:right; margin-right:5%">
                            <div style="height:27px; line-height:27px; font-size:14px; font-weight: 200;color: #000;"><?php echo e($data->trx_type); ?>₦<?php echo e(number_format($data->amount)); ?>

                               </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>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <div class="layui-flow-more">No more data</div>
            </div>
        </div>
    </body>
<?php $__env->stopSection(); ?>

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