���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: 024a8d2cf557e9913a79bc697664a173.php
<div class="w-full " wire:poll > <div wire:ignore> <?php echo $__env->make('components.layouts.general.miniloading',['target'=>'changeOrderStatus'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="fixed top-0 w-full mb-2 mt-10 pt-10 pb-3 bg-white px-5 pl-[4rem] shadow-sm"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.multiple-select', ['showColumn1' => 'first_name','showColumn2' => 'last_name','data' => $services,'show_column_1' => 'first_name','show_column_2' => 'last_name','name' => 'service_id','idTag' => 'serviceTag_id','text' => 'نام خدماتی را انتخاب کنید']); $__html = app('livewire')->mount($__name, $__params, 'lw-4004455622-0', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php $previous=explode('/',url()->previous()); $page_name_edit=$previous[count($previous)-3].'/'.$previous[count($previous)-2]; $page_name_add=$previous[count($previous)-4].'/'.$previous[count($previous)-3]; $id=''; if($page_name_add == 'factor/add'){ $id=$previous[count($previous)-1]; }else if($page_name_edit == 'factor/edit' ){ $factor=App\Models\Factor::where('id',$previous[count($previous)-1])->first(); if($factor){ $id=$factor->order_id; } } ?> <?php if(($page_name_edit == 'factor/edit' || $page_name_add == 'factor/add') && $id): ?> <button id="openOrder<?php echo e($id); ?>" onclick='Livewire.emit("openModal", "admin.modal.dashboard.admin", <?php echo e(json_encode(["order_id" =>$id,"loading"=>"true"])); ?>)' data-id="<?php echo e($id); ?>" class="hidden "> مشاهده </button> <?php endif; ?> </div> <div class="px-3 container_main w-fit mt-[9rem]" > <?php $__currentLoopData = $status; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="bg-gray-200 border-t-2 column-main border-main-800" > <h1 class="py-3 mb-2 text-sm font-bold border-b border-gray-300 "><?php echo e($item->title); ?></h1> <div class=" overflow-y-scroll column h-[77vh] " data-title="<?php echo e($item->title); ?>"> <?php if(Str::contains($item->title, 'در حال پردازش') == 1): ?> <?php $__currentLoopData = $orders->where('status_services','send'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="list-group-item border-t-2 text-left px-2 pt-2 mx-2 mb-2 border-main-700" data-id="<?php echo e($row->id); ?>" draggable="true"> <a href="/admin/dashboard/order/<?php echo e($row->id); ?>" class="block " > <div class="flex items-start justify-between"> <div class="w-6/12 text-sm "> <div class="mb-2 text-right "> <span class="block text-sm text-black truncate " >شماره سفارش : <?php echo e($row->number); ?></span> </div> <div class="mb-2 text-right "> <span class="block text-sm text-gray-600 truncate" ><?php echo e($row->status_em_services); ?></span> </div> <div class="text-right "> <span class="inline-block text-xs text-gray-600 truncate" >نام سفارش : <?php if($row->name): ?> <?php echo e($row->name); ?> <?php else: ?> - - - <?php endif; ?> </span> </div> </div> <div class="w-6/12 mb-3 text-sm "> <div class="mb-3 text-left truncate" dir="ltr"> <?php echo e(\App\Helpers\dateConvert($row->created_at,'formatS' )); ?> </div> <div class="text-left truncate"> <?php if($row->sheet_status_services): ?> <?php echo e($row->sheet_status_services); ?> <br /> <?php endif; ?> <?php if($row->sheet_status_customer): ?> <?php echo e($row->sheet_status_customer); ?> <?php endif; ?> </div> </div> </div> <div class="w-full text-sm "> <div class="flex items-start justify-start text-right"> <span class="inline-block text-xs text-gray-600 truncate" >نام مشتری : </span> <span class="flex items-start justify-start text-xs text-gray-600 truncate"> <?php if($row->customer && ($row->customer->first_name || $row->customer->last_name || $row->customer->mobile)): ?> <?php if( $row->customer->first_name && $row->customer->last_name): ?> <?php echo e($row->customer->first_name.' '.$row->customer->last_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->customer->mobile); ?>)</span> <?php endif; ?> <?php elseif($row->customer->first_name): ?> <?php echo e($row->customer->first_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->customer->mobile); ?>)</span> <?php endif; ?> <?php else: ?> <?php echo e($row->customer->mobile); ?> <?php endif; ?> <?php else: ?> <?php if( $row->user->first_name && $row->user->last_name): ?> <?php echo e($row->user->first_name.' '.$row->user->last_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->user->mobile); ?>)</span> <?php endif; ?> <?php elseif($row->user->first_name): ?> <?php echo e($row->user->first_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->user->mobile); ?>)</span> <?php endif; ?> <?php else: ?> <?php echo e($row->user->mobile); ?> <?php endif; ?> <?php endif; ?> </span> </div> </div> </a> <i wire:click="change_status('<?php echo e($row->id); ?>','کنسل')" class='bx bx-x cursor-pointer text-red-600'></i> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php $__currentLoopData = $orders->where('status_services',$item->title); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="list-group-item border-t-2 text-left px-2 pt-2 mx-2 mb-2 border-main-700" data-id="<?php echo e($row->id); ?>" draggable="true"> <a href="/admin/dashboard/order/<?php echo e($row->id); ?>" class="block " > <div class="flex items-start justify-between"> <div class="w-6/12 text-sm "> <div class="mb-2 text-right "> <span class="block text-sm text-black truncate " >شماره سفارش : <?php echo e($row->number); ?></span> </div> <div class="mb-2 text-right "> <span class="block text-sm text-gray-600 truncate" ><?php echo e($row->status_em_services); ?></span> </div> <div class="text-right "> <span class="inline-block text-xs text-gray-600 truncate" >نام سفارش : <?php if($row->name): ?> <?php echo e($row->name); ?> <?php else: ?> - - - <?php endif; ?> </span> </div> </div> <div class="w-6/12 mb-3 text-sm "> <div class="mb-3 text-left truncate" dir="ltr"> <?php echo e(\App\Helpers\dateConvert($row->created_at,'formatS' )); ?> </div> <div class="text-left truncate"> <?php if($row->sheet_status_services): ?> <?php echo e($row->sheet_status_services); ?> <br /> <?php endif; ?> <?php if($row->sheet_status_customer): ?> <?php echo e($row->sheet_status_customer); ?> <?php endif; ?> </div> </div> </div> <div class="w-full text-sm "> <div class="flex items-start justify-start text-right"> <span class="inline-block text-xs text-gray-600 truncate" >نام مشتری : </span> <span class="flex items-start justify-start text-xs text-gray-600 truncate"> <?php if($row->customer && ($row->customer->first_name || $row->customer->last_name || $row->customer->mobile)): ?> <?php if( $row->customer->first_name && $row->customer->last_name): ?> <?php echo e($row->customer->first_name.' '.$row->customer->last_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->customer->mobile); ?>)</span> <?php endif; ?> <?php elseif($row->customer->first_name): ?> <?php echo e($row->customer->first_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->customer->mobile); ?>)</span> <?php endif; ?> <?php else: ?> <?php echo e($row->customer->mobile); ?> <?php endif; ?> <?php else: ?> <?php if( $row->user->first_name && $row->user->last_name): ?> <?php echo e($row->user->first_name.' '.$row->user->last_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->user->mobile); ?>)</span> <?php endif; ?> <?php elseif($row->user->first_name): ?> <?php echo e($row->user->first_name); ?> <?php if(auth()->user()->can( 'admin')): ?> <span>( <?php echo e($row->user->mobile); ?>)</span> <?php endif; ?> <?php else: ?> <?php echo e($row->user->mobile); ?> <?php endif; ?> <?php endif; ?> </span> </div> </div> </a> <i wire:click="change_status('<?php echo e($row->id); ?>','کنسل')" class='bx bx-x cursor-pointer text-red-600'></i> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php $__env->startSection('scripts'); ?> <script > document.addEventListener('livewire:navigated', () => { const columns = document.querySelectorAll(".column"); columns.forEach((column) => { new Sortable(column, { group: "shared", animation: 150, ghostClass: "blue-background-class", onEnd: function(evt ) { Livewire.dispatch('startLoading' ); Livewire.dispatch('changeOrderStatus', { id : $(evt.item).attr("data-id"),title:$(evt.to).attr("data-title") }); }, }); }); }); </script> <?php $__env->stopSection(); ?> <?php /**PATH /home2/cutunixc/repositories/cutunix/resources/views/livewire/admin/pages/dashboard/admin.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa