<?php $__env->startSection('master'); ?>
    <div class="main-content">
        <div class="col-lg-12">

            <div class="tab-content" id="pills-tab2Content">
                <div class="tab-pane fade show active" id="tour" role="tabpanel" aria-labelledby="tour-tab">
                    <div class="recent-listing-area">
                        <div class="title-and-tab">
                            <div class="table-title-area">
                                <button type="button" class="btn btn-primary border-0" data-bs-toggle="modal"
                                    data-bs-target="#paymentModal"><i class="bi bi-wallet2"></i>
                                    <?php echo e(translate('Add Fund')); ?></button>
                            </div>
                            <form action="" method="get">
                                <select id="order-category" class="paginate_filter" name="search">
                                    <option value="5"><?php echo e(translate('Show: Last 05 Order')); ?></option>
                                    <option value="10"><?php echo e(translate('Show: Last 10 Order')); ?></option>
                                    <option value="15"><?php echo e(translate('Show: Last 15 Order')); ?></option>
                                    <option value="20"><?php echo e(translate('Show: Last 20 Order')); ?></option>
                                </select>
                            </form>
                        </div>
                        <div class="tab-content" id="myTabContent">
                            <div class="tab-pane fade show active" id="all" role="tabpanel" aria-labelledby="all-tab">
                                <div class="recent-listing-table">
                                    <table class="eg-table2">
                                        <thead>
                                            <tr>
                                                <th><?php echo e(translate('Date')); ?></th>
                                                <th><?php echo e(translate('Method')); ?></th>
                                                <th><?php echo e(translate('Transaction ID')); ?></th>
                                                <th><?php echo e(translate('Currency')); ?></th>
                                                <th><?php echo e(translate('Amount')); ?></th>
                                                <th><?php echo e(translate('Status')); ?></th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php if($deposits->count() > 0): ?>
                                                <?php $__currentLoopData = $deposits; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $deposit): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <tr>
                                                        <td data-label="Date"><?php echo e(dateFormat($deposit->created_at)); ?></td>
                                                        <td data-label="Method"><?php echo e(Ucfirst($deposit->payment_method)); ?>

                                                        </td>
                                                        <td data-label="Transaction ID"><?php echo e($deposit->transaction_id); ?></td>
                                                        <td class="text-uppercase" data-label="Currency">
                                                            <?php echo e($deposit->currency); ?></td>
                                                        <td data-label="Amount"><?php echo e(currency_symbol() . $deposit->total_amount); ?>

                                                        </td>
                                                        <td data-label="Status">
                                                            <?php if($deposit->status == 1): ?>
                                                                <span
                                                                    class="text-warning"><?php echo e(translate('Processing')); ?></span>
                                                            <?php elseif($deposit->status == 2): ?>
                                                                <span
                                                                class="text-green"><?php echo e(translate('Completed')); ?></span><?php else: ?><span
                                                                    class="text-red"><?php echo e(translate('Cancel')); ?></span>
                                                            <?php endif; ?>
                                                        </td>
                                                    </tr>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php else: ?>
                                                <tr>
                                                    <td colspan="6">
                                                        <h5 class="data-not-found" style="text-align: center"><?php echo e(translate('No Data Found')); ?></h5>
                                                    </td>
                                                </tr>
                                            <?php endif; ?>
                                        </tbody>
                                    </table>
                                    <div class="pagination-area">
                                        <?php echo $deposits->links('vendor.pagination.custom'); ?>

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

            </div>
        </div>
    </div>
    <div class="balance-content order-details">
        <?php echo $__env->make('frontend.template-' . selectedTheme() . '.partials.payment_modal', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.template-' . selectedTheme() . '.customer.partials.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\triprex-app\resources\views/frontend/template-1/customer/deposit.blade.php ENDPATH**/ ?>