@extends('layouts.template') @section('template')

SALES RETURN DETAILS

@if(Session::has('success'))
{{Session::get('success')}} @php Session::forget('success'); @endphp
@endif
Basic Info
{{ method_field('PUT') }} {{ csrf_field() }}
Voucher Ref:{{ $singleSalesReturn->voucher_ref }}
Date:{{ $singleSalesReturn->date }}
Customer:{{ $singleSalesReturn->customer_name }}@if(!empty($singleSalesReturn->mobile_no)),{{ $singleSalesReturn->mobile_no }}@endif
Total:{{ number_format($singleSalesReturn->memo_total,2) }}
Paid:{{ number_format($singleSalesReturn->advanced_amount,2) }}
Discount:{{ number_format($singleSalesReturn->discount,2) }}
Due:{{ number_format($singleSalesReturn->memo_total-$singleSalesReturn->advanced_amount+$singleSalesReturn->discount,2) }}
Received By:@if(isset($received_by)){{ $received_by->name }}@endif
Reason: {{ $singleSalesReturn->reason }}
@if($due!=0)
Payable

@endif
Item Details
@foreach($salesReturnDetails as $key => $value) @endforeach
Sl Item Name Quantity Unit Price Item Vat % Total
{{ ++$key }} {{ $value->item_name }} {{ $value->quantity }} {{ number_format($value->rate,2) }} {{ $value->item_vat }} {{ number_format( ($value->rate * $value->quantity) + ($value->item_vat/100) * ($value->rate * $value->quantity),2)}}
@endsection