@extends('layouts.app-print') @section('stitle', __('messages.PurchaseOrderFullName')) @section('title', __('messages.PurchaseOrderFullName')) @section('content')
@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 }}

{{__('messages.PurchaseOrderFullName')}}

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 }} {{ number_format($poItem->subtotal, 2) }} {{ number_format($poItem->tax, 2) }} {{ number_format($poItem->total, 2) }}

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

{{__('messages.Printedby')}}: {{ Auth::user()->name }}

{{__('messages.PrintedDate')}}: {{ date('Y-m-d H:i:s') }}

{{__('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