���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
/
portal-cutunix
/
resources
/
views
/
Viewing: factore.blade.php
<!DOCTYPE html> <html lang="fa"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>فاکتور @if ($factor->type == 'buy') خرید @else فروش @endif </title> <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet"> <style type="text/css"> * { font-family: 'normal', sans-serif; } body { font-family: 'normal', sans-serif; } </style> </head> <body style="padding: 20px" dir="rtl"> <div width="100%" style="border: 1px solid black;"> <table cellpadding="0" cellspacing="0" width="100%" > <tbody width="100%"> <tr > <td width="50%" style="font-size:12px; text-align: right;padding-right: 10px;padding-left: 10px;padding-top: 13px;padding-bottom:7px">فروشنده : <strong style="font-family: 'bold'">{{ $factor->seller }}</strong></td> <td width="50%" style="font-size:12px; text-align: left;padding-right: 10px;padding-left: 10px;padding-top: 13px;padding-bottom:7px">شماره فاکتور : <strong style="font-family: 'bold'">{{ $factor->id }}</strong></td> </tr> <tr > <td width="50%" style="font-size:12px; text-align: right;padding-right: 10px;padding-left: 10px;padding-top: 7px;padding-bottom:13px">شماره تماس فروشنده : <strong style="font-family: 'bold'">{{ $factor->tel_seller }}</strong></td> <td width="50%" style="font-size:12px; text-align: left;;padding-right: 10px;padding-left: 10px;padding-top: 7px;padding-bottom:13px"> تاریخ : <strong style="font-family: 'bold'" dir="ltr">{{ $factor->date }}</strong></td> </tr> <tr width="100%" style="background: rgb(2, 117, 92)" > <td colspan="2" width="100%" style="text-align: center ;padding:5px 20px;font-size:15px"><strong style="font-family: 'bold';color:white">فاکتور @if ($factor->type == 'buy') خرید @else فروش @endif </strong></td> </tr> <tr > <td width="30%" style="font-size:12px; text-align: right;padding-right: 10px;padding-left: 10px;padding-top: 13px;padding-bottom:13px"> خریدار : <strong style="font-family: 'bold'">{{ $factor->buyer }}</strong></td> <td width="70%" style=" padding:0 ;text-align: right"> <table cellpadding="0" cellspacing="0" width="100%" > <tbody width="100%"> <tr width="100%"> <td width="40%" style="font-size:12px; text-align: right; padding-top: 13px;padding-bottom:13px"> @if ($factor->type != 'buy') شماره سفارش : <strong style="font-family: 'bold'">@if($factor->order_id) {{ $factor->order->number }} @else --- @endif</strong> @endif </td> <td width="60%" style="font-size:12px; text-align: left; padding-left: 10px;padding-top: 13px;padding-bottom:13px"> شماره تماس خریدار : <strong style="font-family: 'bold'">{{ $factor->tel_buyer }}</strong> </td> </tr> </tbody> </table> </td> </tr> <tr width="100%" > <td colspan="2" width="100%" style="text-align: center;"> <table cellpadding="0" cellspacing="0" width="100%" style="border-top: 1px solid black;"> <thead > <tr style="background: #eee"> <th style="text-align: center;padding:7px 0px;border-bottom: 1px solid black;font-size: 12px;">ردیف</th> <th style="text-align: center;padding:7px 0px;border-bottom: 1px solid black;font-size: 12px;"> @if ($factor->type == 'buy') خرید @else فروش @endif </th> @if ($factor->type == 'buy') <th style="text-align: center;padding:7px 0px;border-bottom: 1px solid black;font-size: 12px;">نام محصول</th> @endif <th style="text-align: center;padding:7px 0px;border-bottom: 1px solid black;font-size: 12px;">تعداد</th> <th style="text-align: center;padding:7px 0px;border-bottom: 1px solid black;font-size: 12px;">قیمت واحد</th> <th style="text-align: center;padding:7px 0px;border-bottom: 1px solid black;font-size: 12px;">قیمت کل</th> </tr> </thead> <tbody width="100%"> @if (count($factor->rows) > 0) @foreach ($factor->rows as $item) <tr > <td width="10%" style="text-align: center;padding:5px 0px;border-bottom: 1px dashed #ddd;font-size: 12px;">{{ $loop->index+1 }}</th> <td @if ($factor->type == 'buy') width="20%" @else width="40%" @endif style="text-align: center;padding:5px 0px;border-bottom: 1px dashed #ddd;font-size: 12px;">@if($item->detailed) {{ $item->detailed->name }} @endif</th> @if ($factor->type == 'buy') <th width="20%" style="text-align: center;padding:5px 0px;border-bottom: 1px dashed #ddd;font-size: 12px;"> @if ($item->product) {{ $item->product->name }} @else -- @endif </th> @endif <td width="15%" style="text-align: center;padding:5px 0px;border-bottom: 1px dashed #ddd;font-size: 12px;">{{ $item->count }}</th> <td width="15%" style="text-align: center;padding:5px 0px;border-bottom: 1px dashed #ddd;font-size: 12px;">@if($item->price) {{ number_format($item->price) }} @endif</th> <td width="20%" style="text-align: center;padding:5px 0px;border-bottom: 1px dashed #ddd;font-size: 12px;">@if($item->price) {{ number_format($item->amount) }} @endif</th> </tr> @endforeach @endif </tbody> </table> </td> </tr> </tbody> </table> </div> <div width="100%" style="border-right: 1px solid black;border-left: 1px solid black;border-bottom: 1px solid black;"> <table cellpadding="0" cellspacing="0" width="100%"> <tbody width="100%"> <tr width="100%" > <td width="60%" style="font-size: 10px;border-left: 1px solid black;text-align: right;vertical-align: top;padding:7px 10px"> توضیحات : <strong style="font-size: 10px;font-family: 'bold'"> {{ $factor->description }} </strong></td> <td width="40%" style=" padding:0 "> <table cellpadding="0" cellspacing="0" width="100%" > <tbody width="100%"> <tr width="100%"> <td width="50%" style="font-size: 10px;border-bottom: 1px solid black;border-left: 1px solid black;text-align: right;padding:5px 5px "> <strong style="font-size: 10px;font-family: 'bold'">جمع کل فاکتور :</strong></td> <td width="50%" style="font-size: 10px;border-bottom: 1px solid black;text-align: right;padding:5px 5px "> <strong style="font-size: 10px;font-family: 'bold'">@if($factor->total) {{ number_format($factor->total) }} @endif </strong></td> </tr> <tr width="100%"> <td width="50%" style="font-size: 10px;border-bottom: 1px solid black;border-left: 1px solid black;text-align: right;padding:5px 5px "> <strong style="font-size: 10px;font-family: 'bold'"> تخفیف : </strong></td> <td width="50%" style="font-size: 10px;border-bottom: 1px solid black;text-align: right;padding:5px 5px "> <strong style="font-size: 10px;font-family: 'bold'">@if($factor->discount) {{ number_format($factor->discount) }} @endif</strong></td> </tr> <tr width="100%"> <td width="50%" style="font-size: 10px; border-left: 1px solid black;text-align: right;padding:5px 5px "> <strong style="font-size: 10px;font-family: 'bold'">جمع کل :</strong></td> <td width="50%" style="font-size: 10px; text-align: right;padding:5px 5px "> <strong style="font-size: 10px;font-family: 'bold'">@if($factor->total_price) {{ number_format($factor->total_price) }} @endif</strong></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </div> <div width="100%" style=" margin-top:40px"> <table cellpadding="0" cellspacing="0" width="100%"> <tbody width="100%"> <tr width="100%" > <td width="50%" style="font-size: 12px; text-align: center;padding:5px 20px"> امضاء فروشنده </td> <td width="50%" style="font-size: 12px; text-align: center;padding:5px 20px"> امضاء خریدار </td> </tr> </tbody> </table> </div> </body> </html>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa