���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
/
cutunix
/
storage
/
framework
/
views
/
Viewing: ce989af414d20131a9c2d581d46288db.php
<div> <!------------ Filter ----------> <div class="mb-2"> <div x-data="{open:false}"> <button type="button" class="inline-flex w justify-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 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> <div 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" class=" mt-3 w-full md:flex md:space-y-0 md:space-x-2"> <div class=" space-y-2 lg:space-y-0 lg:flex lg:flex-wrap w-full justify-start items-center"> <div class=" w-full lg:w-3/12 mb-2 lg:pl-2"> <input type="text" wire:model.live='order_number' placeholder="کد سفارش... " class="block w-full border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 "> </div> <div class="w-full lg:w-3/12 mb-2 lg:pl-2"> <input type="text" wire:model.live='search' placeholder=" نام مشتری " class="block w-full border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 "> </div> <div class="w-full lg:w-3/12 mb-2 lg:pl-2"> <select wire:model.live='order_type' class="block w-full h-10 py-0 !pr-1 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0">نوع سفارش را انتخاب کنید</option> <option value="1"> ثبت دستی </option> <option value="empty"> ثبت پیشرفته</option> </select> </div> <div class="w-full lg:w-3/12 mb-2 lg:pl-2"> <select wire:model.live='mode' class="block w-full h-10 py-0 !pr-1 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="">نمایش همه</option> <option value="cutunix"> کات یونیکس</option> <option value="analyze"> آنالیز</option> <option value="mdfshot"> ام دی اف شات</option> </select> </div> <div class="w-full lg:w-3/12 mb-2 lg:pl-2"> <select wire:model.live='order_status_val' class="block w-full h-10 py-0 !pr-1 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0" >وضعیت سفارش را انتخاب کنید</option> <?php $__currentLoopData = $order_status; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($row->title); ?>"> <?php echo e($row->title); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="w-full lg:w-3/12 mb-2 lg:pl-2"> <select wire:model.live='services_status_val' class="block w-full h-10 py-0 !pr-1 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0" >وضعیت اجرا را انتخاب کنید</option> <?php $__currentLoopData = $services_status; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($row->title); ?>"> <?php echo e($row->title); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="w-full lg:w-3/12 mb-2"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.date-time-picker', ['typeShow' => 'range','js' => 'true','format' => 'YYYY-MM-DD','min' => 'vue','vModel' => 'date','type_show' => 'range','type' => 'date','methode' => 'set_date']); $__html = app('livewire')->mount($__name, $__params, 'lw-1924110046-0', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> </div> </div> </div> </div> <!------------ Table ----------> <div wire:poll class=" w-full mb-3" > <div class="block shadow-md rounded-t-xl overflow-x-auto"> <table class="w-full text-left overflow-hidden"> <thead> <tr class="text-gray-900 bg-gray-100 "> <th class="truncate py-2 text-center text-sm font-light min-w-[3rem] px-1 " > # </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300 " > کد سفارش </th> <th class="truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300 " > نام کاربر </th> <th class="truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300 " > خدماتی </th> <?php if(!auth()->user()->can('secretary')): ?> <th class="truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300" > موبایل خدماتی </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300" > نام خدماتی </th> <?php endif; ?> <th class="truncate py-2 text-center text-sm font-light min-w-[9rem] px-1 border-r border-gray-300 " > نام سفارش </th> <th class="truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300" > وضعیت سفارش </th> <?php if(!auth()->user()->can('secretary') && !auth()->user()->can('admin')): ?> <th class="truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300" > وضعیت اجرا </th> <?php endif; ?> <th class="truncate py-2 text-center text-sm font-light min-w-[9rem] px-1 border-r border-gray-300" > تاریخ ایجاد </th> </tr> </thead> <tbody x-data="{ show: Array.from({length: <?php echo e(count($result)); ?> }, () => false) }"> <?php $__currentLoopData = $result; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr wire:key='<?php echo e($row->id); ?>' class="w-full font-light text-gray-800 cursor-pointer hover:bg-main-800 hover:text-white whitespace-no-wrap bg-white border border-b "> <td @click="show[<?php echo e($row->id); ?>] = !show[<?php echo e($row->id); ?>]" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <i :class="{ ' rotate-180 ' : show[<?php echo e($row->id); ?>] }" class='bx bx-chevron-down text-xl text-red-600'></i> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if($row->number): ?> <?php echo e($row->number); ?> <?php else: ?> --- <?php endif; ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo $__env->make('tables.cells.nameServices',['row'=>$row], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo $__env->make('tables.cells.nameService',['row'=>$row], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </td> <?php if(!auth()->user()->can( 'secretary')): ?> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if($row->services && $row->services->mobile ): ?> <?php echo e($row->services->mobile); ?> <?php else: ?> --- <?php endif; ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo $__env->make('tables.cells.nameService',['row'=>$row], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </td> <?php endif; ?> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if($row->name): ?> <?php echo e($row->name); ?> <?php else: ?> --- <?php endif; ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if($row->status_services): ?> <?php echo e($row->status_services); ?> <?php else: ?> --- <?php endif; ?> </td> <?php if(!auth()->user()->can('secretary') && !auth()->user()->can('admin')): ?> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if($row->status_em_services): ?> <?php echo e($row->status_em_services); ?> <?php else: ?> --- <?php endif; ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if($row->employe_id): ?> <?php echo e($row->employ->first_name.' '.$row->employ->last_name); ?> <?php else: ?> --- <?php endif; ?> </td> <?php endif; ?> <td onclick="window.location='/admin/dashboard/order/<?php echo e($row->id); ?>'" dir="ltr" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e(\App\Helpers\dateConvert($row->created_at,'formatS')); ?> </td> </tr> <tr :class="{ ' hidden ' : !show[<?php echo e($row->id); ?>] }" wire:key='<?php echo e(time().$row->id); ?>' class=" !bg-red-50 w-full font-light text-gray-800 whitespace-no-wrap bg-white "> <td class=" py-4" <?php if(auth()->user()->can( 'secretary')): ?> colspan="10" <?php elseif( !auth()->user()->can( 'secretary') && !auth()->user()->can( 'services')): ?> colspan="9" <?php else: ?> colspan="8" <?php endif; ?>> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.order.status', ['orderId' => $row->id,'order_id' => $row->id]); $__html = app('livewire')->mount($__name, $__params, ''.e(time().$row->id).'', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <div class="mt-2"> <?php echo e($result->links()); ?> </div> </div> </div> <?php /**PATH /home2/cutunixc/repositories/cutunix/resources/views/livewire/admin/pages/table/order/table.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa