<?php if (isset($component)) { $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\AppLayout::class, []); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
    <div class="">
        <div class="s-area">
            <p class="title-b">Staking</p>
            <div class="clearfix"></div>
            <ul class="nav nav-tabs sub-area" id="stakings" role="tablist">
                <li class="nav-item">
                    <a class="nav-link" href="<?php echo e(route('staking.index')); ?>">Staking</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link active" href="<?php echo e(route('staking.history')); ?>" aria-selected="true"><i
                            class="fas fa-history" style="margin-right: 5px;"></i> History</a>
                </li>
            </ul>
        </div>
        <div class="banner d-block d-md-none text-center m-auto" style="margin-top: 30px;">
            <div class="d-inline-block text-center m-auto"></div>
        </div>
        <div class="banner d-none d-md-block d-lg-none text-center m-auto" style="margin-top: 30px;">
            <div class="d-inline-block text-center m-auto">
                <!--banner-->
            </div>
        </div>
        <div class="banner d-none d-lg-block text-center" style="margin-top: 30px;">
            <div class="d-inline-block text-center m-auto">
                <!--banner-->
            </div>
        </div>
        <div class="tab-content withdraw-content" id="referralsContent">
            <div class="tab-pane fade show active" id="staking" role="tabpanel" aria-labelledby="staking-tab">
                <div class="f-area">
                    <p class="title">History</p>
                    <div class="table-responsive">
                        <table class="table table-hover">
                            <thead>
                                <tr>
                                    <th scope="col">ID</th>
                                    <th scope="col">Staking Plan</th>
                                    <th scope="col">Amount</th>
                                    <th scope="col">Earnings</th>
                                    <th scope="col">Days left</th>
                                    <th scope="col">Date</th>
                                    <th scope="col">Status</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <th scope="row">#<?php echo e(++$i); ?></th>
                                        <td><?php echo e($value->plan->name); ?></td>
                                        <td><?php echo e(number_format($value->amount, 8, '.', '')); ?> <span class="text-uppercase"><?php echo e($value->plan->currency->short_name); ?></span></td>
                                        <td><?php echo e(number_format($value->earnings, 8, '.', '')); ?> <span class="text-uppercase"><?php echo e($value->plan->currency->short_name); ?></span></td>
                                        <td><?php echo e($value->days); ?></td>
                                        <td><?php echo e($value->created_at); ?></td>
                                        <td>
                                            <?php if($value->status == 1): ?>
                                            <span class="badge-success badge-dot"></span>
                                            <span class="text-capitalize">Running</span>
                                            <?php elseif($value->status == 0): ?>
                                            <span class="badge-danger badge-dot"></span>
                                            <span class="text-capitalize">Ended</span>
                                            <?php endif; ?>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                        <?php echo $data->links(); ?>

                    </div>
                </div>
            </div>
        </div>
        <div class="banner d-block d-md-none text-center m-auto" style="margin-top: 30px;">
            <div class="d-inline-block text-center m-auto">
                <!--banner-->
            </div>
        </div>
        <div class="banner d-none d-md-block d-lg-none text-center m-auto" style="margin-top: 30px;">
            <div class="d-inline-block text-center m-auto"></div>
        </div>
        <div class="banner d-none d-lg-block text-center" style="margin-top: 30px;">
            <div class="d-inline-block text-center m-auto"></div>
        </div>
        <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.footer','data' => []]); ?>
<?php $component->withName('footer'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
    </div>
 <?php if (isset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da)): ?>
<?php $component = $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da; ?>
<?php unset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?><?php /**PATH /home/jorgeserranodev/Escritorio/Projects/timebitco.in/autoclaim/resources/views/staking/history.blade.php ENDPATH**/ ?>