CasperSecurity

Current Path : /var/www/hrms.uiet.co.in/storage/framework/views/
Upload File :
Current File : /var/www/hrms.uiet.co.in/storage/framework/views/1284750df9bd56a91e9a1d87dc5f0549f10b6da5.php

<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
    <!--begin::Container-->
    <div id="kt_content_container" class="container-fluid">

        <?php if(session()->has('success')): ?>
            <div class="flex py-4">
                <div class="w-full alert alert-success alert-dismissible fade show" role="alert">
                    <strong><?php echo e(session('success')); ?></strong>
                    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
                       <span class="svg-icon svg-icon-muted svg-icon-2"><svg xmlns="http://www.w3.org/2000/svg"
                                                                             width="24" height="24" viewBox="0 0 24 24"
                                                                             fill="none">
                        <path opacity="0.3"
                              d="M12 10.6L14.8 7.8C15.2 7.4 15.8 7.4 16.2 7.8C16.6 8.2 16.6 8.80002 16.2 9.20002L13.4 12L12 10.6ZM10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 8.99999 16.4 9.19999 16.2L12 13.4L10.6 12Z"
                              fill="black"/>
                        <path
                            d="M22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2C17.5 2 22 6.5 22 12ZM13.4 12L16.2 9.20001C16.6 8.80001 16.6 8.19999 16.2 7.79999C15.8 7.39999 15.2 7.39999 14.8 7.79999L12 10.6L9.2 7.79999C8.8 7.39999 8.2 7.39999 7.8 7.79999C7.4 8.19999 7.4 8.80001 7.8 9.20001L10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 9 16.4 9.2 16.2L12 13.4L14.8 16.2C15 16.4 15.3 16.5 15.5 16.5C15.7 16.5 16 16.4 16.2 16.2C16.6 15.8 16.6 15.2 16.2 14.8L13.4 12Z"
                            fill="black"/>
                        </svg></span>
                    </button>
                </div>
            </div>

        <?php elseif(session()->has('error')): ?>
            <div class="flex py-4">
                <div class="w-full alert alert-danger alert-dismissible fade show" role="alert">
                    <strong><?php echo e(session('error')); ?></strong>
                    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
                        <span class="svg-icon svg-icon-muted svg-icon-2"><svg xmlns="http://www.w3.org/2000/svg"
                                                                              width="24" height="24" viewBox="0 0 24 24"
                                                                              fill="none">
                        <path opacity="0.3"
                              d="M12 10.6L14.8 7.8C15.2 7.4 15.8 7.4 16.2 7.8C16.6 8.2 16.6 8.80002 16.2 9.20002L13.4 12L12 10.6ZM10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 8.99999 16.4 9.19999 16.2L12 13.4L10.6 12Z"
                              fill="black"/>
                        <path
                            d="M22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2C17.5 2 22 6.5 22 12ZM13.4 12L16.2 9.20001C16.6 8.80001 16.6 8.19999 16.2 7.79999C15.8 7.39999 15.2 7.39999 14.8 7.79999L12 10.6L9.2 7.79999C8.8 7.39999 8.2 7.39999 7.8 7.79999C7.4 8.19999 7.4 8.80001 7.8 9.20001L10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 9 16.4 9.2 16.2L12 13.4L14.8 16.2C15 16.4 15.3 16.5 15.5 16.5C15.7 16.5 16 16.4 16.2 16.2C16.6 15.8 16.6 15.2 16.2 14.8L13.4 12Z"
                            fill="black"/>
                        </svg></span>
                    </button>
                </div>
            </div>
        <?php endif; ?>

        <div class="row">
            <div class="col-md-12 flex justify-content-between px-3 py-4" style="cursor: pointer;">
                <h1 style="font-size: 30px; font-weight: bold;" data-bs-toggle="popover" data-bs-dismiss="true" data-bs-html="true" title="<span class='text-primary'><b>Teams</b></span>" data-bs-content="Teams <br><b>Thank You</b> ">Teams</h1>

            </div>
        </div>

        <!--begin::Card-->
        <div class="card card-flush">
            <!--begin::Card header-->
            <div class="card-header mt-6">
                <!--begin::Card title-->
                <div class="card-title">
                    <!--begin::Search-->
                    <div class="d-flex align-items-center position-relative my-1 me-5">
                        <!--begin::Svg Icon | path: icons/duotune/general/gen021.svg-->
                        <span class="svg-icon svg-icon-1 position-absolute ms-6">
												<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                                     viewBox="0 0 24 24" fill="none">
													<rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546"
                                                          height="2" rx="1" transform="rotate(45 17.0365 15.1223)"
                                                          fill="black"/>
													<path
                                                        d="M11 19C6.55556 19 3 15.4444 3 11C3 6.55556 6.55556 3 11 3C15.4444 3 19 6.55556 19 11C19 15.4444 15.4444 19 11 19ZM11 5C7.53333 5 5 7.53333 5 11C5 14.4667 7.53333 17 11 17C14.4667 17 17 14.4667 17 11C17 7.53333 14.4667 5 11 5Z"
                                                        fill="black"/>
												</svg>
											</span>
                        <!--end::Svg Icon-->
                        <input type="text" data-kt-table-filter="search" autocomplete="off"
                               class="form-control form-control-solid w-250px ps-15"
                               placeholder="Search Teams"/>
                    </div>
                    <!--end::Search-->
                </div>
                <!--end::Card title-->
                <!--begin::Card toolbar-->
                <div class="card-toolbar">
                    <!--begin::Button-->
                    <button type="button" style="width: 200px;"
                            class="btn btn-primary  d-flex justify-content-center" data-bs-toggle="modal"
                            data-bs-target="#kt_modal_add_upadate" wire:click="createclick">
                        <!--begin::Svg Icon | path: icons/duotune/general/gen035.svg-->
                        <span class="svg-icon svg-icon-3 ">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                             viewBox="0 0 24 24" fill="none">
                                            <rect opacity="0.3" x="2" y="2" width="20" height="20" rx="5" fill="black"/>
                                            <rect x="10.8891" y="17.8033" width="12" height="2" rx="1"
                                                  transform="rotate(-90 10.8891 17.8033)" fill="black"/>
                                            <rect x="6.01041" y="10.9247" width="12" height="2" rx="1" fill="black"/>
                                        </svg>
                                    </span>
                        <!--end::Svg Icon-->
                        <span class="">Add New Team</span>
                    </button>
                    <!--end::Button-->
                </div>
                <!--end::Card toolbar-->
            </div>
            <!--end::Card header-->
            <!--begin::Card body-->
            <div class="card-body pt-0" wire:ignore>
                <!--begin::Table-->
                <table class="table align-middle table-row-dashed text-start fs-6 gy-5 mb-0" id="kt_table">
                    <!--begin::Table head-->
                    <thead>
                    <!--begin::Table row-->
                    <tr class="text-start text-gray-400 fw-bolder fs-7 text-uppercase gs-0">
                        <th class="min-w-50px text-black">Status</th>
                        <th class="min-w-125px text-black">Team Name</th>
                        <th class="min-w-125px text-black">Description</th>
                        <th class="min-w-100px text-black">Created At</th>
                        <th class="text-end min-w-100px text-black">Actions</th>
                    </tr>
                    <!--end::Table row-->
                    </thead>
                    <!--end::Table head-->
                    <!--begin::Table body-->
                    <tbody class="fw-bold text-gray-600">
                    <?php $__currentLoopData = $datatables; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tabledata): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>


                        <tr>
                            <!--begin::Name=-->
                            <td>
                                <?php if($tabledata->status): ?>
                                    <span class="badge badge-success fs-7 m-1 text-white">Active</span>
                                <?php else: ?>
                                    <span class="badge badge-danger fs-7 m-1 text-white">Inactive</span>
                                <?php endif; ?>
                            </td>
                            <td class="text-black"><?php echo e($tabledata->display_name); ?> <br/> <?php echo e($tabledata->name); ?></td>
                            <td class="text-black"><?php echo e($tabledata->description); ?> </td>

                            <td class="text-black"><?php echo e(\Carbon\Carbon::parse($tabledata->created_at)->format('d-M-Y H:i A')); ?></td>
                            <!--end::Name=-->
                            <!--begin::Assigned to=-->

                            <!--end::Assigned to=-->

                            <!--begin::Action=-->
                            <td class="text-end">
                                <!--begin::Update-->
                                <button class="btn btn-icon btn-active-light-primary w-30px h-30px me-3"
                                        data-bs-toggle="modal" data-bs-target="#kt_modal_assign"
                                        wire:click="assignclick(<?php echo e($tabledata->id); ?>)">
                                    <!--begin::Svg Icon | path: icons/duotune/general/gen019.svg-->
                                    <span class="svg-icon svg-icon-3"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path d="M6.28548 15.0861C7.34369 13.1814 9.35142 12 11.5304 12H12.4696C14.6486 12 16.6563 13.1814 17.7145 15.0861L19.3493 18.0287C20.0899 19.3618 19.1259 21 17.601 21H6.39903C4.87406 21 3.91012 19.3618 4.65071 18.0287L6.28548 15.0861Z" fill="black"/>
