���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: 59f402ba57cac5c8c871a3f1ad7a6f99.php
<div class="w-[98%] mx-auto "> <form method="POST" id= 'form' class="p-2 bg-white rounded shadow-lg " enctype="multipart/form-data" wire:submit.prevent="submit(Object.fromEntries(new FormData($event.target)))"> <section > <div class="py-3 text-center "> <h2 class="text-lg font-thin text-main-800 xl:font-bold"> ویرایش سفارش </h2> </div> <div class="py-3 mb-3 text-center separator" > <h2 class="px-5 text-base font-thin text-black xl:font-bold" dir="ltr"> <?php echo e($number); ?> شماره سفارش </h2> </div> </section> <section class=" w-full"> <div class="mb-2 " x-init="$watch( () => $nextTick(() => runScript(1)))" > <div class="px-2 pt-4 ca-box"> <div class="flex flex-wrap w-full mx-auto "> <div class="flex items-start justify-start flex-wrap w-full mb-4"> <div class="w-full lg:w-3/12 xl:w-[14.2%] mb-4"> <div class="mx-auto w-[98%]"> <select wire:model.live.lazy="form.product_id" class="block w-full h-9 py-0 !pr-3 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value=""> ورق متفرقه </option> <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($item->id); ?>"> <?php echo e($item->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <select wire:model.live.lazy="form.wood_thickness" class="block w-full h-9 py-0 !pr-3 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0"> ضخامت ورق </option> <option value="3">3</option> <option value="8">8</option> <option value="16">16</option> <option value="25">25</option> <option value="32">32</option> </select> </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <select wire:model.live.lazy="form.color_strip" class="block w-full h-9 py-0 !pr-3 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0"> رنگ نوار </option> <option value="color"> همرنگ </option> <option value="other"> غیره </option> </select> </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <select wire:model.live.lazy="form.width_strip" class="block w-full h-9 py-0 !pr-3 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"> 1 میل </option> <option value="2"> 2 میل </option> </select> </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <select wire:model.live.lazy="form.height_strip" class="block w-full h-9 py-0 !pr-3 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0"> عرض نوار </option> <option value="single"> تک </option> <option value="double"> دوبل </option> </select> </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <select wire:model.live.lazy="form.wood_type" class="block w-full h-9 py-0 !pr-3 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0"> مغزی </option> <option value="نئوپان">نئوپان</option> <option value="ام دی اف">ام دی اف</option> <option value="فومیزه">فومیزه</option> <option value="هایگلاس">هایگلاس</option> <option value="صفحه">صفحه</option> </select> </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <textarea wire:model.live.lazy="form.panel_description" rows="1" class="block w-full h-9 py-1 !pr-3 text-xs text-gray-900 border border-gray-300 rounded 3xl:h-9 focus:ring-main-700 focus:border-main-700 placeholder-slate-400" type="text" placeholder=" نام و کد ورق "></textarea> </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <input type="text" placeholder="عرض ورق" wire:model.live.lazy="form.panel_width" class="block w-full h-9 py-0 !pr-3 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700" > </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <input type="text" wire:model.live.lazy="form.panel_height" placeholder="طول ورق" class="block w-full h-9 py-0 !pr-3 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700" > </div> </div> <div class="w-full lg:w-3/12 xl:w-[14.2%] "> <div class="mx-auto w-[98%]"> <input type="checkbox" checked="checked" wire:model.live.lazy="form.rotate_status" class="text-red-900 border-2 border-red-900 cursor-pointer focus:border-red-900 focus:ring-red-900"> <span class="mr-5 text-sm text-black"> چرخش کل قطعات </span> </div> </div> </div> </div> <section class="flex separator items-center justify-between w-full pb-5"> <div class="flex items-start justify-center flex-col lg:flex-row px-2 "> <button wire:click="handelSlice('increment')" type="button" class=" w-full mb-3 lg:mb-0 lg:w-auto h-7 text-xs bold flex justify-center items-center bg-gray-50 ml-2 border-green-500 hover:bg-green-50 border rounded cursor-pointer pl-2"> <i class='mx-1 text-xl bx bx-plus text-green-500' ></i> <span wire:loading.class="!hidden " wire:target="handelSlice('increment')" class="flex w-full justify-center items-center"> افزودن سطر </span> <section wire:loading wire:target="handelSlice('increment')" wire:loading.class=" w-full flex justify-center items-start "> <?php echo $__env->make('components.layouts.general.miniLoadingButton',['without_text'=>'true'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </section> </button> <button wire:click="handelSlice('decrement')" type="button" class=" w-full mb-3 lg:mb-0 lg:w-auto h-7 text-xs bold flex justify-center items-center bg-gray-50 border-red-500 hover:bg-red-50 border rounded cursor-pointer pl-2"> <i class='mx-1 text-xl bx bx-minus text-red-500' ></i> <span wire:loading.class="!hidden " wire:target="handelSlice('decrement')" class="flex w-full justify-center items-center"> کاهش سطر </span> <section wire:loading wire:target="handelSlice('decrement')" wire:loading.class=" w-full flex justify-center items-start "> <?php echo $__env->make('components.layouts.general.miniLoadingButton',['without_text'=>'true'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </section> </button> </div> </section> <div class="w-full"> <table dir="ltr" class="arrow border-separate "> <tbody> <?php for($s = 0; $s < $form['num_slice']; $s++): ?> <tr class=" w-full "> <td dir="rtl" class="w-[10%] pb-1 "> <textarea wire:focus="handelSlice('increment')" wire:model.live.lazy="form.slice.<?php echo e($s); ?>.description" rows="1" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-1 !pr-3 text-xs text-gray-900 border border-gray-300 rounded description h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700 placeholder-slate-400" type="text" placeholder="توضیحات ...."></textarea> </td> <td dir="rtl" class="w-[10%] flex items-center justify-end h-7 3xl:h-9 ml-[.1rem]"> <input type="checkbox" checked="checked" wire:model.live.lazy="form.slice.<?php echo e($s); ?>.rotate_status" class="text-red-900 border-2 border-red-900 cursor-pointer focus:border-red-900 focus:ring-red-900"> <span class="mr-2 text-sm text-black"> چرخش</span> </td> <td dir="rtl" class="w-[11.9%] ml-[.1rem]"> <select wire:model.live.lazy="form.slice.<?php echo e($s); ?>.width_two" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-0 !pr-3 text-xs text-gray-900 border border-gray-300 rounded h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700"> <option value="0"> عرض دو</option> <option value="1">نوار</option> <option value="2">فارسی</option> <option value="3">شیار</option> <option value="0">هیچکدام</option> </select> </td> <td dir="rtl" class="w-[11.9%] ml-[.1rem]"> <select wire:model.live.lazy="form.slice.<?php echo e($s); ?>.width_one" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-0 !pr-3 text-xs text-gray-900 border border-gray-300 rounded h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700"> <option value="0"> عرض یک</option> <option value="1">نوار</option> <option value="2">فارسی</option> <option value="3">شیار</option> <option value="0">هیچکدام</option> </select> </td> <td dir="rtl" class="w-[11.9%] ml-[.1rem]"> <select wire:model.live.lazy="form.slice.<?php echo e($s); ?>.length_two" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-0 !pr-3 text-xs text-gray-900 border border-gray-300 rounded h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700"> <option value="0">طول دو</option> <option value="1">نوار</option> <option value="2">فارسی</option> <option value="3">شیار</option> <option value="0">هیچکدام</option> </select> </td> <td dir="rtl" class="w-[11.9%] ml-[.1rem]"> <select wire:model.live.lazy="form.slice.<?php echo e($s); ?>.length_one" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-0 !pr-3 text-xs text-gray-900 border border-gray-300 rounded h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700"> <option value="0">طول یک</option> <option value="1">نوار</option> <option value="2">فارسی</option> <option value="3">شیار</option> <option value="0">هیچکدام</option> </select> </td> <td dir="rtl" class="w-[10%] ml-[.1rem]"> <input placeholder="تعداد" wire:model.live.lazy="form.slice.<?php echo e($s); ?>.count" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-0 !pr-3 text-xs text-gray-900 border border-gray-300 text-center bold rounded h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700" > </td> <td dir="rtl" class="w-[10%] ml-[.1rem]"> <input placeholder="عرض" wire:model.live.lazy="form.slice.<?php echo e($s); ?>.width" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-0 !pr-3 text-xs text-gray-900 border border-gray-300 text-center bold rounded h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700" > </td> <td dir="rtl" class="w-[10%] ml-[.1rem]"> <input wire:model.live.lazy="form.slice.<?php echo e($s); ?>.length" placeholder="طول" class="<?php echo e(($s+1)%2 == 0 ? 'bg-main-400' : 'bg-white'); ?> block w-full py-0 !pr-3 text-xs text-gray-900 border border-gray-300 text-center bold rounded h-7 3xl:h-9 focus:ring-main-700 focus:border-main-700" > </td> <td dir="rtl" class="w-[4%] ml-[.1rem] "> <span class=" w-full py-0 !pr-0 text-xs text-gray-900 h-7 3xl:h-9 flex items-center rounded justify-center text-center bold border-2 border-red-700 border-dashed focus:!ring-0" > <?php if(1 < ($s+1)): ?> <i wire:click="removeSliceRow('<?php echo e($s); ?>')" class='bx bx-x text-xl text-red-600 cursor-pointer ml-1'></i> <?php endif; ?> <?php echo e($s+1); ?> </span> </td> </tr> <?php endfor; ?> </tbody> </table> </div> </div> </div> </section> <section class="flex flex-wrap justify-end w-full pl-3 !pr-3 mx-auto mt-8 "> <div class="flex items-end justify-end w-full mb-6 lg:!pr-3 lg:w-2/12"> <a href="<?php echo e(url()->previous()); ?>" class=" flex justify-center items-center w-full h-8 mx-2 text-sm text-white rounded cursor-pointer bg-blue-700 focus:outline-none "> انصراف </a> <button type="submit" class="flex justify-center items-center w-full h-8 text-sm text-white rounded cursor-pointer bg-main-800 focus:outline-none "> <span wire:loading.class="!hidden " wire:target='submit' class="flex w-full justify-center items-center"> ذخیره </span> <section wire:loading wire:target='submit' wire:loading.class=" w-full flex justify-center items-start "> <?php echo $__env->make('components.layouts.general.miniLoadingButton',['without_text'=>'true'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </section> </button> </div> </section> </form> </div> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('/js/arrow-table.js')); ?>"></script> <script> function runScript(id) { $('.arrow').arrowTable({ focusTarget: 'input,select,textarea', listenTarget: 'input,select,textarea' }); } </script> <?php $__env->stopSection(); ?> <?php /**PATH /home2/cutunixc/repositories/cutunix/resources/views/livewire/admin/pages/order/edit.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa