���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
/
npln
/
storage
/
framework
/
views
/
Viewing: ccefc86d49af2d0bb4318032e9e8d6e4.php
<?php $__env->startSection('modal_name', 'admin.pages.financial.pay.cash-receive'); ?> <?php $__env->startSection('modal_name', 'admin.pages.financial.pay.check-receive'); ?> <?php $__env->startSection('styles'); ?> <link href="<?php echo e(asset('/css/slimselect.min.css')); ?>" rel="stylesheet"> <?php $__env->stopSection(); ?> <div> <div> <div x-data="{ show: false }"> <div class="hidden"> <button id="button_show_modal" @click="show=true" type="button" class="px-6 py-3 text-sm leading-tight text-gray-200 bg-blue-600 rounded focus:outline-none focus:border-white"> Show Modal </Button> </div> <div style="display:none" x-show="show" tabindex="0" class="fixed top-[30%] bottom-0 left-0 right-0 z-10 w-full h-full overflow-auto"> <div @click.away="show = false" class="relative z-50 max-w-full p-3 mx-auto my-0" style="width: 600px;"> <div dir="rtl" class="flex flex-col overflow-hidden bg-greenmain-600 border rounded shadow-lg bg-white"> <button @click="show=false" class="absolute top-0 left-0 w-8 h-8 m-6 text-2xl font-bold text-black fill-current font-3xl"> × </button> <div class="px-6 py-3 text-md font-bold text-black mx-auto border-b"> دریافت و پرداخت</div> <ul dir="ltr" class=" w-full list-none flex justify-between items-center p-2"> <li x-data="{ open: false }" class="w-6/12"> <div @click="open = ! open" class="p-2 rounded-md hover:shadow-md w-full flex flex-col justify-center items-center cursor-pointer"> <i class='bx bx-dollar-circle text-7xl text-green-500'></i> <span class=" block text-sm font-bold mt-3"> دریافت و پرداخت نقدی </span> </div> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.modal', ['name' => 'admin.pages.financial.pay.cash-receive','arguments' => ["order_id" => $order->id]]); $__key = null; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-0', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </li> <li x-data="{ open: false }" class="w-6/12"> <div @click="open = ! open" class="p-2 w-full rounded-md hover:shadow-md flex flex-col justify-center items-center cursor-pointer"> <i class='bx bxs-arrow-to-left text-7xl text-main-700'></i> <span class=" block text-sm font-bold mt-3"> دریافت و پرداخت چک </span> </div> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.modal', ['name' => 'admin.pages.financial.pay.check-receive','arguments' => ["order_id" => $order->id]]); $__key = null; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-1', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </li> </ul> </div> </div> </div> </div> </div> <div class="bg-white w-[98%] mx-auto mt-16"> <div class="flex justify-between mb-4 border-b border-gray-200 dark:border-gray-700" wire:ignore> <ul class="flex flex-wrap -mb-px text-sm font-medium text-center text-gray-500 dark:text-gray-400" id="tabExample" role="tablist"> <li class="mr-2" role="presentation"> <button class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="info" type="button" role="tab" aria-controls="info-section" aria-selected="false">اطلاعات کلی </button> </li> <li class="mr-2" role="presentation"> <button class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="description" type="button" role="tab" aria-controls="description-section" aria-selected="false">توضیحات تکمیلی </button> </li> <li class="mr-2 " role="presentation"> <button wire:click='dispatch("clickChat")' class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="chatOrder" type="button" role="tab" aria-controls="chat-section" aria-selected="false"> گفتگو </button> </li> <li class="mr-2" role="presentation"> <button class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="files" type="button" role="tab" aria-controls="files-section" aria-selected="false">فایل های طراحی شده </button> </li> <li class="mr-2" role="presentation"> <button class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="treeD" type="button" role="tab" aria-controls="treeD-section" aria-selected="false">فایل های سه بعدی </button> </li> <li class="mr-2" role="presentation"> <button class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="oldfiles" type="button" role="tab" aria-controls="oldfiles-section" aria-selected="false"> طرح های قبلی </button> </li> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <li class="mr-2" role="presentation"> <button class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="payment" type="button" role="tab" aria-controls="payment-section" aria-selected="false"> اطلاعات پرداخت </button> </li> <li class="mr-2" role="presentation"> <button class="inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300" id="log" type="button" role="tab" aria-controls="log-section" aria-selected="false">گزارش تغییر وضعیت </button> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </ul> <a onclick="back()" class="pl-4 cursor-pointer hover:text-main-700 inline-block mt-2 "><i class='text-3xl bx bx-x'></i></a> </div> <div wire:ignore id="tabContentExample" class="overflow-y-scroll h-[75vh]"> <div dir="rtl" class="p-4 rounded-lg " id="info-section" role="tabpanel" aria-labelledby="info"> <form wire:submit.prevent="editOrder(Object.fromEntries(new FormData($event.target)))"> <div class="w-full pl-3 pr-2 mx-auto "> <div class="flex flex-wrap items-start justify-start w-full mb-4"> <div class=" w-full mb-5"> <div class="flex items-start justify-start"> <label class="block mb-2 text-sm text-right text-black">نام مشتری :</label> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($customer): ?> <div x-data="{ open: false }"> <i @click="open = ! open" class='mx-3 text-2xl text-green-800 cursor-pointer bx bxs-edit'></i> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.modal', ['name' => 'admin.pages.modal.user.edit','arguments' => ["customer_id" => $customer->id,"loading"=>"false","other"=>"order"]]); $__key = null; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-2', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg p-3 focus:ring-main-700 focus:border-main-700 block w-full "> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.chat.name-row',['order_id'=>$order->id,'city'=>'true']); $__key = null; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-3', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> </div> <div wire:ignore class="ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> نوع سفارش :</label> <select wire:ignore <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="category_id" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if($order->category_id == $row->id): ?> selected="selected" <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e($row->title); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </select> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['category_id']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.error-validate', ['message' => $message]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-4', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div class="ml-1 w-full lg:w-[24.5%] mb-5" wire:ignore> <label class="block mb-2 text-sm text-right text-black"> انتخاب طراح :</label> <select wire:ignore name="employe_id" <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> <option value="0">انتخاب کنید</option> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $employes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if($order->employe_id == $row->id): ?> selected="selected" <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e($row->first_name); ?> <?php echo e($row->last_name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </select> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['employe_id']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.error-validate', ['message' => $message]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-5', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll == 'manager_designer'): ?> <div class=" ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> تخمین تایم :</label> <input type="text" value="<?php echo e(\App\Helpers\dateConvert($order->time_estimate,'formatS')); ?>" class=" bg-gray-100 number-separator border border-gray-300 text-gray-900 text-sm rounded-lg py-2 focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> </div> <?php else: ?> <div class="ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> تخمین تایم :</label> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.date-time-picker', ['displayFormat' => 'jYYYY-jMM-jDD','placeholder' => 'انتخاب کنید ...','dispatch' => 'false','js' => 'from','display_format' => 'jYYYY-jMM-jDD','format' => 'YYYY-MM-DD','name' => 'time_estimate','min' => 'vuetime_estimate','vModel' => 'date','type' => 'date','methode' => 'set_date']); $__key = null; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-6', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <input type="hidden" value="<?php echo e($order->time_estimate); ?>" id="date_depositvuetime_estimate"> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <div class=" ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> قیمت (مبلغ سفارش) :</label> <input type="text" name="price" value="<?php echo e(number_format($order->price)); ?>" class=" disablecopypaste number-separator border border-gray-300 text-gray-900 text-sm rounded-lg py-2 focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <div class="ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black">کد سفارش :</label> <input type="text" <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="number" value="<?php echo e($order->number); ?>" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border border-gray-300 text-gray-900 text-sm rounded-lg py-2 focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> </div> <div wire:ignore class="w-full lg:w-[24.5%] ml-1 mb-5"> <label class="block mb-2 text-sm text-right text-black"> وضعیت طراحی :</label> <select wire:ignore <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="status_em_services" class=" <?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $status_service; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if(Str::contains($order->status_em_services, $item->title) == 1): ?> selected="selected" <?php endif; ?> value="<?php echo e($item->title); ?>"><?php echo e($item->title); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </select> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['status_em_services']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.error-validate', ['message' => $message]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-7', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div wire:ignore class="w-full lg:w-[24.5%] ml-1 mb-5"> <label class="block mb-2 text-sm text-right text-black">وضعیت سفارش :</label> <select <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="status_services" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $status; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if(Str::contains($order->status_services, $item->title) == 1): ?> selected="selected" <?php endif; ?> value="<?php echo e($item->title); ?>"><?php echo e($item->title); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </select> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['status_services']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.error-validate', ['message' => $message]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-8', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <div wire:ignore class="w-full lg:w-[24.5%] ml-1 mb-5"> <label class="block mb-2 text-sm text-right text-black"> پلتفرم ثبت سفارش :</label> <select wire:ignore name="platform" class=" border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $platforms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if($order->platform == $row->title): ?> selected="selected" <?php endif; ?> value="<?php echo e($row->title); ?>"> <?php echo e($row->title); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </select> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['platform']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.error-validate', ['message' => $message]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-9', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <div class="ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> نام متریال :</label> <input type="text" <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="material_name" value="<?php echo e($order->material_name); ?>" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border border-gray-300 text-gray-900 text-sm rounded-lg py-2 focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> </div> <div class=" ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> کد متریال :</label> <input type="text" <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="material_code" value="<?php echo e($order->material_code); ?>" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border border-gray-300 text-gray-900 text-sm rounded-lg py-2 focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> </div> <div wire:ignore class="w-full lg:w-[24.5%] ml-1 mb-5"> <label class="block mb-2 text-sm text-right text-black"> امکان ویرایش :</label> <select wire:ignore <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="status" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> <option <?php if($order->status == 'send'): ?> selected="selected" <?php endif; ?> value="send">خیر </option> <option <?php if($order->status == 'pending'): ?> selected="selected" <?php endif; ?> value="pending"> بله </option> </select> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['status']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.error-validate', ['message' => $message]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-10', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div wire:ignore class="ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> طراح ویرایش کننده :</label> <select wire:ignore wire:ignore <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="employe_editor_id" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> <option value="0">انتخاب کنید</option> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $employes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if($order->employe_editor_id == $row->id): ?> selected="selected" <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e($row->first_name); ?> <?php echo e($row->last_name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </select> </div> <div class=" ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black"> ویرایش :</label> <input type="text" <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="edit" value="<?php echo e($order->edit); ?>" class="<?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border border-gray-300 text-gray-900 text-sm rounded-lg py-2 focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> </div> <div class="ml-1 w-full lg:w-[24.5%] mb-5"> <label class="block mb-2 text-sm text-right text-black">نام سفارش :</label> <input type="text" <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="name" value="<?php if($order->name): ?> <?php echo e($order->name); ?> <?php else: ?> --- <?php endif; ?> " class=" <?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> border border-gray-300 text-gray-900 text-sm rounded-lg py-2 focus:ring-main-700 focus:border-main-700 block w-full p-2.5 "> </div> <div class=" w-full lg:flex justify-between items-center"> <div class=" ml-1 <?php if(Auth::user()->roll == 'manager_designer'): ?> lg:w-full <?php else: ?> lg:w-6/12 <?php endif; ?> w-full mb-5"> <label class="block mb-2 text-sm text-right text-black"> توضیحات :</label> <textarea <?php if(Auth::user()->roll == 'manager_designer'): ?> disabled="disabled" <?php endif; ?> name="order_description" rows="4" class=" <?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> block w-full py-0 pr-2 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700" type="text" placeholder="توضیحات ...."><?php echo e($order->order_description); ?></textarea> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <div class=" ml-1 w-full lg:w-6/12 mb-5"> <label class="block mb-2 text-sm text-right text-black"> اطلاعات تماس :</label> <textarea name="description_tell" rows="4" class=" <?php if(Auth::user()->roll == 'manager_designer'): ?> bg-gray-100 <?php endif; ?> block w-full py-0 pr-2 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700" type="text" placeholder=" اطلاعات تماس ...."><?php echo e($order->description_tell); ?></textarea> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <div class="flex items-end justify-end w-full mb-4"> <div class=" w-[18.8%]"> <button wire:loading.attr="disabled" type="submit" class="w-full py-2 text-sm text-center text-white rounded-md bg-main-800 hover:text-white hover:bg-main-700 focus:outline-none"> ثبت <svg wire:loading class="w-5 h-5 mr-3 -ml-1 text-white animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" > <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" ></circle> <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" ></path> </svg> </button> </div> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </form> </div> <div wire:ignore class="hidden p-4 rounded-lg dark:bg-gray-800" id="description-section" role="tabpanel" aria-labelledby="description"> <form method="POST" enctype="multipart/form-data" wire:submit.prevent="setDescription(Object.fromEntries(new FormData($event.target)))"> <div class="items-start justify-between space-y-6 md:space-y-0 md:flex"> <div class="md:pl-2 md:w-full"> <label class="block mb-2 text-sm text-right text-black"> توضیحات :</label> <textarea name="description" rows="4" class=" border py-3 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 " type="text" placeholder="توضیحات ...."><?php echo e($order->description); ?></textarea> </div> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <div class="flex justify-end my-10"> <button wire:loading.attr="disabled" type="submit" class="w-full py-3 text-sm text-center text-white rounded-md bg-main-800 xl:w-3/12 hover:text-white hover:bg-main-700 focus:outline-none"> ثبت <svg wire:loading class="w-5 h-5 mr-3 -ml-1 text-white animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" > <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" ></circle> <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" ></path> </svg> </button> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </form> </div> <div wire:ignore class="hidden rounded-lg dark:bg-gray-800" id="chatOrder-section" role="tabpanel" aria-labelledby="chatOrder"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.message.order', ['orderId' => $order->id,'order_id' => $order->id]); $__key = 3; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-11', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <div wire:ignore class="hidden rounded-lg dark:bg-gray-800" id="files-section" role="tabpanel" aria-labelledby="files"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.order.files.file', ['order' => $order]); $__key = '1'; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-12', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <div wire:ignore class="hidden rounded-lg dark:bg-gray-800" id="treeD-section" role="tabpanel" aria-labelledby="treeD"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.order.files.three-d', ['order' => $order]); $__key = '2'; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-13', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <div wire:ignore class="hidden rounded-lg dark:bg-gray-800" id="oldfiles-section" role="tabpanel" aria-labelledby="oldfiles"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.order.files.old-user', ['order' => $order]); $__key = '3'; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-14', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <div wire:ignore class="hidden px-4 rounded-lg dark:bg-gray-800" id="payment-section" role="tabpanel" aria-labelledby="payment-section"> <div class="lg:flex items-center justify-between mb-3"> <div class="w-full xl:w-3/12"> <button onclick="button_show_modal()" data-id="<?php echo e($order->id); ?>" class=" w-full lg:inline-block lg:w-auto mb-3 lg:mb-auto p-2 text-xs bold text-center text-white rounded bg-main-800 hover:text-white hover:bg-main-700 focus:outline-none"> دریافت و پرداخت </button> <a href="/admin/payment/users/<?php echo e($order->id); ?>" target="_blank" class=" block lg:inline-block w-full lg:w-auto mb-3 lg:mb-auto p-2 text-xs bold text-center text-white rounded bg-blue-600 hover:text-white hover:bg-main-700 focus:outline-none"> مشاهده کلیه تراکنش های این سفارش </a> </div> <div class="w-full lg:flex items-center justify-end lg:w-3/12"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($order->customer): ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($order->factor): ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($order->factorhas): ?> <a href="/admin/factor/edit/<?php echo e($order->factorhas->id); ?>" class="w-full bold mb-2 xl:mb-0 py-2 text-xs text-center text-white bg-green-800 rounded xl:w-6/12 hover:text-white hover:bg-main-700 focus:outline-none"> ویرایش فاکتور </a> <a href="<?php echo e($order->factor); ?>" target="_blank" class="w-full bold py-2 text-xs mr-2 text-center text-white bg-blue-600 rounded xl:w-6/12 hover:text-white hover:bg-blue-500 hover:bg-main-700 focus:outline-none"> مشاهده فاکتور </a> <?php else: ?> <a href="/admin/factor/add/<?php echo e($order->customer->id); ?>/<?php echo e($order->id); ?>" class="w-full bold py-2 text-xs text-center text-white bg-green-800 rounded xl:w-9/12 hover:text-white hover:bg-main-700 focus:outline-none"> صدور فاکتور </a> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php else: ?> <a href="/admin/factor/add/<?php echo e($order->customer->id); ?>/<?php echo e($order->id); ?>" class=" block w-full bold py-2 text-xs text-center text-white bg-green-800 rounded xl:w-9/12 hover:text-white hover:bg-main-700 focus:outline-none"> صدور فاکتور </a> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </div> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.financial.document.table', ['customerId' => $order->customer_id,'userId' => $order->services_id,'outFilter' => 'form','customer_id' => $order->customer_id,'user_id' => $order->services_id,'out_filter' => 'form']); $__key = 4; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-15', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <div wire:ignore class="hidden p-4 rounded-lg dark:bg-gray-800" id="log-section" role="tabpanel" aria-labelledby="log"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.table.dashboard.admin', ['orderId' => $order->id,'order_id' => $order->id]); $__key = 1; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1844478182-16', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </div> </div> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('/js/slimselect.min.js')); ?>"></script> <script src="<?php echo e(asset('/js/persian_date/vue.js')); ?>"></script> <script src="<?php echo e(asset('/js/persian_date/moment.js')); ?>"></script> <script src="<?php echo e(asset('/js/persian_date/moment-jalaali.js')); ?>"></script> <script src="<?php echo e(asset('/js/persian_date/vue-persian-datetime-picker-browser.js')); ?>"></script> <script src="<?php echo e(asset('/js/easy-number-separator.js')); ?>"></script> <script> function button_show_modal() { $('#button_show_modal').click(); } function collapsable(number) { $('#collapsable_' + number).next().toggle() } // create an array of objects with the id, trigger element (eg. button), and the content element <?php if(Auth::user()->roll != 'manager_designer'): ?> const tabElements = [ { id: 'info', triggerEl: document.querySelector('#info'), targetEl: document.querySelector('#info-section') }, { id: 'description', triggerEl: document.querySelector('#description'), targetEl: document.querySelector('#description-section') }, { id: 'chatOrder', triggerEl: document.querySelector('#chatOrder'), targetEl: document.querySelector('#chatOrder-section') }, { id: 'files', triggerEl: document.querySelector('#files'), targetEl: document.querySelector('#files-section') }, { id: 'treeD', triggerEl: document.querySelector('#treeD'), targetEl: document.querySelector('#treeD-section') }, { id: 'oldfiles', triggerEl: document.querySelector('#oldfiles'), targetEl: document.querySelector('#oldfiles-section') }, { id: 'payment', triggerEl: document.querySelector('#payment'), targetEl: document.querySelector('#payment-section') }, { id: 'log', triggerEl: document.querySelector('#log'), targetEl: document.querySelector('#log-section') } ]; <?php else: ?> const tabElements = [ { id: 'info', triggerEl: document.querySelector('#info'), targetEl: document.querySelector('#info-section') }, { id: 'chatOrder', triggerEl: document.querySelector('#chatOrder'), targetEl: document.querySelector('#chatOrder-section') }, { id: 'description', triggerEl: document.querySelector('#description'), targetEl: document.querySelector('#description-section') }, { id: 'files', triggerEl: document.querySelector('#files'), targetEl: document.querySelector('#files-section') }, { id: 'treeD', triggerEl: document.querySelector('#treeD'), targetEl: document.querySelector('#treeD-section') }, { id: 'oldfiles', triggerEl: document.querySelector('#oldfiles'), targetEl: document.querySelector('#oldfiles-section') }, ]; <?php endif; ?> // options with default values const options = { defaultTabId: 'info', activeClasses: 'text-main-800 hover:text-main-700 border-main-700', inactiveClasses: 'text-gray-500 hover:text-gray-600 border-gray-100 hover:border-gray-300', onShow: () => { } }; const tabs = new Tabs(tabElements, options); const element = document.getElementById('messages'); window.onload = function () { window.Livewire.find('<?php echo e($_instance->getId()); ?>'). on('scrollDown', () => { element.scrollTop = element.scrollHeight; }) } let lastScrollTop = 0; element.onscroll = (e) => { if (element.scrollTop < lastScrollTop) { $('#loadMoreTag').click(); } // lastScrollTop = element.scrollTop <= 0 ? 0 : element.scrollTop; } function back() { window.history.back(); } $('#loadingSpinner').hide(); $('.hover_image').hover(function () { $(this).find('.absolute').toggleClass('hidden flex'); }) document.addEventListener('livewire:initialized', () => { window.Livewire.find('<?php echo e($_instance->getId()); ?>'). on('startLoading', Newdata => { $('#loadingSpinner').show(); }) window.Livewire.find('<?php echo e($_instance->getId()); ?>').on('endLoading', Newdata => { $('#loadingSpinner').hide(); }) }); <?php if($tabClick): ?> document.addEventListener('livewire:initialized', () => { $('#<?php echo e($tabClick); ?>').click(); }) <?php endif; ?> </script> <?php $__env->stopSection(); ?> <?php /**PATH /home2/cutunixc/repositories/npln/resources/views/livewire/admin/pages/dashboard/order/show.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa