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

                        <div class="content-area no-padding">
                            <div class="add-product-content">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="product-description">
                                            <div class="body-area" id="modalEdit">

                                            <div class="table-responsive show-table">
                                                <table class="table">
                                                    <tr>
                                                        <th><?php echo e(__("User ID#")); ?></th>
                                                        <td><?php echo e($invest->user->id); ?></td>
                                                    </tr>
                                                    <tr>
                                                        <th><?php echo e(__("User Name")); ?></th>
                                                        <td>
                                                            <a href="<?php echo e(route('admin-user-show',$invest->user->id)); ?>" target="_blank"><?php echo e($invest->user->name); ?></a>
                                                        </td>
                                                    </tr>

                                                    <?php if($invest->amount != NULL): ?>
                                                        <tr>
                                                            <th><?php echo e(__("Invest Amount")); ?></th>
                                                            <td>$<?php echo e(round($invest->amount, 2)); ?></td>
                                                        </tr>
                                                    <?php endif; ?>

                                                    <?php if($invest->method == 'Manual'): ?>
                                                        <tr>
                                                            <th><?php echo e(__("Transaction ID/Number")); ?></th>
                                                            <td><?php echo e($invest->txnid); ?></td>
                                                        </tr>  
                                                    <?php endif; ?>

                                                    <?php if($invest->coin_amount != NULL): ?>
                                                        <tr>
                                                            <th><?php echo e(__("Coin Amount")); ?></th>
                                                            <td><?php echo e(round($invest->coin_amount, 2)); ?></td>
                                                        </tr>
                                                    <?php endif; ?>

                                                    <tr>
                                                        <th><?php echo e(__("Invest Status")); ?></th>
                                                        <?php if($invest->status == 0): ?>
                                                            <td>
                                                                <td><?php echo e(__('Pending')); ?></td>
                                                            </td>
                                                        <?php elseif($invest->status == 1): ?>
                                                            <td>
                                                                <td><?php echo e(__('Running')); ?></td>
                                                            </td>
                                                        <?php else: ?> 
                                                            <td>
                                                                <td><?php echo e(__('Completed')); ?></td>
                                                            </td>
                                                        <?php endif; ?>
                                                    </tr>

                                                    <tr>
                                                        <th><?php echo e(__("Lifetime Return")); ?></th>
                                                        <?php if($invest->lifetime_return == 1): ?>
                                                            <td>
                                                                <td><?php echo e(__('YES')); ?></td>
                                                            </td>
                                                        <?php else: ?> 
                                                            <td>
                                                                <td><?php echo e(__('NO')); ?></td>
                                                            </td>
                                                        <?php endif; ?>
                                                    </tr>

                                                    <tr>
                                                        <th><?php echo e(__("Capital Back")); ?></th>
                                                        <?php if($invest->capital_back == 1): ?>
                                                            <td>
                                                                <td><?php echo e(__('YES')); ?></td>
                                                            </td>
                                                        <?php else: ?> 
                                                            <td>
                                                                <td><?php echo e(__('NO')); ?></td>
                                                            </td>
                                                        <?php endif; ?>
                                                    </tr>

                                                    <tr>
                                                        <th><?php echo e(__("Payment Status")); ?></th>
                                                        <?php if($invest->payment_status == 'pending'): ?>
                                                            <td>
                                                                <td><?php echo e(__('PENDING')); ?></td>
                                                            </td>
                                                        <?php else: ?> 
                                                            <td>
                                                                <td><?php echo e(__('COMPLETED')); ?></td>
                                                            </td>
                                                        <?php endif; ?>
                                                    </tr>

                                                    <tr>
                                                        <th><?php echo e(__("User Email")); ?></th>
                                                        <td><?php echo e($invest->user->email); ?></td>
                                                    </tr>

                                                    <tr>
                                                        <th><?php echo e(__("User Phone")); ?></th>
                                                        <td><?php echo e($invest->user->phone); ?></td>
                                                    </tr>

                                                    <tr>
                                                        <th><?php echo e(__("Invest Method")); ?></th>
                                                        <td><?php echo e($invest->method); ?></td>
                                                    </tr>
                                                </table>
                                            </div>


                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.load', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/fluxyjvi/public_html/project/resources/views/admin/invest/details.blade.php ENDPATH**/ ?>