|
@if($v->getChildVouchers->count() > 0)
{{ $v->getChildVouchers->last()->voucher_no ?? "" }}/{{ date('d-m-Y', strtotime($v->getChildVouchers->last()->date ?? "")) }}
@else
@endif
|
{{ $loop->iteration }} |
{{ $v->voucher_no }}
|
{{ getFilterVoucherType($v->type) }} |
{{ $v->transaction_amount }} |
@php
$recurrent_info = json_decode($v->recurrent_info);
@endphp
{{ $recurrent_info->type == 1 ? 'Yearly' : 'Monthly' }} |
{{ date($recurrent_info->type == 1 ? 'M/d' : 'd', strtotime('1990-'. $recurrent_info->month .'-'. $recurrent_info->day)) }} |
@endforeach