@extends('layouts/fullLayoutMaster') @section('title', 'PO-' . $vendor_po->our_po_number) @section('page-style') @endsection @section('content')
{{-- ===== HEADER ===== --}}
{{-- logo path you mentioned: images/... --}}
PURCHASE ORDER
Address: Office No. 142, 1 Bentel Avenue, 1st Floor, Jansen Park, Johannesburg, South Africa 1501
Tell:+27115680910
www.capewing.com |  purchasing@capewing.com
{{-- PO Number & Date UP ABOVE --}}
PO Number: {{ $vendor_po->our_po_number }}
Date: {{ \Carbon\Carbon::parse($vendor_po->date)->format('M-d-Y') }}
{{-- Buyer/Vendor vs BillTo/ShipTo aligned and facing each other --}}

Buyer:

{{-- Buyer EXACT same block as Bill To --}}

CAPEWING AEROSPACE

Office No. 142, 1 Bentel Avenue, 1st Floor

Jansen Park, Johannesburg, South Africa 1501

Tell:+27115680910

Vendor:

{{ $vendor_po->vendor->name }}

{!! nl2br(e($vendor_po->vendor->address)) !!}

@if(!empty($vendor_po->vendor->phone))

Tel: {{ $vendor_po->vendor->phone }}

@endif @if(!empty($vendor_po->vendor->email))

Email: {{ $vendor_po->vendor->email }}

@endif

Bill To:

CAPEWING AEROSPACE

Office No. 142, 1 Bentel Avenue, 1st Floor

Jansen Park, Johannesburg, South Africa 1501

Tell:+27115680910

Ship To:

CAPEWING AEROSPACE

Office No. 142, 1 Bentel Avenue, 1st Floor

Jansen Park, Johannesburg, South Africa 1501

Tell:+27115680910

{{-- ===== TABLE ===== --}}
@php $sub_total = 0; @endphp @foreach($VendorPOParts as $idx => $part) @php $line_total = $part->quantity * $part->unit_price; $sub_total += $line_total; @endphp @endforeach
Row Part Number Description Cond Qty Unit Price Total Price
{{ $idx + 1 }} {{ $part->inventory->part_number }} {{ $part->inventory->description }}
@if($part->cert)Cert: {{ $part->cert }}
@endif @if($part->tag_date)Tag Date: {{ $part->tag_date }}
@endif @if($part->lead_time)Lead Time: {{ $part->lead_time }}
@endif @if($part->note)Note: {{ $part->note }}@endif
{{ $part->condition }} {{ $part->quantity }} ${{ number_format($part->unit_price, 2) }} ${{ number_format($line_total, 2) }}
Total [USD] ${{ number_format($sub_total, 2) }}
{{-- ===== NOTES ===== --}}

Notes:

{{-- ===== FOOTER (BOTTOM OF PAGE) ===== --}}
@endsection @section('page-script') @endsection