<div class="col-xxl-6">
    <!--begin::Row-->

    <!--end::Row-->
    <!--begin::Table widget 1-->
    <div class="card card-flush mb-xxl-10">
        <!--begin::Header-->
        <div class="card-header pt-5">
            <!--begin::Title-->
            <h3 class="card-title align-items-start flex-column">
                <span class="card-label fw-bold text-dark">Monthly Report</span>
                <span class="text-gray-400 pt-2 fw-semibold fs-6"><?php echo e(\Carbon\Carbon::now()->format('F-Y')); ?></span>
            </h3>
            <!--end::Title-->
        </div>
        <!--end::Header-->
        <!--begin::Body-->
        <div class="card-body">
            <!--begin::Nav-->
            <ul class="nav nav-pills nav-pills-custom mb-3" role="tablist">
                <?php $__currentLoopData = $governorates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $gov): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <!--begin::Item-->
                <li class="nav-item mb-3 me-3 me-lg-6" role="presentation">
                    <!--begin::Link-->
                    <a class="nav-link d-flex justify-content-between flex-column flex-center overflow-hidden <?php if($k == 0): ?> active <?php endif; ?> w-80px h-85px py-4" data-bs-toggle="pill" href="#kt_stats_widget_1_tab_<?php echo e($k+1); ?>" <?php if($k == 0): ?> aria-selected="true" <?php else: ?> aria-selected="false" <?php endif; ?> role="tab">
                        <!--begin::Icon-->



                        <!--end::Icon-->
                        <!--begin::Subtitle-->
                        <span class="nav-text text-gray-700 fw-bold fs-6 lh-1"><?php echo e($gov->defaultLang->name); ?></span>
                        <!--end::Subtitle-->
                        <!--begin::Bullet-->
                        <span class="bullet-custom position-absolute bottom-0 w-100 h-4px bg-<?php echo e($colors[$k+1]['class']); ?>"></span>
                        <!--end::Bullet-->
                    </a>
                    <!--end::Link-->
                </li>
                <!--end::Item-->
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
            <!--end::Nav-->
            <!--begin::Tab Content-->
            <div class="tab-content">
                <?php $__currentLoopData = $governorates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $gov): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <!--begin::Tap pane-->
                <div class="tab-pane fade <?php if($k == 0): ?> show active <?php endif; ?>" id="kt_stats_widget_1_tab_<?php echo e($k+1); ?>" role="tabpanel">
                    <!--begin::Table container-->
                    <div class="table-responsive">
                        <!--begin::Table-->
                        <table class="table align-middle gs-0 gy-4 my-0">
                            <!--begin::Table head-->
                            <thead>
                                <tr class="fs-7 fw-bold text-gray-500">
                                    <th class="p-0 min-w-150px d-block pt-3">Employee</th>
                                    <th class="text-end min-w-140px pt-3">STATUS</th>

                                </tr>
                            </thead>
                            <!--end::Table head-->
                            <!--begin::Table body-->
                            <tbody>
                            <tr>
                                <td>
                                    <a href="#" class="text-gray-800 fw-bold text-hover-primary mb-1 fs-6">
                                        <?php if(key_exists($gov->id, $data) && key_exists('most_attendance', $data[$gov->id]) && $data[$gov->id]['most_attendance'] != null): ?>
                                            <?php echo e(\App\Models\User::getDecryptedData(\App\Models\User::find($data[$gov->id]['most_attendance'])->full_name)); ?>

                                        <?php else: ?>
                                            <?php echo app('translator')->get("No Data"); ?>
                                        <?php endif; ?>
                                    </a>
                                </td>
                                <td class="text-end">
                                    <span class="badge badge-light-primary fs-7 fw-bold"><?php echo app('translator')->get("Most Attended"); ?></span>
                                </td>
                                <td class="text-end">
                                    <span class="text-gray-800 fw-bold d-block fs-6"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="#" class="text-gray-800 fw-bold text-hover-primary mb-1 fs-6">
                                        <?php if(key_exists($gov->id, $data) && key_exists('less_attendance', $data[$gov->id]) && $data[$gov->id]['less_attendance'] != null): ?>
                                            <?php echo e(\App\Models\User::getDecryptedData(\App\Models\User::find($data[$gov->id]['less_attendance'])->full_name)); ?>

                                        <?php else: ?>
                                            <?php echo app('translator')->get("No Data"); ?>
                                        <?php endif; ?>
                                    </a>
                                </td>
                                <td class="text-end">
                                    <span class="badge badge-light-primary fs-7 fw-bold">Less Attended</span>
                                </td>
                                <td class="text-end">
                                    <span class="text-gray-800 fw-bold d-block fs-6"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="#" class="text-gray-800 fw-bold text-hover-primary mb-1 fs-6">
                                        <?php if(key_exists($gov->id, $data) && key_exists('most_online', $data[$gov->id]) && $data[$gov->id]['most_online'] != null): ?>
                                            <?php echo e(\App\Models\User::getDecryptedData(\App\Models\User::find($data[$gov->id]['most_online'])->full_name)); ?>

                                        <?php else: ?>
                                            <?php echo app('translator')->get("No Data"); ?>
                                        <?php endif; ?>
                                    </a>
                                </td>
                                <td class="text-end">
                                    <span class="badge badge-light-success fs-7 fw-bold"><?php echo app('translator')->get("Most Online"); ?></span>
                                </td>
                                <td class="text-end">
                                    <span class="text-gray-800 fw-bold d-block fs-6"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="#" class="text-gray-800 fw-bold text-hover-primary mb-1 fs-6">
                                        <?php if(key_exists($gov->id, $data) && key_exists('less_online', $data[$gov->id]) && $data[$gov->id]['less_online'] != null): ?>
                                            <?php echo e(\App\Models\User::getDecryptedData(\App\Models\User::find($data[$gov->id]['less_online'])->full_name)); ?>

                                        <?php else: ?>
                                            <?php echo app('translator')->get("No Data"); ?>
                                        <?php endif; ?>
                                    </a>
                                </td>
                                <td class="text-end">
                                    <span class="badge badge-light-success fs-7 fw-bold">Less Online</span>
                                </td>
                                <td class="text-end">
                                    <span class="text-gray-800 fw-bold d-block fs-6"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="#" class="text-gray-800 fw-bold text-hover-primary mb-1 fs-6">
                                        <?php if(key_exists($gov->id, $data) && key_exists('most_offline', $data[$gov->id]) && $data[$gov->id]['most_offline'] != null): ?>
                                            <?php echo e(\App\Models\User::getDecryptedData(\App\Models\User::find($data[$gov->id]['most_offline'])->full_name)); ?>

                                        <?php else: ?>
                                            <?php echo app('translator')->get("No Data"); ?>
                                        <?php endif; ?>
                                    </a>
                                </td>
                                <td class="text-end">
                                    <span class="badge badge-danger fs-7 fw-bold"><?php echo app('translator')->get("Most Offline"); ?></span>
                                </td>
                                <td class="text-end">
                                    <span class="text-gray-800 fw-bold d-block fs-6"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="#" class="text-gray-800 fw-bold text-hover-primary mb-1 fs-6">
                                        <?php if(key_exists($gov->id, $data) && key_exists('less_offline', $data[$gov->id]) && $data[$gov->id]['less_offline'] != null): ?>
                                            <?php echo e(\App\Models\User::getDecryptedData(\App\Models\User::find($data[$gov->id]['less_offline'])->full_name)); ?>

                                        <?php else: ?>
                                            <?php echo app('translator')->get("No Data"); ?>
                                        <?php endif; ?>
                                    </a>
                                </td>
                                <td class="text-end">
                                    <span class="badge badge-danger fs-7 fw-bold">Less Offline</span>
                                </td>
                                <td class="text-end">
                                    <span class="text-gray-800 fw-bold d-block fs-6"></span>
                                </td>
                            </tr>






















                            </tbody>
                            <!--end::Table body-->
                        </table>
                        <!--end::Table-->
                    </div>
                    <!--end::Table container-->
                </div>
                <!--end::Tap pane-->
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <!--end::Tab Content-->
        </div>
        <!--end: Card Body-->
    </div>
    <!--end::Table widget 1-->
</div>
<?php /**PATH /home/jwqp6t0r49ya/aah.techbithub.com/techbithub/resources/views/dashboard/tabbed-widget.blade.php ENDPATH**/ ?>