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

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

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

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

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

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

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

{{__('messages.PaymentDetails')}}:
{{__('messages.Total')}} {{ $data->purchaseType->name }} : {{ number_format($data->total, 2) }} {{ Auth::user()->business->currency->symbol }}
{{__('messages.BankDetails')}}: {{$data->rsupplier->bank_details}}
{{__('messages.VAT')}}: {{$data->rsupplier->vat}}
@foreach($data->returnItems as $rItem) @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 }})
{{ $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) }}

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

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

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

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