<rect opacity="0.3" x="8" y="3" width="8" height="8" rx="4" fill="black"/>
</svg></span>

                                    <!--end::Svg Icon-->
                                </button>
                                <!--end::Update-->
                                <!--begin::Update-->
                                <button class="btn btn-icon btn-active-light-primary w-30px h-30px me-3"
                                        data-bs-toggle="modal" data-bs-target="#kt_modal_add_upadate"
                                        wire:click="updateclick(<?php echo e($tabledata->id); ?>)">
                                    <!--begin::Svg Icon | path: icons/duotune/general/gen019.svg-->
                                    <span class="svg-icon svg-icon-3">
															<svg xmlns="http://www.w3.org/2000/svg" width="24"
                                                                 height="24" viewBox="0 0 24 24" fill="none">
																<path
                                                                    d="M17.5 11H6.5C4 11 2 9 2 6.5C2 4 4 2 6.5 2H17.5C20 2 22 4 22 6.5C22 9 20 11 17.5 11ZM15 6.5C15 7.9 16.1 9 17.5 9C18.9 9 20 7.9 20 6.5C20 5.1 18.9 4 17.5 4C16.1 4 15 5.1 15 6.5Z"
                                                                    fill="black"/>
																<path opacity="0.3"
                                                                      d="M17.5 22H6.5C4 22 2 20 2 17.5C2 15 4 13 6.5 13H17.5C20 13 22 15 22 17.5C22 20 20 22 17.5 22ZM4 17.5C4 18.9 5.1 20 6.5 20C7.9 20 9 18.9 9 17.5C9 16.1 7.9 15 6.5 15C5.1 15 4 16.1 4 17.5Z"
                                                                      fill="black"/>
															</svg>
														</span>
                                    <!--end::Svg Icon-->
                                </button>
                                <!--end::Update-->
                                <!--begin::Delete-->
                                <button class="btn btn-icon btn-active-light-primary w-30px h-30px"
                                        data-kt-table-filter="delete_row" data-bs-toggle="modal"
                                        data-bs-target="#deleteConfirmation"
                                        wire:click="deleteclick(<?php echo e($tabledata->id); ?>)">
                                    <!--begin::Svg Icon | path: icons/duotune/general/gen027.svg-->
                                    <span class="svg-icon svg-icon-3">
															<svg xmlns="http://www.w3.org/2000/svg" width="24"
                                                                 height="24" viewBox="0 0 24 24" fill="none">
																<path
                                                                    d="M5 9C5 8.44772 5.44772 8 6 8H18C18.5523 8 19 8.44772 19 9V18C19 19.6569 17.6569 21 16 21H8C6.34315 21 5 19.6569 5 18V9Z"
                                                                    fill="black"/>
																<path opacity="0.5"
                                                                      d="M5 5C5 4.44772 5.44772 4 6 4H18C18.5523 4 19 4.44772 19 5V5C19 5.55228 18.5523 6 18 6H6C5.44772 6 5 5.55228 5 5V5Z"
                                                                      fill="black"/>
																<path opacity="0.5"
                                                                      d="M9 4C9 3.44772 9.44772 3 10 3H14C14.5523 3 15 3.44772 15 4V4H9V4Z"
                                                                      fill="black"/>
															</svg>
														</span>
                                    <!--end::Svg Icon-->
                                </button>
                                <!--end::Delete-->
                            </td>
                            <!--end::Action=-->
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </tbody>
                    <!--end::Table body-->
                </table>
                <!--end::Table-->
            </div>
            <!--end::Card body-->
        </div>
        <!--end::Card-->
        <!--begin::Modals-->


            <div class="modal fade" id="kt_modal_assign" tabindex="-1" data-bs-backdrop="static" data-bs-keyboard="false" aria-hidden="true" wire:ignore.self>
                <!--begin::Modal dialog-->
                <div class="modal-dialog modal-dialog-centered mw-950px">
                    <!--begin::Modal content-->
                    <div class="modal-content">
                        <!--begin::Modal header-->
                        <div class="modal-header">
                            <!--begin::Modal title-->
                            <h2 class="fw-bolder">Assign Users To Team</h2>

                        <!--end::Modal title-->
                            <!--begin::Close-->
                            <div class="btn btn-icon btn-sm btn-active-icon-primary"
                                 data-kt-permissions-modal-action="close" onclick="popupmodal()" wire:click="resetvalid">
                                <!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
                                <span class="svg-icon svg-icon-1">
													<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                                         viewBox="0 0 24 24" fill="none">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2"
                                                              rx="1" transform="rotate(-45 6 17.3137)" fill="black"/>
														<rect x="7.41422" y="6" width="16" height="2" rx="1"
                                                              transform="rotate(45 7.41422 6)" fill="black"/>
													</svg>
												</span>
                                <!--end::Svg Icon-->
                            </div>
                            <!--end::Close-->
                        </div>
                        <!--end::Modal header-->
                        <!--begin::Modal body-->
                        <div class="modal-body scroll-y mx-5 mx-xl-15 my-7">
                            <?php if(session()->has('errorassign')): ?>
                            <div class="flex py-4">
                                <div class="w-full alert alert-danger alert-dismissible fade show" role="alert">
                                    <strong><?php echo e(session('errorassign')); ?></strong>
                                    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
                        <span class="svg-icon svg-icon-muted svg-icon-2"><svg xmlns="http://www.w3.org/2000/svg"
                                                                              width="24" height="24" viewBox="0 0 24 24"
                                                                              fill="none">
                        <path opacity="0.3"
                              d="M12 10.6L14.8 7.8C15.2 7.4 15.8 7.4 16.2 7.8C16.6 8.2 16.6 8.80002 16.2 9.20002L13.4 12L12 10.6ZM10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 8.99999 16.4 9.19999 16.2L12 13.4L10.6 12Z"
                              fill="black"/>
                        <path
                            d="M22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2C17.5 2 22 6.5 22 12ZM13.4 12L16.2 9.20001C16.6 8.80001 16.6 8.19999 16.2 7.79999C15.8 7.39999 15.2 7.39999 14.8 7.79999L12 10.6L9.2 7.79999C8.8 7.39999 8.2 7.39999 7.8 7.79999C7.4 8.19999 7.4 8.80001 7.8 9.20001L10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 9 16.4 9.2 16.2L12 13.4L14.8 16.2C15 16.4 15.3 16.5 15.5 16.5C15.7 16.5 16 16.4 16.2 16.2C16.6 15.8 16.6 15.2 16.2 14.8L13.4 12Z"
                            fill="black"/>
                        </svg></span>
                                    </button>
                                </div>
                            </div>
                        <?php endif; ?>
                            <!--begin::Input group-->
                            <div class="row">
                                <div class="col-md-12 fv-row mb-7">
                                    <!--begin::Input-->
                                    <input class="form-control form-control-solid"
                                           placeholder="Search User..." name="searchuser" wire:model.debounce.0ms="searchuser"/>
                                    <!--end::Input-->
                                </div>

                                <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <label class="d-flex flex-stack mb-5 cursor-pointer">
                                    <!--begin:Label-->
                                    <span class="d-flex align-items-center me-2">
                                        <!--begin:Icon-->
                                        <span class="symbol symbol-50px me-6">
                                            <span class="symbol-label bg-light-primary">
                                                <!--begin::Svg Icon | path: icons/duotune/maps/map004.svg-->
                                               <span class="svg-icon svg-icon-1"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                <path d="M6.28548 15.0861C7.34369 13.1814 9.35142 12 11.5304 12H12.4696C14.6486 12 16.6563 13.1814 17.7145 15.0861L19.3493 18.0287C20.0899 19.3618 19.1259 21 17.601 21H6.39903C4.87406 21 3.91012 19.3618 4.65071 18.0287L6.28548 15.0861Z" fill="black"/>
                                                <rect opacity="0.3" x="8" y="3" width="8" height="8" rx="4" fill="black"/>
                                                </svg></span>
                                                <!--end::Svg Icon-->
                                            </span>
                                        </span>
                                                                        <!--end:Icon-->

                                                                        <!--begin:Info-->
                                        <span class="d-flex flex-column">
                                            <span class="fw-bolder fs-6"><?php echo e($user->name); ?></span>
                                            <span class="fs-7 text-muted"><?php echo e($user->display_name); ?></span>
                                        </span>
                                                                        <!--end:Info-->
                                    </span>
                                                                    <!--end:Label-->

                                    <!--begin:Input-->
                                    <span class="form-check form-check-custom form-check-solid form-check-lg">
                                        <input class="form-check-input" type="checkbox"  name="username" wire:model="selectedusers.<?php echo e($user->user_id); ?>" wire:change="setuser('<?php echo e($user->user_id); ?>')"  value="<?php echo e($user->user_id); ?>"/>
                                    </span>
                                    <!--end:Input-->
                                </label>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


                                <div class="text-center pt-15">
                                    <button type="reset" class="btn btn-light me-3"
                                            data-kt-permissions-modal-action="cancel" onclick="popupmodal()"
                                            wire:click="resetvalid">Discard
                                    </button>
                                    <button type="button" wire:click="assign" class="btn btn-primary">
                                        <span class="indicator-label">Assign</span>
                                        <span class="indicator-progress" wire:loading wire:target="assign">Please wait...
										<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
                                    </button>
                                </div>

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

        <!--begin::Modal - Add permissions-->
        <div class="modal fade" id="kt_modal_add_upadate" tabindex="-1" aria-hidden="true" data-bs-backdrop="static" data-bs-keyboard="false" wire:ignore.self>
            <!--begin::Modal dialog-->
            <div class="modal-dialog modal-dialog-centered mw-650px">
                <!--begin::Modal content-->
                <div class="modal-content">
                    <!--begin::Modal header-->
                    <div class="modal-header">
                        <!--begin::Modal title-->
                        <?php if($modelid): ?>
                            <h2 class="fw-bolder">Update Team Informations</h2>
                        <?php else: ?>
                            <h2 class="fw-bolder">Add New Team</h2>
                    <?php endif; ?>

                    <!--end::Modal title-->
                        <!--begin::Close-->
                        <div class="btn btn-icon btn-sm btn-active-icon-primary"
                             data-kt-permissions-modal-action="close" onclick="popupmodal()" wire:click="resetvalid">
                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
                            <span class="svg-icon svg-icon-1">
													<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                                         viewBox="0 0 24 24" fill="none">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2"
                                                              rx="1" transform="rotate(-45 6 17.3137)" fill="black"/>
														<rect x="7.41422" y="6" width="16" height="2" rx="1"
                                                              transform="rotate(45 7.41422 6)" fill="black"/>
													</svg>
												</span>
                            <!--end::Svg Icon-->
                        </div>
                        <!--end::Close-->
                    </div>
                    <!--end::Modal header-->
                    <!--begin::Modal body-->
                    <div class="modal-body scroll-y mx-5 mx-xl-15 my-7">
                        <!--begin::Form-->

                        <!--begin::Input group-->
                        <div class="row">

                            <div class="col-md-12 fv-row mb-7">
                                <!--begin::Label-->
                                <label class="fs-6 fw-bold form-label mb-2">
                                    <span class="required">Team Name</span>
                                </label>
                                <!--end::Label-->
                                <!--begin::Input-->
                                <input class="form-control form-control-solid"
                                       placeholder="Enter Team Name" name="name" wire:model.debounce.0ms="display_name"/>
                                <!--end::Input-->
                                <?php $__errorArgs = ['display_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            <div class="col-md-12 fv-row mb-7">
                                <!--begin::Label-->
                                <label class="fs-6 fw-bold form-label mb-2">
                                    <span>Description</span>
                                </label>
                                <!--end::Label-->
                                <!--begin::Input-->
                                <textarea class="form-control form-control-solid"
                                          placeholder="Enter Description" name="description" wire:model.debounce.0ms="description"></textarea>
                                <!--end::Input-->
                                <?php $__errorArgs = ['description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>



                            <?php if($modelid): ?>
                                <div class="d-flex flex-stack mb-8">
                                    <!--begin::Label-->
                                    <div class="me-5">
                                        <label class="fs-6 fw-bold">Status</label>

                                    </div>
                                    <!--end::Label-->
                                    <!--begin::Switch-->
                                    <label class="form-check form-switch form-check-custom form-check-solid">
                                        <?php if($status): ?>
                                            <input class="form-check-input h-20px w-30px" type="checkbox" name="status"
                                                   wire:model.debounce.800ms="status" checked/>
                                        <?php else: ?>
                                            <input class="form-check-input h-20px w-30px" type="checkbox" name="status"
                                                   wire:model.debounce.800ms="status"/>
                                        <?php endif; ?>
                                        <span class="form-check-label fw-bold text-gray-400">Active</span>
                                    </label>
                                    <!--end::Switch-->
                                </div>
                            <?php endif; ?>
                        </div>
                        <!--end::Input group-->
                        <!--begin::Actions-->
                        <div class="text-center pt-15">
                            <button type="reset" class="btn btn-light me-3"
                                    data-kt-permissions-modal-action="cancel" onclick="popupmodal()"
                                    wire:click="resetvalid">Discard
                            </button>
                            <?php if($modelid): ?>
                                <button type="button" wire:click="update" class="btn btn-primary">
                                    <span class="indicator-label">Update</span>
                                    <span class="indicator-progress" wire:loading wire:target="update">Please wait...
														<span
                                                            class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
                                </button>
                            <?php else: ?>
                                <button type="button" wire:click="submit" class="btn btn-primary">
                                    <span class="indicator-label">Submit</span>
                                    <span class="indicator-progress" wire:loading wire:target="submit">Please wait...
														<span
                                                            class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
                                </button>
                            <?php endif; ?>
                        </div>
                        <!--end::Actions-->

                        <!--end::Form-->
                    </div>
                    <!--end::Modal body-->
                </div>
                <!--end::Modal content-->
            </div>
            <!--end::Modal dialog-->
        </div>
        <!--end::Modal - Add permissions-->

        <!--end::Modals-->

        <div class="modal  fade" id="deleteConfirmation" data-bs-backdrop="static" data-bs-keyboard="false"
             tabindex="-1" aria-labelledby="deleteConfirmation" aria-hidden="true" wire:ignore.self>
            <div class="modal-dialog modal-dialog-centered">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title"
                            id="staticBackdropLabel"><?php echo e(__('Delete Team Information')); ?></h5>
                        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
                            <span class="svg-icon svg-icon-muted svg-icon-2"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                  width="30" height="30" viewBox="0 0 24 24"
                                                                                  fill="none">
<path opacity="0.3"
      d="M12 10.6L14.8 7.8C15.2 7.4 15.8 7.4 16.2 7.8C16.6 8.2 16.6 8.80002 16.2 9.20002L13.4 12L12 10.6ZM10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 8.99999 16.4 9.19999 16.2L12 13.4L10.6 12Z"
      fill="black"/>
<path
    d="M22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2C17.5 2 22 6.5 22 12ZM13.4 12L16.2 9.20001C16.6 8.80001 16.6 8.19999 16.2 7.79999C15.8 7.39999 15.2 7.39999 14.8 7.79999L12 10.6L9.2 7.79999C8.8 7.39999 8.2 7.39999 7.8 7.79999C7.4 8.19999 7.4 8.80001 7.8 9.20001L10.6 12L7.8 14.8C7.4 15.2 7.4 15.8 7.8 16.2C8 16.4 8.3 16.5 8.5 16.5C8.7 16.5 9 16.4 9.2 16.2L12 13.4L14.8 16.2C15 16.4 15.3 16.5 15.5 16.5C15.7 16.5 16 16.4 16.2 16.2C16.6 15.8 16.6 15.2 16.2 14.8L13.4 12Z"
    fill="black"/>
</svg></span>
                        </button>
                    </div>
                    <div class="modal-body">
                        <?php echo e(__('Are you sure you want to delete this data ? Once the data is deleted, all of its resources and data will be permanently deleted.')); ?>

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
                        <button type="button" class="btn btn-danger" wire:click="delete"> Delete</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--end::Container-->
</div>


<?php $__env->startSection('externaljs'); ?>
    <script>
        var KTBusinessSector = function () {
            var t, e;
            return {
                init: function () {
                    (e = document.querySelector("#kt_table")) && (e.querySelectorAll("tbody tr").forEach((t => {

                    })), t = $(e).DataTable({
                        info: !1,
                        order: [],
                        columnDefs: [{
                            orderable: 1,
                            targets: 1
                        },
                            {
                                orderable: !2,
                                targets: 2
                            }]
                    }), document.querySelector('[data-kt-table-filter="search"]').addEventListener("keyup", (function (e) {
                        t.search(e.target.value).draw()
                    })))
                }
            }
        }();
        KTUtil.onDOMContentLoaded((function () {
            KTBusinessSector.init()
        }));

    </script>



    <script>
        function popupmodal() {
            Swal.fire({
                text: "Are you sure you would like to close?",
                icon: "warning",
                showCancelButton: !0,
                buttonsStyling: !1,
                confirmButtonText: "Yes, close it!",
                cancelButtonText: "No, return",
                customClass: {
                    confirmButton: "btn btn-primary",
                    cancelButton: "btn btn-active-light"
                }
            }).then((function (result) {

                if (result.isConfirmed) {
                    closemodal();
                } else if (
                    /* Read more about handling dismissals below */
                    result.dismiss === Swal.DismissReason.cancel
                ) {
                    swalWithBootstrapButtons.fire(
                        'Cancelled',
                        'Your imaginary file is safe :)',
                        'error'
                    )
                }


            }))
        }

        function closemodal() {
            $('.modal').modal('hide');
        }

        function RefreshTable() {
            $("#kt_table").load("/metadata_business_sector #kt_table");
        }

        window.addEventListener('closemodal', event => {
            closemodal();
        });

        window.addEventListener('tablecreate', event => {
            RefreshTable();
        });

    </script>
<?php $__env->stopSection(); ?>
<?php /**PATH /var/www/hrms.uiet.co.in/resources/views/livewire/urm/teams-livewire.blade.php ENDPATH**/ ?>
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY