Supplier Address :
{{ $poSupplier->supplier ? $poSupplier->supplier->address ?? '-' : "-" }}
Attention :
{{ $poSupplier->supplier ? $poSupplier->supplier->name ?? '-' : "-" }}
Deskripsi :
{{ $poSupplier->description ?? '-' }}
Po Supplier
Kode # {{ $poSupplier->code }}
Date {{ now()->parse($poSupplier->date)->format("d/m/Y") }}
Discount Type {{ $poSupplier->discount_type }}
@php $no = 1; @endphp @foreach($poSupplier->po_supplier_details as $item) @endForeach
No Qty Item Kode Item price IDR Discount @if($poSupplier->discount_type == "NOMINAL") (*Rp) @else (%) @endif PPN Total
{{ $no++ }} {{ number_format($item->quantity ?? 0,2,',','.') }} ( {{ $item->product ? $item->product->purchase_unit : "-"}} ) {{ $item->product ? $item->product->name ?? "-" : "-" }} {{ $item->product ? $item->product->code ?? "-" : "-" }} {{ number_format($item->price ?? 0,2,',','.') }} {{ number_format($item->discount ?? 0,2,',','.') }} {{ number_format($item->tax ?? 0,2,',','.') }} {{ number_format($item->amount ?? 0,2,',','.') }}
> @if($poSupplier->discount > 0.00) @if($poSupplier->discount_type == "NOMINAL") @else @endif @endif
Total {{ number_format($poSupplier->total ?? 0,2,',','.') }}
Discount @if($poSupplier->discount_type == "NOMINAL") *Rp @else % @endif {{ number_format($poSupplier->discount ?? 0,2,',','.') }}
Total stl discount {{ number_format(ceil(floatval($poSupplier->total) - floatval($poSupplier->discount))?? 0,2,',','.') }}
Total stl discount {{ number_format(ceil(floatval($poSupplier->total) - (floatval($poSupplier->total)) * (floatval($poSupplier->discount) / 100.00)) ?? 0,2,',','.') }}
Grand Total {{ number_format($poSupplier->grand_total ?? 0,2,',','.') }}
AUTHORIZED SIGNATURE