@extends('dompdf.LayoutBoostrapOnly')
@section('content')
Purchase Order
@foreach ($header as $key => $value)
| PO Number |
: {{ $value->po_number }} |
Request Number |
: {{ $value->request_number }} |
|
| Note |
: {{ $value->note }} |
PO Date |
: {{ $value->po_date }} |
@endforeach
| SKU |
Product Name |
Qty |
Price |
Total |
{{
$total = 0
}}
@foreach ($datalist as $key => $value)
{{
$total = $total + $value->total
}}
| {{$value->sku}} |
{{$value->product_name}} |
{{$value->qty}} |
{{$value->price}} |
{{$value->total}} |
@endforeach
|
|
|
|
{{ $total }} |
@foreach ($header as $key => $value)
| Total |
{{ $value->total }} |
| Tax |
{{ $value->tax_value }} |
| Discount |
{{ $value->discount_value }} |
|
|
| Grand Total |
{{ $value->grandtotal }} |
@endforeach
@endsection