@extends('layouts.app') @section('stitle', __('messages.PurchaseOrderFullName')) @section('title', __('messages.PurchaseOrderFullName')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif
@include('purchase_order.purchase_order_inner_menu')
@if(Auth::user()->business->getReceipt) @if(Auth::user()->business->getReceipt->is_logo_used== 1 && Auth::user()->business->getReceipt->logo !=null )
No Company Logo found From Account Settings
@endif @endif

{{ Auth::user()->business->business_name }}

{{ Auth::user()->business->address }}

{{ Auth::user()->business->city }} - {{ Auth::user()->business->country }}

{{__('messages.VATNumber')}}: {{ Auth::user()->business->vat_number }}

PO#: {{$data->reference}}

{{__('messages.Destination')}}:

{{$data->poWarehouse->name}}

{{__('messages.DateIssue')}}:

{{$data->created_at}}

testing

{{__('messages.SupplierDetail')}}:
{{$data->poSupplier->name}}

{{$data->poSupplier->address}}

{{$data->poSupplier->email}}

{{__('messages.PaymentDetails')}}:
{{__('messages.Total')}} {{ $data->poType->name }} : {{ number_format($data->total, 2) }} {{ Auth::user()->business->currency->symbol }}
{{__('messages.BankDetails')}}: {{$data->poSupplier->bank_details}}
{{__('messages.VAT')}}: {{$data->poSupplier->vat}}
@foreach($data->poItems as $poItem) @endforeach
{{__('messages.name')}} {{__('messages.SKU')}} {{__('messages.BARCODE')}} {{__('messages.UnitCost(ExcVAT)')}} {{__('messages.VAT%')}} {{__('messages.QTY')}} {{__('messages.SubTotal')}} {{__('messages.VAT')}} {{__('messages.TotalAmount')}} ({{ Auth::user()->business->currency->symbol }})
{{ $poItem->name }} {{ $poItem->sku }} {{ $poItem->barcode }} {{ number_format($poItem->cost, 2) }} {{ $poItem->tax_rate }} {{ $poItem->qty }} {{$poItem->storage_unit}} {{ number_format($poItem->subtotal, 2) }} {{ number_format($poItem->tax, 2) }} {{ number_format($poItem->total, 2) }}

{{__('messages.CreatedBy')}}: {{ $data->users->name }}

{{__('messages.TotalBeforeVAT')}}:

{{ number_format($data->cost, 2) }} {{ Auth::user()->business->currency->symbol }}

{{__('messages.VAT')}}:

{{ number_format($data->tax, 2) }} {{ Auth::user()->business->currency->symbol }}


{{__('messages.Total')}} {{ $data->poType->name }}:

{{ number_format($data->total, 2) }} {{ Auth::user()->business->currency->symbol }}


Note: It was a pleasure working with you and your team. We hope you will keep us in mind for future projects. Thank You!
@endsection