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

PR# :{{$purchase_requisition->reference}}

{{__('messages.Destination')}}: {{ $purchase_requisition->warehouse->name }}
{{__('messages.DateIssue')}}: {{$purchase_requisition->created_at}}
testing

{{__('messages.SupplierDetail')}}:
{{$purchase_requisition->suppliers->name}}

{{$purchase_requisition->suppliers->address}}

{{$purchase_requisition->suppliers->email}}

{{__('messages.PaymentDetails')}}:
{{__('messages.Total')}} {{ $purchase_requisition->purchaseType->name }} : {{ number_format($purchase_requisition->total, 2) }} {{ Auth::user()->business->currency->symbol }}
{{__('messages.BankDetails')}}: {{$purchase_requisition->suppliers->bank_details}}
{{__('messages.VAT')}}: {{$purchase_requisition->suppliers->vat}}
@foreach($purchase_requisition->prItems as $prItem) @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 }})
{{ $prItem->name }} {{ $prItem->sku }} {{ $prItem->barcode }} {{ number_format($prItem->cost, 2) }} {{ $prItem->tax_rate }} {{ $prItem->qty }} {{ number_format($prItem->subtotal, 2) }} {{ number_format($prItem->tax, 2) }} {{ number_format($prItem->total, 2) }}

{{__('messages.CreatedBy')}}: {{ $purchase_requisition->user->name }}

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

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

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

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

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

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


{{__('messages.Total')}} {{ $purchase_requisition->purchaseType->name }}:

{{ number_format($purchase_requisition->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