@extends('layouts.app') @section('title','Payment Voucher') @section('pages')
@include('layouts.partials.nav-menu')
@if(auth()->user()->can('accounts-edit')) @endif
Payment Voucher

Payment Voucher No
Payment Voucher Transaction Date
Payment Vouchering Description
 

{{$paymentVoucher->receipt_no}}
{{$paymentVoucher->receipt_date}}
{{$paymentVoucher->remarks}}
Payment Voucher Details

@if(isset($paymentVoucher->paymentVoucherDetails)&&count($paymentVoucher->paymentVoucherDetails)>0) @foreach($paymentVoucher->paymentVoucherDetails as $key => $transactions) @endforeach @endif
Date Account Debit Credit
{{$paymentVoucher->receipt_date}} {!! isset($transactions->transaction_type)&&$transactions->transaction_type=='CREDIT' ? "          " : "" !!} {{$transactions->account->name}} {{isset($transactions->transaction_type)&&$transactions->transaction_type=='DEBIT' ? convertDecimelPoint($transactions->amount) : "" }} {{isset($transactions->transaction_type)&&$transactions->transaction_type=='CREDIT' ? convertDecimelPoint($transactions->amount) : "" }}
@endsection @section('js') @endsection