���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
/
resources
/
views
/
livewire
/
admin
/
pages
/
order
/
Viewing: slices.blade.php
<div wire:poll> @if (count($groups) > 0) <div class="flex items-center px-4 justify-between mb-3"> <a href="/admin/order/add-group/{{ $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"> افزودن گروه </a> </div> @foreach ($groups as $group) <div class="w-[98%] mx-auto px-2 mb-2 border border-black rounded"> <div class="flex items-center justify-start border-b border-gray-300" id="collapsable_{{ $group->id }}"> <div class=" w-[95%] border-l border-gray-300"> <div class="flex items-center justify-start py-1 border-b border-gray-300"> <div class="flex items-center justify-start w-[16.6%]"> <div > <img src="{{ asset('/images/logo.png') }}" class="w-16 h-16 rounded" > </div> <div class="pr-3 text-right"> @if ($group->product_id) <span class="block mb-3 text-xs"> {{ $group->panel_description}} </span> <div class="flex items-center justify-start text-[.72rem] text-gray-400 "> <span>کد محصول :</span> <span class="inline-block mx-1 ">{{ $group->product_id }}</span> </div> @else <span class="block mb-3 text-xs"> {{ $group->panel_description}} </span> @endif </div> </div> <div class="w-[16.6%] "> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span class=" font-bold"> تعداد ورق :</span> <span class="inline-block mx-1 font-bold">{{ $group->sheets }}</span> </div> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span> طول پنل :</span> <span class="inline-block mx-1 ">{{ $group->panel_height }}</span> </div> <div class="flex items-center justify-start text-[.72rem] "> <span> عرض پنل :</span> <span class="inline-block mx-1 ">{{ $group->panel_width }}</span> </div> </div> <div class="w-[16.6%] "> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span class=" font-bold"> تعداد قطعه :</span> <span class="inline-block mx-1 font-bold">{{ $group->slice_count }}</span> </div> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span> ضخامت ورق :</span> <span class="inline-block mx-1 ">{{ $group->wood_thickness }}</span> </div> <div class="flex items-center justify-start text-[.72rem] "> <span> مغزی :</span> <span class="inline-block mx-1 ">{{ $group->wood_type }}</span> </div> </div> <div class="w-[16.6%]"> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span class=" font-bold"> PVC :</span> <span class="inline-block mx-1 font-bold" dir="ltr">{{ $group->navar }} cm</span> </div> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span> رنگ نوار :</span> <span class="inline-block mx-1 "> @if ( $group->color_strip == 'color') همرنگ @elseif ( $group->color_strip == 'other') غیره @else ---- @endif </span> </div> <div class="flex items-center justify-start text-[.72rem] "> <span class=" "> ضخامت نوار :</span> <span class="inline-block mx-1 "> @if ( $group->width_strip == '1') 1 میل @elseif ( $group->width_strip == '2') 2 میل @else ---- @endif </span> </div> </div> <div class="w-[16.6%] "> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span class="font-bold"> فارسی :</span> <span class="inline-block mx-1 font-bold" dir="ltr">{{ $group->farsi }} cm</span> </div> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span> عرض نوار :</span> <span class="inline-block mx-1 "> @if ( $group->height_strip == 'single') تک @elseif ( $group->height_strip == 'double') دوبل @else ---- @endif </span> </div> </div> <div class="w-[16.6%] "> <div class="flex items-center justify-start mb-1 text-[.72rem] "> <span class="font-bold"> شیار :</span> <span class="inline-block mx-1 font-bold" dir="ltr">{{ $group->shiar }} cm</span> </div> <div class="flex items-center justify-start text-[.72rem] "> <span> چرخش قطعات :</span> <span class="inline-block mx-1 "> @if ( $group->rotate_status == 'true') فعال @else غیر فعال @endif </span> </div> </div> </div> <div class="flex items-center justify-start py-1 border-b border-gray-300"> <div class="w-3/12 pl-2"> <a target="_blank" href="/admin/order/edit/{{ $group->id }}" class="block w-full py-1 text-sm text-center text-white bg-green-700 rounded-md cursor-pointer hover:text-white hover:bg-green-600 focus:outline-none"> ویرایش گروه </a> </div> @if ($group->order_form) <div class="w-3/12 pl-2 "> <a target="_blank" href="https://shot.cutunix.com/{{$group->order_form }}" class="block w-full py-1 text-sm text-center text-white bg-blue-700 rounded-md cursor-pointer hover:text-white hover:bg-blue-600 focus:outline-none"> مشاهده فرم سفارش </a> </div> @endif @if ($group->opticut == 'not_run' ) <div class="w-3/12 "> <div class="flex items-center justify-start text-[.72rem] "> <a class="w-full py-1 text-sm text-center text-white bg-red-600 rounded-md block hover:text-white focus:outline-none"> شما مجاز به خروجی گرفتن برای این دستگاه نیستید </a> </div> </div> @else <div class="w-3/12 "> <div class="flex items-center justify-start text-[.72rem] "> @if ($group->cut_master == 'done' ) <div class="w-10/12 px-1"> <a target="_blank" @if ($group->cut_master_pdf && $group->cut_master == 'done' ) href="{{ $group->cut_master_pdf }}" @endif class="block w-full py-1 text-sm text-center text-white bg-black rounded-md cursor-pointer hover:bg-gray-800 hover:text-white focus:outline-none"> دانلود فایل برش </a> </div> @elseif ($group->opticut == 'size_part' || $group->opticut == 'size_panel' ) <a class="w-full py-1 text-sm text-center text-white @if ($group->opticut_file && $group->opticut == 'done' ) bg-black hover:bg-gray-800 cursor-pointer @elseif ($group->opticut == 'size_part' ) bg-red-600 @else bg-gray-400 @endif rounded-md block hover:text-white focus:outline-none"> سایز سفارش در محدوده مجاز نبوده است </a> @elseif ($group->opticut == 'not_run' ) <a class="w-full py-1 text-sm text-center text-white bg-red-600 rounded-md block hover:text-white focus:outline-none"> شما مجاز به خروجی گرفتن برای این دستگاه نیستید </a> @else <div class="w-full px-1"> <a class=" py-1 w-full text-sm text-center text-white @if ($group->cut_master_pdf && $group->cut_master == 'done' ) bg-black hover:bg-gray-800 cursor-pointer @elseif ($group->cut_master == 'size_part' ) bg-red-600 @else bg-gray-400 @endif rounded-md block hover:text-white focus:outline-none"> <span > در حال آماده سازی فایل برش</span> </a> </div> @endif </div> </div> <div class="w-3/12 "> <div class="flex items-center justify-start text-[.72rem] "> @if ($group->opticut == 'done' ) <a @if ($group->opticut_file && $group->opticut == 'done' ) href="{{ $group->opticut_file }}" @endif class="w-full py-1 text-sm text-center text-white @if ($group->opticut_file && $group->opticut == 'done' ) bg-black hover:bg-gray-800 cursor-pointer @elseif ($group->opticut == 'size_part' ) bg-red-600 @else bg-gray-400 @endif rounded-md block hover:text-white focus:outline-none"> <span> دانلود فایل OPTICUT </span> </a> @elseif ($group->opticut == 'size_part' || $group->opticut == 'size_panel' ) <a class="w-full py-1 text-sm text-center text-white @if ($group->opticut_file && $group->opticut == 'done' ) bg-black hover:bg-gray-800 cursor-pointer @elseif ($group->opticut == 'size_part' ) bg-red-600 @else bg-gray-400 @endif rounded-md block hover:text-white focus:outline-none"> سایز سفارش در محدوده مجاز نبوده است </a> @elseif ($group->opticut == 'not_run' ) <a class="w-full py-1 text-sm text-center text-white bg-red-600 rounded-md block hover:text-white focus:outline-none"> شما مجاز به خروجی گرفتن برای این دستگاه نیستید </a> @else <a onclick='Livewire.dispatch("refreshOrder")' class="flex items-center h-7 justify-center w-2/12 text-sm text-center text-white bg-red-600 rounded-md cursor-pointer hover:bg-red-500 hover:text-white focus:outline-none"> <svg class="w-5 h-5 mx-auto 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> <span class=" inline-block pl-2">{{ $group->opti_percent }}%</span> </a> <div class="w-10/12 px-1"> <a class="w-full py-1 text-center text-white @if ($group->opticut_file && $group->opticut == 'done' ) bg-black hover:bg-gray-800 cursor-pointer @elseif ($group->opticut == 'size_part' ) bg-red-600 @else bg-gray-400 @endif rounded-md block hover:text-white focus:outline-none"> <span > در حال آماده سازی فایل opticut</span> </a> </div> @endif </div> </div> @endif </div> <div class="flex items-center justify-start py-2 border-b border-gray-300"> <div class=" flex ml-1 items-center justify-start pl-2 border-l border-gray-300 "> <i class='bx ml-1 text-lg @if(1 <= $group->opti_step) bxs-check-circle text-green-500 @else bx-loader text-gray-400 @endif '></i> <span class=" text-sm @if(1 <= $group->opti_step) text-green-500 @else text-gray-400 @endif"> دریافت اطلاعات و اعتبار سنجی مقادیر </span> </div> <div class=" flex ml-1 items-center justify-start pl-2 border-l border-gray-300 "> <i class='bx ml-1 text-lg @if(2 <= $group->opti_step) bxs-check-circle text-green-500 @else bx-loader text-gray-400 @endif '></i> <span class=" text-sm @if(2 <= $group->opti_step) text-green-500 @else text-gray-400 @endif"> ذخیره مقادیر پنل </span> </div> <div class=" flex ml-1 items-center justify-start pl-2 border-l border-gray-300 "> <i class='bx ml-1 text-lg @if(3 <= $group->opti_step) bxs-check-circle text-green-500 @else bx-loader text-gray-400 @endif '></i> <span class=" text-sm @if(3 <= $group->opti_step) text-green-500 @else text-gray-400 @endif"> ذخیره مقادیر تکه ها </span> </div> <div class=" flex ml-1 items-center justify-start pl-2 border-l border-gray-300 "> <i class='bx ml-1 text-lg @if(4 <= $group->opti_step) bxs-check-circle text-green-500 @else bx-loader text-gray-400 @endif '></i> <span class=" text-sm @if(4 <= $group->opti_step) text-green-500 @else text-gray-400 @endif"> پردازش و ذخیره خروجی ها </span> </div> <div class=" flex ml-1 items-center justify-start pl-2 "> <i class='bx ml-1 text-lg @if(4 <= $group->opti_step) bxs-check-circle text-green-500 @else bx-loader text-gray-400 @endif '></i> <span class=" text-sm @if(4 <= $group->opti_step) text-green-500 @else text-gray-400 @endif"> ذخیره سازی در فایل در zip و ارسال خروجی به سیستم </span> </div> </div> </div> <div class=" cursor-pointer w-[5%] flex items-center justify-center ca-control h-[5rem] " onclick="collapsable({{ $group->id }})"> <i class='text-2xl font-bold text-left text-red-800 bx bx-chevron-down'></i> </div> </div> @if (count($group->slices) > 0) <div class="hidden ca-box" wire:ignore> @foreach ($group->slices as $item) <div class="flex justify-between w-full border-b border-gray-300"> <div class="flex items-center justify-center w-1/12 px-2 border-l border-gray-800"> {{$loop->iteration}} </div> <div class="w-11/12 px-5 py-1"> <div class="flex items-center justify-between "> <div class="flex flex-wrap w-[320px] "> <div class="flex flex-col pl-3 "> <span class="flex items-end text-xs text-gray-500 h-1/3 "> @if ($item->width_one == "1") ن @else - @endif </span> <span class="flex items-center text-xs text-gray-500 h-1/3 "> @if ($item->width_one == "2") ف @else - @endif </span> <span class="flex items-start text-xs text-gray-500 h-1/3 "> @if ($item->width_one == '3') ش @else - @endif </span> </div> <div class="w-10/12 "> <div class="flex items-center justify-between mb-3"> <span class="text-xs text-gray-500 "> @if ($item->length_one == '1') ن @else - @endif </span> <span class="text-xs text-gray-500 "> @if ($item->length_one == '2') ف @else - @endif </span> <span class="text-xs text-gray-500 "> @if ($item->length_one == '3') ش @else - @endif </span> </div> <div class="bg-gray-400 h-[4rem]"></div> <div class="flex items-center justify-between mt-3"> <span class="text-xs text-gray-500 "> @if ($item->length_two == '1') ن @else - @endif </span> <span class="text-xs text-gray-500 "> @if ($item->length_two == '2') ف @else - @endif </span> <span class="text-xs text-gray-500 "> @if ($item->length_two == '3') ش @else - @endif </span> </div> </div> <div class="flex flex-col pr-3"> <span class="flex items-end text-xs text-gray-500 h-1/3 "> @if ($item->width_two == "1") ن @else - @endif </span> <span class="flex items-center text-xs text-gray-500 h-1/3 "> @if ($item->width_two == "2") ف @else - @endif </span> <span class="flex items-start text-xs text-gray-500 h-1/3 "> @if ($item->width_two == "3") ش @else - @endif </span> </div> </div> <div class="w-3/12 mr-4"> <div class="flex items-center justify-start pb-3 text-sm "> <span> طول :</span> <span class="inline-block mx-1 ">{{ $item->height }}</span> </div> <div class="flex items-center justify-start pb-3 text-sm"> <span> عرض :</span> <span class="inline-block mx-1 ">{{ $item->width }}</span> </div> <div class="flex items-center justify-start text-sm "> <span> چرخش :</span> <span class="inline-block mx-1 "> @if ( $item->rotate_status == 'true') فعال @else غیر فعال @endif </span> </div> </div> <div class="w-3/12"> <div class="flex items-center justify-start pb-5 text-sm "> <span> تعداد :</span> <span class="inline-block mx-1 ">{{ $item->count }}</span> </div> <div class="flex items-center justify-start text-sm "> <span> توضیحات :</span> <span class="inline-block mx-1 ">{{ $item->description }}</span> </div> </div> </div> </div> </div> @endforeach </div> @endif </div> @endforeach @else <div class="p-2"> <div class="flex p-4 mb-4 text-sm text-white rounded-lg bg-main-700 " role="alert"> <svg aria-hidden="true" class="flex-shrink-0 inline w-5 h-5 ml-3" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd"></path></svg> <span class="sr-only">Info</span> <div> <span class="text-sm font-bold"> به دلیل نداشتن تکه در این سفارش لطفا به بخش گفتگو مراجعه فرمایید </span> </div> </div> </div> @endif </div>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa