@extends('layouts.app') @section('title','Payment Vouchers') @section('pages')
@if(in_array('payment-voucher-edit', $authRolePermissions)) @endif @if(in_array('receipt-voucher-delete', $authRolePermissions)) @endif @php $i=1;@endphp @if(count($data)>0) @foreach($data as $key=> $list) @if(in_array('payment-voucher-edit', $authRolePermissions)) @endif @if(in_array('payment-voucher-delete', $authRolePermissions)) @endif @php $i++; @endphp @endforeach @else @endif
Serial No Payment Date Payment No Payment From Voucher Type Ref. Voucher No. Narration Amount PrintEditDelete
{{$i}} {{ formatedDate($list->receipt_date) }}
{{ formatedTime($list->receipt_time) }}
{{$list->receipt_no}}
@if($list->advance_received=='Yes' && $list->settlement_status=='Yes') {{ 'Advance Adjusted' }} @elseif($list->advance_received=='Yes') {{ $list->advance_received=='Yes'?'Advance Receipt':'' }} @endif
{{ $list->paymentVoucherDetail->account->account_title->name ?? '' }} {{ $list->paymentVoucherDetail->account->name ?? '' }}
@if(isset($list->user->prepared_by))
By: {!! $list->user->prepared_by??'' !!}
@endif
{{ $list->paymentVoucherDetail->voucherType->name ?? '' }} @if(isset($list->paymentVoucherDetail->voucherType->name) && $list->paymentVoucherDetail->voucherType->name=="OPD Booking") {{ $list->opdBooking->booking_no ?? '' }} @else {!! $list->salesVoucher->voucher_type_invoice_no??'' !!} @endif {{ $list->paymentVoucherDetail->details_narration ?? '' }} {{ isset($list->paymentVoucherDetail->amount) ? convertDecimelPoint($list->paymentVoucherDetail->amount) : '' }}
No Data Found
@endsection @section('js') @endsection