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

Purchasing

{{__('messages.PUR')}}# :{{$purchasing->reference}}

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

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

{{$purchasing->suppliers->address}}

{{$purchasing->suppliers->email}}

{{__('messages.PaymentDetails')}}:
Total {{ $purchasing->purchaseType->name }} : {{ number_format($purchasing->total_amount, 2) }} {{ Auth::user()->business->currency->symbol }}
{{__('messages.BankDetails')}}: {{$purchasing->suppliers->bank_details}}
{{__('messages.VAT')}}: {{$purchasing->suppliers->vat}}
@foreach($purchasingItems as $pitem) @endforeach
{{__('messages.name')}} {{__('messages.SKU')}} {{__('messages.BARCODE')}} {{__('messages.UnitCost(ExcVAT)')}} {{__('messages.QTY')}} {{__('messages.VAT%')}} {{__('messages.SubTotal')}} {{__('messages.VAT')}} {{__('messages.TotalAmount')}} ({{ Auth::user()->business->currency->symbol }})
{{ $pitem->name }} {{ $pitem->sku }} {{ $pitem->barcode }} {{ number_format($pitem->cost, 2)}} {{ $pitem->qty }} {{ $pitem->storage_unit }} {{ number_format($pitem->tax_rate, 2) }} % {{ number_format($pitem->qty_cost, 2) }} {{ number_format($pitem->qty_tax, 2) }} {{ number_format($pitem->total_amount, 2) }}

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

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

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

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

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

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

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


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

{{ number_format($purchasing->total_amount, 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