@foreach(Payment_through_jvs::data_main_id_wise($main_id,$supplier_id) as $row) @endforeach
S.No Refrence V Type V No V Date Debit Credit Balance
{{$count++}} {{$row->main_id}} {{Payment_through_jvs::voucher_type($row->voucher_type)}} {{$row->voucher_no}} {{$row->voucher_date}} @if ($row->debit_credit==1) {{number_format($row->amount,2)}} @else @endif @if ($row->debit_credit==0) {{number_format($row->amount,2)}} @else @endif {{number_format($balance,2)}}
Total {{number_format($total_debit,2)}} {{number_format($total_credit,2)}}