@php use App\Models\ParameterDetail; use App\Models\Workorder; @endphp PURCHASE ORDER #{{ $purchase->number }} @if(isset(Auth::user()->entity->logo)) @else @endif

{{ Auth::user()->entity->name }}

{{ Auth::user()->entity->address . ' / ' . Common::phoneFormat(Auth::user()->entity->phone) }}

{{ Auth::user()->entity->name }}

{{ Auth::user()->entity->address . ' / ' . Common::phoneFormat(Auth::user()->entity->phone) }}
 
PURCHASE ORDER
 
Kepada YTH,
{{ $purchase->supplier->name }}

{{ $purchase->supplier->address }}
Tanggal {{ Common::dateFormat($purchase->dates, 'dd / mm / yyyy') }}
No. PO {{ $purchase->number }}
@php $no = 1; $class = ''; @endphp @foreach ($items as $i) @php $class = empty($class) ? 'gray' : ''; $no++; @endphp @endforeach
No Nama Barang Jumlah Harga Satuan Total
{{ $no }} {{ $i['name'] }} {{ number_format($i['qty'], 0, '', '.') }} {{ number_format($i['price'], 0, '', '.') }} {{ number_format($i['total'], 0, '', '.') }}
 
Sub Total Rp. {{ number_format($purchase->subtotal, 0, '', '.') }}
PPN ({{$purchase->ppn_percent}}%) Rp. {{ number_format($purchase->ppn, 0, '', '.') }}
Total Rp. {{ number_format($purchase->total, 0, '', '.') }}
{!! $purchase->qr_code !!}