<div class="row justify-content-center p-3 mt-0 mb-2 mx-0 bg-traparent" align="center">
    <div class="col-12 mx-0 px-0">
        <ul class="nav nav-tabs nav-underline justify-content-center border-bottom mb-2" id="myTab"
            role="tablist">
            <li class="nav-item" role="presentation" style="padding-right: 100px">
                <a class="nav-link noload tuh active font-bold fs-5 darkandwhite border-top-0 border-start-0 border-end-0"
                    id="crypto-tab" 
                    data-bs-toggle="tab" 
                    data-bs-target="#crypto-tab-pane" 
                    role="tab"
                    aria-controls="crypto-tab-pane" 
                    aria-selected="false" 
                    aria-current="page"
                    href="#">
                    Transactions
                </a>
            </li>

            <li class="nav-item" role="presentation">
                <a class="nav-link noload tuh fs-5 darkandwhite border-top-0 border-start-0 border-end-0"
                    id="earnings-tab" 
                    data-bs-toggle="tab" 
                    data-bs-target="#earnings-tab-pane" 
                    role="tab"
                    aria-controls="earnings-tab-pane" 
                    aria-selected="false" 
                    aria-current="page"
                    href="#">
                    Earnings
                </a>
            </li>
        </ul>
    </div>

    <div class="w-100"></div>

    <div class="col-12 mx-0 px-0">
        <div class="tab-content px-0" id="myTabContent" align="left">
            <div class="tab-pane fade show active" id="crypto-tab-pane" role="tabpanel" aria-labelledby="crypto-tab" tabindex="0">
                <?php $__empty_1 = true; $__currentLoopData = $coin->user->transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>

                    <?php if (isset($component)) { $__componentOriginal91ef97a7bcd0dd45b93060aae87862ae = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal91ef97a7bcd0dd45b93060aae87862ae = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.transaction-card','data' => ['transaction' => $transaction]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('widgets.transaction-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['transaction' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($transaction)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal91ef97a7bcd0dd45b93060aae87862ae)): ?>
<?php $attributes = $__attributesOriginal91ef97a7bcd0dd45b93060aae87862ae; ?>
<?php unset($__attributesOriginal91ef97a7bcd0dd45b93060aae87862ae); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91ef97a7bcd0dd45b93060aae87862ae)): ?>
<?php $component = $__componentOriginal91ef97a7bcd0dd45b93060aae87862ae; ?>
<?php unset($__componentOriginal91ef97a7bcd0dd45b93060aae87862ae); ?>
<?php endif; ?>

                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                    <div class="col-12 mt-4 px-0 mb-4 mx-0 pt-2 darkandgray tfs" align="center">
                        <i class="bi bi-exclamation-circle" style="font-size: 50px"></i>
                        <br /><br />
                        Transactions will appear here.<br />

                        <a class="mt-3 fw-bold btn btn-warning tuh"
                            href="<?php echo e(route('coin.buy', $coin->uuid)); ?>">
                            Buy <?php echo e($coin->symbol); ?>

                        </a>

                    </div>
                <?php endif; ?>
            </div>
            <div class="tab-pane fade" id="earnings-tab-pane" role="tabpanel" aria-labelledby="earnings-tab" tabindex="0">

                <div class="col-12 mt-4 px-0 mb-4 mx-0 pt-2 darkandgray tfs" align="center">
                    <?php if(!$coin->plan): ?>
                    <i class="bi bi-exclamation-circle" style="font-size: 50px"></i>
                    <br /><br />
                    Investment earnings is not availble for <b><?php echo e($coin->symbol); ?></b>.<br>
                    <?php else: ?>
                        <?php $__empty_1 = true; $__currentLoopData = $coin->user->investments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $investment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <?php $__currentLoopData = $investment->earnings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $earning): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if (isset($component)) { $__componentOriginalb17f0e3b33d464d91dc1b0313c05dbd8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb17f0e3b33d464d91dc1b0313c05dbd8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.earning-card','data' => ['earning' => $earning]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('widgets.earning-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['earning' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($earning)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb17f0e3b33d464d91dc1b0313c05dbd8)): ?>
<?php $attributes = $__attributesOriginalb17f0e3b33d464d91dc1b0313c05dbd8; ?>
<?php unset($__attributesOriginalb17f0e3b33d464d91dc1b0313c05dbd8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb17f0e3b33d464d91dc1b0313c05dbd8)): ?>
<?php $component = $__componentOriginalb17f0e3b33d464d91dc1b0313c05dbd8; ?>
<?php unset($__componentOriginalb17f0e3b33d464d91dc1b0313c05dbd8); ?>
<?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <?php echo e($coin->full_name); ?> investment earnings will appear here. <br>
                        <?php endif; ?>
                    <?php endif; ?>

                    <a wire:navigate class="mt-3 fw-bold btn btn-warning tuh" href="<?php echo e(route('account.earn')); ?>">
                        Invest in USDT and earn 10% ROI daily
                    </a>
                </div>

            </div>
        </div>
    </div>
</div><?php /**PATH /home/qfstrump/digixchains.com/resources/views/partials/coin/transactions.blade.php ENDPATH**/ ?>