���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: 548fb160cbd2f5da983a3ecc1304e8bf.php
<?php $__env->startSection('styles'); ?> <link href="<?php echo e(asset('/css/slimselect.min.css')); ?>" rel="stylesheet"> <?php $__env->stopSection(); ?> <div class="bg-white w-[98%] pb-4 mx-auto"> <!---- modal-pay-information -----> <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]]); $__html = app('livewire')->mount($__name, $__params, 'lw-3129219225-0', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); 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]]); $__html = app('livewire')->mount($__name, $__params, 'lw-3129219225-1', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </li> </ul> </div> </div> </div> </div> </div> <!---- page -----> <div class=" 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"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.info')): ?> <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 " id="info" type="button" role="tab" aria-controls="info-section" aria-selected="false"> اطلاعات کلی </button> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.description')): ?> <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 " id="description" type="button" role="tab" aria-controls="description-section" aria-selected="false">توضیحات تکمیلی </button> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.slices')): ?> <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 " id="infoOrder" type="button" role="tab" aria-controls="infoOrder-section" aria-selected="false"> اطلاعات سفارش </button> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.chat')): ?> <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 " id="chatOrder" type="button" role="tab" aria-controls="chat-section" aria-selected="false"> گفتگو </button> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.payment')): ?> <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 " id="payment" type="button" role="tab" aria-controls="payment-section" aria-selected="false"> اطلاعات پرداخت </button> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.log')): ?> <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 " id="log" type="button" role="tab" aria-controls="log-section" aria-selected="false">گزارش تغییر وضعیت </button> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.logEm')): ?> <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 " id="logEm" type="button" role="tab" aria-controls="log-em-section" aria-selected="false"> گزارش تغییر وضعیت کارگاه </button> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.info')): ?> <?php if($order->number): ?> <li class="mr-2"> <button class="inline-block p-4 font-bold text-black rounded-t-lg ">شماره سفارش : <?php echo e($order->number); ?></button> </li> <?php 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]"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.info')): ?> <!----Status Order -----> <div class=" mb-5 px-2"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.order.status', ['orderId' => $order->id,'order_id' => $order->id]); $__html = app('livewire')->mount($__name, $__params, 'lw-3129219225-2', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <!----Tabs -----> <div dir="rtl" class="p-4 rounded-lg " id="info-section" role="tabpanel" aria-labelledby="info"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.dashboard.order.edit', ['order' => $order,'customer' => $customer]); $__html = app('livewire')->mount($__name, $__params, 'lw-3129219225-3', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.description')): ?> <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> <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> </form> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.slices')): ?> <div wire:ignore class="hidden rounded-lg dark:bg-gray-800" id="infoOrder-section" role="tabpanel" aria-labelledby="infoOrder"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.order.slices', ['orderId' => $order->id,'servicesId' => $order->services_id,'order_id' => $order->id,'services_id' => $order->services_id]); $__html = app('livewire')->mount($__name, $__params, 5, $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.chat')): ?> <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]); $__html = app('livewire')->mount($__name, $__params, 3, $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.payment')): ?> <div wire:ignore class="hidden px-4 rounded-lg dark:bg-gray-800" id="payment-section" role="tabpanel" aria-labelledby="payment-section"> <div class="flex items-center justify-between mb-3"> <button onclick="button_show_modal()" data-id="<?php echo e($order->id); ?>" class="w-full py-2 text-xs font-semibold text-center text-white rounded bg-main-800 xl:w-1/12 hover:text-white hover:bg-main-700 focus:outline-none"> رکورد جدید </button> <div class=" xl:flex items-center w-3/12"> <?php if($order->customer): ?> <?php if($order->factor): ?> <?php if($order->factorhas): ?> <a href="/admin/factor/edit/<?php echo e($order->factorhas->id); ?>" class="w-full 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-green-700 focus:outline-none"> ویرایش فاکتور </a> <a href="<?php echo e($order->factor); ?>" target="_blank" class="w-full 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 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 py-2 text-xs text-center text-white bg-green-800 rounded xl:w-9/12 hover:text-white hover:bg-green-700 focus:outline-none"> صدور فاکتور </a> <?php endif; ?> <?php else: ?> <a href="/admin/factor/add/<?php echo e($order->customer->id); ?>/<?php echo e($order->id); ?>" class="w-full py-2 text-xs text-center text-white bg-green-800 rounded xl:w-9/12 hover:text-white hover:bg-green-700 focus:outline-none"> صدور فاکتور </a> <?php endif; ?> <?php endif; ?> </div> </div> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.financial.document.table', ['orderId' => $order->id,'userId' => $order->services_id,'order_id' => $order->id,'user_id' => $order->services_id]); $__html = app('livewire')->mount($__name, $__params, 4, $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.log')): ?> <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]); $__html = app('livewire')->mount($__name, $__params, 1, $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.logEm')): ?> <div wire:ignore class="hidden p-4 rounded-lg dark:bg-gray-800" id="log-em-section" role="tabpanel" aria-labelledby="logEm"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.table.dashboard.admin', ['orderId' => $order->id,'order_id' => $order->id,'em' => 'true']); $__html = app('livewire')->mount($__name, $__params, 2, $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <?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 const tabElements = [ <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.info')): ?> { id: 'info', triggerEl: document.querySelector('#info'), targetEl: document.querySelector('#info-section') }, <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.description')): ?> { id: 'description', triggerEl: document.querySelector('#description'), targetEl: document.querySelector('#description-section') }, <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.slices')): ?> { id: 'infoOrder', triggerEl: document.querySelector('#infoOrder'), targetEl: document.querySelector('#infoOrder-section') }, <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.chat')): ?> { id: 'chatOrder', triggerEl: document.querySelector('#chatOrder'), targetEl: document.querySelector('#chatOrder-section') }, <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.payment')): ?> { id: 'payment', triggerEl: document.querySelector('#payment'), targetEl: document.querySelector('#payment-section') }, <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.log')): ?> { id: 'log', triggerEl: document.querySelector('#log'), targetEl: document.querySelector('#log-section') }, <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('orders.logEm')): ?> { id: 'logEm', triggerEl: document.querySelector('#logEm'), targetEl: document.querySelector('#log-em-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); let lastScrollTop = 0; document.addEventListener('livewire:initialized', () => { window.addEventListener('scrollDown', (Newdata) => { const element = document.getElementById('messages'); element.scrollTop = element.scrollHeight; 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(); }) }); </script> <?php $__env->stopSection(); ?> <?php /**PATH /home2/cutunixc/repositories/cutunix/resources/views/livewire/admin/pages/dashboard/order/show.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa