@extends('layouts.master') @section('title') معاينة طباعة الفاتورة - Simplified Tax Invoice @stop @section('css') @endsection @section('content')

{{ Namear }}

{{ describtionar }}

{{ STar }}

{{ Taxar }}

@php $logo = camplogo; @endphp
logo

{{ Nameen }}

{{ describtionen }}

{{ STen }}

{{ Taxen }}

@if(strlen($data['invoiceData']->customer->tax_no)==15)

Tax Invoice - فاتورة ضريبية

@else

Simplified tax invoice فاتورة ضريبية مبسطة

@endif
تاريخ الفاتورة {{ $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
@if($data['invoiceData']->display_number) @endif @php $i = 0; $avt = App\Models\Avt::find(1); @endphp @foreach (App\Models\sales::where('invoice_id', $data['invoiceData']->id)->get() as $product) @if($product->quantity != 0) @php $i++ @endphp @if($data['invoiceData']->display_number) @endif @php $total_row_befor_tax = round(($product->Unit_Price * $product->quantity) - $product->Discount_Value, 2); $added_value_row = round($total_row_befor_tax * $avt->AVT, 2); @endphp @endif @endforeach
م
NO
رقم المنتج
Item NO
اسم الصنف
ITEM NAME
السعر
PRICE
الكمية
QTY
الخصم
DISC
الضريبة
VAT
الصافي
TOTAL
{{ $i }}{{ $product->productData->Product_Code }}{{ $product->productData->product_name }} {{ number_format($product->Unit_Price, 2) }} {{ $product->quantity }} {{ number_format($product->Discount_Value, 2) }}{{ number_format($added_value_row, 2) }} {{ number_format($added_value_row + $total_row_befor_tax, 1) }}

يمكن ارجاع القطع المباعة او استبدالها خلال 3 يام من تاريخ الشراء وتكون بحالتها المباعة و القطع الكهربائية لا ترد ولا تستبدل و الطلبات الخاص لا يمكن ارجاعها او استبدلها بعد تاكيد الطلب
@php $invoice = App\Models\invoices::find($data['invoiceData']->id); $total_price = $invoice->total_amount; // تأكد من مسميات الأعمدة لديك $tax_amount = $total_price * 0.15; $net_total = $total_price + $tax_amount; @endphp

Fatal error: Uncaught Error: Class "App\Models\Avt" not found in /home/ebdea/public_html/mostawdaa.ebdea.online/resources/views/products/printInvoicesReturnToClientRecentSales.blade.php:320 Stack trace: #0 {main} thrown in /home/ebdea/public_html/mostawdaa.ebdea.online/resources/views/products/printInvoicesReturnToClientRecentSales.blade.php on line 320