@extends('layouts.app') @section('stitle', 'Return Purchased Order') @section('title', 'Return Purchase Order') @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif
@include('return_to_supplier.return_po_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 }}

VAT Number: {{ Auth::user()->business->vat_number }}

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

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

Destination:

{{$data->warehouse->name}}

Date Issued:

{{$data->created_at}}

testing

Supplier Detail:
{{$data->rsupplier->name}}

{{$data->rsupplier->address}}

{{$data->rsupplier->email}}

Payment Details:
Total {{ $data->purchaseType->name }} : {{ number_format($data->total, 2) }} {{ Auth::user()->business->currency->symbol }}
Bank Details: {{$data->rsupplier->bank_details}}
VAT: {{$data->rsupplier->vat}}
@foreach($data->returnItems as $rItem) @endforeach
Name SKU Barcode Unit Cost (Exc VAT) VAT % Quantity Sub Total VAT {{__('messages.TotalAmount')}} ({{ Auth::user()->business->currency->symbol }})
{{ $rItem->name }} {{ $rItem->sku }} {{ $rItem->barcode }} {{ number_format($rItem->cost, 2) }} {{ $rItem->tax_rate }} {{ $rItem->qty_return }} {{$rItem->storage_unit}} {{ number_format($rItem->subtotal, 2) }} {{ number_format($rItem->tax, 2) }} {{ number_format($rItem->total, 2) }}

Created By: {{ $data->users->name }}

Total Before VAT:

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

VAT:

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


Total {{ $data->purchaseType->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