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

    <!-- ========User-Panel-Section Starte Here ========-->
    <div class="row">
        <div class="col-12">
            <h2 class="content-header"><?php echo e(__($page_title)); ?></h2>
        </div>
    </div>

    <section id="simple-table">
        <div class="row">
            <div class="col-sm-12">
                <div class="card">
                    <div class="card-body">
                        <div class="card-block table-responsive table-responsive-xl table-responsive-lg table-responsive-md table-responsive-sm">
                            <table class="table table-striped">
                                <thead class="thead-dark">
                                <tr>
                                    <th scope="col"><?php echo app('translator')->get('Transaction ID'); ?></th>
                                    <th scope="col"><?php echo app('translator')->get('Amount'); ?></th>

                                    <th scope="col"><?php echo app('translator')->get('Details'); ?></th>
                                    <th scope="col"><?php echo app('translator')->get('Date'); ?></th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php if(count($logs) >0): ?>
                                    <?php $__currentLoopData = $logs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php $type = $data->withdraw ? $data->withdraw->method->type : 'money' ?>
                                        <tr>
                                            <td data-label="#<?php echo app('translator')->get('Trx'); ?>">
                                                <?php echo e($data->trx); ?> <br>
                                            </td>
                                            <td data-label="<?php echo app('translator')->get('Amount'); ?>">
                                                <strong <?php if($data->type == '+'): ?> class="text-success" <?php else: ?> class="text-danger" <?php endif; ?>> <?php echo e(($data->type == '+') ? '+':'-'); ?>

                                                    <?php echo e(formatter_money($data->amount)); ?>


                                                </strong>
                                            </td>






                                            <td data-label="<?php echo app('translator')->get('Details'); ?>"><?php echo e($data->title); ?></td>
                                            <td data-label="<?php echo app('translator')->get('Date'); ?>"><?php echo e(date('d M, Y', strtotime($data->created_at))); ?></td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php else: ?>
                                    <tr>
                                        <td colspan="5"> <?php echo app('translator')->get('No results found'); ?>!</td>
                                    </tr>
                                <?php endif; ?>
                                </tbody>
                            </table>

                            <?php echo e($logs->links()); ?>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- ========User-Panel-Section Ends Here ========-->
<?php $__env->stopSection(); ?>

<?php echo $__env->make(activeTemplate() .'layouts.user', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ectinternational/goldenage.club/resources/views/templates/minimal/user/transactions.blade.php ENDPATH**/ ?>