@extends('layouts.app') @section('title',$sale->invoice_no) @section('content')
{{ $sale->invoice_date->format('d F Y') }} · {{ str_replace('_',' ',ucfirst($sale->invoice_type)) }}
| # | Description / الوصف | Unit | Qty | Price | {{ $sale->invoice_type==='non_tax_invoice'?'Amount':'Taxable' }} | @if($sale->invoice_type!=='non_tax_invoice')VAT | @endifTotal |
|---|---|---|---|---|---|---|---|
| {{ $i+1 }} | {{ $item->product_name_en_snapshot }}{{ $item->product_name_ar_snapshot }} | {{ $item->unit_snapshot }} | {{ number_format((float)$item->quantity,4) }} | {{ number_format((float)$item->unit_price,2) }} | {{ number_format((float)$item->taxable_amount,2) }} | @if($sale->invoice_type!=='non_tax_invoice'){{ number_format((float)$item->vat_amount,2) }} | @endif{{ number_format((float)$item->line_total,2) }} |