<div class="tab-pane fade show active" id="v-pills-tab1" role="tabpanel" aria-labelledby="v-pills-tab1-tab">
    <div class="tab-wrapper info">
        <nav class="custom-nav">
            <div class="nav nav-tabs" id="nav-tab" role="tablist">
                <a class="nav-link active" id="nav-profile-tab" data-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="true"><?php echo e(__('members.my_profile')); ?></a>
                <a class="nav-link" id="nav-wallet-tab" data-toggle="tab" href="#nav-wallet" role="tab" aria-controls="nav-wallet" aria-selected="false"><?php echo e(__('members.wallet')); ?></a>
            </div>
        </nav>
        <div class="tab-content" id="nav-tabContent">
            <div class="tab-pane fade show active" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">
                <div class="col-lg-9 m-auto">
                    <img src="<?php echo e(asset($user->photo ?? 'assets/web/images/avatar2.png')); ?>" class="profile-pic" alt="">
                    <div class="item mt-5">
                        <h6 class="h6"><?php echo e(__('members.name')); ?></h6>
                        <p class="data"><?php echo e($user->name); ?></p>
                    </div>
                    <div class="item">
                        <h6 class="h6"><?php echo e(__('members.email')); ?></h6>
                        <p class="data"><?php echo e($user->email); ?></p>
                    </div>
                    <div class="item">
                        <h6 class="h6"> <?php echo e(__('members.commercial_file')); ?> </h6>
                        <a href="<?php echo e(asset($user->commercial_file)); ?>" data-fancybox="images">
                            <p class="data"><img src="<?php echo e(asset($user->commercial_file)); ?>" class="commercial-img" alt=""><p>
                        </a>
                    </div>
                    <div class="item">
                        <h6 class="h6"> <?php echo e(__('members.password')); ?> </h6>
                        <p class="data">*** *** ***</p>
                    </div>
                    <h4 class="title_banking mb-4 mt-5"><?php echo e(__('members.bank_account_info')); ?></h4>
                    <div class="item">
                        <h6 class="h6"><?php echo e(__('members.bank_name')); ?> </h6>
                        <p class="data"><?php echo e($user->bank_acc_info['bank_name'] ?? null); ?></p>
                    </div>
                    <div class="item">
                        <h6 class="h6"><?php echo e(__('members.iban')); ?> </h6>
                        <p class="data"><?php echo e($user->bank_acc_info['iban'] ?? null); ?></p>
                    </div>
                    <div class="item">
                        <h6 class="h6"><?php echo e(__('members.client_name')); ?> </h6>
                        <p class="data"><?php echo e($user->bank_acc_info['client_name'] ?? null); ?> </p>
                    </div>
                    <button type="button" class="main-butn" data-toggle="modal" data-target="#infoModal"><i class="fas fa-pen"></i><?php echo e(__('members.edit_profile')); ?></button>
                </div>
            </div>
            <div class="tab-pane fade" id="nav-wallet" role="tabpanel" aria-labelledby="nav-wallet-tab">
                <div class="row">
                    <div class="col-md-7 m-auto">
                        <div class="wallet-box">
                            <img src="<?php echo e(asset('assets/web/images/icons/profile/wallet.svg')); ?>" alt="" class="icon">
                            <div class="text">
                                <p class="p"><?php echo e(__('members.current_balance')); ?></p>
                                <h1 class="price dir-l"><b><?php echo e($walletTotal); ?></b> <small><?php echo e(__('main.sar')); ?></small></h1>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="filtering mb-5 pt-2 mt-4">
                    <h5><?php echo e(__('members.search_filter')); ?></h5>
                    <form>
                        <div class="row mt-3">
                            <div class="col-lg-4 col-md-6">
                                <div class="form-group">
                                    <label><?php echo e(__('members.from')); ?></label>
                                    <input name="re_date_from" class="datepicker form-control" data-date-format="yyyy-mm-dd" placeholder="13/07/2022">
                                </div>
                            </div>
                            <div class="col-lg-4 col-md-6">
                                <div class="form-group">
                                    <label><?php echo e(__('members.to')); ?>  </label>
                                    <input name="re_date_to" class="datepicker form-control" data-date-format="yyyy-mm-dd" placeholder="13/07/2022">
                                </div>
                            </div>
                            <div class="col-lg-4 col-md-6">
                                <div class="form-group">
                                    <label><?php echo e(__('members.re_status')); ?></label>
                                    <select name="is_paid" class="form-control">
                                        <option value=""><?php echo e(__('members.all_status')); ?></option>
                                        <option value="paid"><?php echo e(__('members.paid')); ?></option>
                                        <option value="not_paid"><?php echo e(__('members.no_paid')); ?> </option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </form>

                </div>
                <div class="allHalls">
                    <div class="responsive-table">
                        <table class="wallet_table">
                            <tr>
                                <th><?php echo e(__('halls.images')); ?></th>
                                <th><?php echo e(__('halls.name')); ?></th>
                                <th><?php echo e(__('halls.client_name')); ?></th>
                                <th><?php echo e(__('halls.client_phone')); ?></th>
                                <th><?php echo e(__('halls.reservation_date')); ?></th>
                                <th><?php echo e(__('reservations.person_count')); ?></th>
                                <th><?php echo e(__('reservations.service')); ?></th>
                                <th><?php echo e(__('reservations.added_services')); ?></th>
                                <th><?php echo e(__('reservations.services_amount')); ?></th>
                                <th><?php echo e(__('reservations.added_services_amount')); ?></th>
                                <th><?php echo e(__('reservations.added_value_amount')); ?></th>
                                <th><?php echo e(__('reservations.total')); ?></th>
                                <th><?php echo e(__('reservations.site_percentage')); ?></th>
                                <th><?php echo e(__('reservations.net_total')); ?></th>
                            </tr>

                            <?php if(count($wallets)): ?>
                                <?php $__currentLoopData = $wallets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $wallet): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><a href="<?php echo e(route('reservation.reservationDetails', $wallet->id)); ?>"><img src="<?php echo e(asset(json_decode($wallet->images, true)[0])); ?>" alt="" class="hall-img"></a></td>
                                        <td><?php echo e($wallet->hall_name); ?></td>
                                        <td><?php echo e($wallet->client_name); ?></td>
                                        <td>+<?php echo e($wallet->client_phone); ?></td>
                                        <td><?php echo e(date('d/m/Y', strtotime($wallet->created_at))); ?></td>
                                        <td><?php echo e($wallet->person_count); ?></td>
                                        <td>
                                            <ul>
                                                <?php if(count(getServices($wallet->services))): ?>
                                                    <?php
                                                        /** @var $wallet $wallet */
                                                        $services = getServices($wallet->services);
                                                        unset($services['total'])

                                                    ?>
                                                    <?php $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <li><?php echo e($service['name']); ?></li>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                <?php endif; ?>
                                            </ul>
                                        </td>
                                        <td>
                                            <ul>
                                                <?php if(count(getAddedServices($wallet->hall_id, $wallet->added_services))): ?>
                                                    <?php
                                                        /** @var $wallet $wallet */
                                                        $addedServices = getAddedServices($wallet->hall_id, $wallet->added_services);
                                                        unset($addedServices['total'])
                                                    ?>
                                                    <?php $__currentLoopData = $addedServices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $serviceKey => $addedService): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <li><?php echo e($addedService['name']); ?></li>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                <?php endif; ?>
                                            </ul>
                                        </td>
                                        <td><b><?php echo e(getServices($wallet->services)['total']); ?></b> <small><?php echo e(__('main.sar')); ?></small></td>
                                        <td><b><?php echo e(getAddedServices($wallet->hall_id, $wallet->added_services)['total']); ?></b> <small><?php echo e(__('main.sar')); ?></small></td>
                                        <td><b><?php echo e($wallet->added_value_amount); ?></b> <small><?php echo e(__('main.sar')); ?></small></td>
                                        <td><b><?php echo e($wallet->total); ?></b> <small><?php echo e(__('main.sar')); ?></small></td>
                                        <td><b><?php echo e(((($wallet->total-$wallet->added_value_amount)*$sitePercentage)/100)); ?></b> <small><?php echo e(__('main.sar')); ?></small></td> 
                                        <td><b><?php echo e(($wallet->total-$wallet->added_value_amount)-((($wallet->total-$wallet->added_value_amount)*$sitePercentage)/100)); ?></b> <small><?php echo e(__('main.sar')); ?></small></td> 

                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php else: ?>
                                <tr><td colspan="20" class="text-center text-danger"><?php echo e(__('members.no_data')); ?></td></tr>
                            <?php endif; ?>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH C:\wamp64\www\meet\resources\views/web/members/providers/include/profile.blade.php ENDPATH**/ ?>