
<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('content'); ?>
    <!-- Page title -->
    <div class="udex-main" id="main">
    <div>
        <div class="row justify-content-between align-items-center">
            <div class="mb-3 col-md-6 mb-md-0">
            <h3 class="h4 m-0">
        Account Current Signal : <?php echo e(Auth::user()->signals); ?>

            </h3>
    <p class="m-0">All Signals.</p>
    <br>
            </div>
        </div>
    </div>
    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.danger-alert','data' => []]); ?>
<?php $component->withName('danger-alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.success-alert','data' => []]); ?>
<?php $component->withName('success-alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
     <?php if (isset($component)) { $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Alert::class, []); ?>
<?php $component->withName('alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975)): ?>
<?php $component = $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975; ?>
<?php unset($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975); ?>
<?php endif; ?>
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="card-body">
                    <h5 class="card-title">Signals</h5>
                    <div class="table-responsive">
                        <table class="table table-hover">
                            <thead class="bg-primary text-white">
                                
                              
                                <th>
                                    Asset
                                </th>
                                <th>
                                   Order type
                                </th>
                                <th>
                                   Trade Amount
                                </th>
                                <th>
                                   Leverage
                                </th>
                              
                                <th>
                                    Status
                                </th>
                                <th>
                                    Date Added
                                </th>
                                <th>
                                   Signal Plan
                                </th>
                               
                            </thead>
                            <tbody>
                                <?php $__empty_1 = true; $__currentLoopData = $signals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $signal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                    <tr>
                                        <td><?php echo e($signal->asset); ?></td>
                                        <td>
                                            <?php if($signal->order_type == 'Buy'): ?>
                                               <i class="fa fa-arrow-up text-success"></i> <span class='badge badge-success'><?php echo e($signal->order_type); ?></span>
                                            <?php else: ?>
                                                <i class="fa fa-arrow-down text-danger"></i><span class='badge badge-danger'> <?php echo e($signal->order_type); ?></span>
                                            <?php endif; ?>
                                           
                                        </td>
                                        <td><?php echo e(Auth::user()->currency); ?><?php echo e($signal->amount); ?></td>

                                        <td>1:<?php echo e($signal->leverage); ?></td>
                                     
                                        <td>
                                            <?php if($signal->status == 'ongoing'): ?>
                                               <span class='badge badge-warning'><?php echo e($signal->status); ?></span>
                                            <?php else: ?>
                                              </i><span class='badge badge-danger'> <?php echo e($signal->status); ?></span>
                                            <?php endif; ?>
                                           
                                        </td>
                                        <td><?php echo e(\Carbon\Carbon::parse($signal->created_at)->addHour()->toDayDateTimeString()); ?>

                                        </td>

                                        <td>
                                            <?php echo e(auth::user()->signals); ?>

                                        </td>
                                       
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                    <tr>
                                        <td colspan="10" class="text-center">
                                            No Data Available
                                        </td>
                                    </tr>
                                <?php endif; ?>

                            </tbody>
                        </table>
                    </div>
                   
                </div>
            </div>
        </div>
    </div>
</div>
</div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.dasht', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u215313542/domains/remedycodes.info/public_html/traded/resources/views/user/msignals.blade.php ENDPATH**/ ?>