@extends('layouts.master') @section('title') معاينة طباعة الفاتورة - Simplified Tax Invoice @stop @section('css') @endsection @section('content')
{{ Namear }}{{ describtionar }} {{ STar }} {{ Taxar }} |
@php $logo = camplogo; @endphp
|
{{ Nameen }}{{ describtionen }} {{ STen }} {{ Taxen }} |
Tax Invoice - فاتورة ضريبية
Simplified tax invoice فاتورة ضريبية مبسطة
| تاريخ الفاتورة | {{ $data['invoiceData']->created_at->format('Y-m-d H:i') }} | DATE |
| طريقة الدفع | @php $payMap = [ 'Cash' => 'نقدي / Cash', 'Shabka' => 'شبكة / Network', 'Credit' => 'آجل / Credit' ]; $pay = $payMap[$data['invoiceData']->Pay] ?? $data['invoiceData']->Pay; @endphp {{ $pay }} | PAYMENT |
| رقم الفاتورة | {{ $data['invoiceData']->id }} | INVOICE NO |
| رقم أمر الشراء | {{ $data['invoiceData']->p_o ?: '-' }} | PURCHASE ORDER (PO) |
| اسم العميل | {{ $data['invoiceData']->customer->name }} | CLIENT NAME |
| الرقم الضريبي | {{ $data['invoiceData']->customer->tax_no ?: '-' }} | TAX NUMBER |
| السجل التجاري | {{ $data['invoiceData']->customer->CRN }} | COMMERCIAL REG |
| العنوان / الحي | @if($data['invoiceData']->customer->id == 1) - @else {{ $data['invoiceData']->customer->address }}, {{ $data['invoiceData']->customer->sub_city }}, {{ $data['invoiceData']->customer->building_number }} {{ $data['invoiceData']->customer->street_name }} @endif | {{ $data['invoiceData']->customer->postcode }} | ADDRESS |
| م NO |
@if($data['invoiceData']->display_number)
رقم المنتج Item NO |
@endif
{{-- بدون width ليأخذ المساحة المتبقية --}}
اسم الصنف ITEM NAME |
السعر PRICE |
الكمية QTY |
الخصم DISC |
الاجمالي قبل الضريبة TOTAL |
|---|---|---|---|---|---|---|
| {{ $i }} | @if($data['invoiceData']->display_number){{ $product->productData->Product_Code ?? '-' }} | @endif{{ $product->productData->product_name ?? $product->product_name ?? '-' }} @if($returnStatus === 'full') (مرتجع بالكامل) @elseif($returnStatus === 'partial') (مرتجع جزئي{{ $returnedQty > 0 ? ': تم إرجاع ' . $returnedQty : '' }}) @endif | {{ number_format($product->Unit_Price, 2) }} |
{{ $product->quantity }}
@if($returnStatus === 'full' && $returnedQty > 0)
(مرتجع: {{ $returnedQty }}) @endif |
{{ number_format($product->Discount_Value, 2) }} | {{ number_format($total_row_befor_tax, 2) }} |
|
Fatal error: Uncaught Error: Class "App\Models\Avt" not found in /home/ebdea/public_html/mostawdaav2.ebdea.online/resources/views/products/printInvoicesReturnToClientRecentSales.blade.php:366 Stack trace: #0 {main} thrown in /home/ebdea/public_html/mostawdaav2.ebdea.online/resources/views/products/printInvoicesReturnToClientRecentSales.blade.php on line 366 |