@extends('admin.layout.master') @section('title','VOUCHER MANAGEMENT') @section('custom_style') @endsection @section ('content')

{{strtoupper(str_replace('_',' ',$voucher_type['name']))}}

@include('accounts.voucher.install_form',['button_type'=>'button']) {{--
{{strtoupper(str_replace('_',' ',$voucher_type['name']))}} --}} {{--
--}} @csrf {{--
--}}
@php $cash_bank_type=(($voucher_type['type']==1)||($voucher_type['type']==3))?1:2; $payment=(($voucher_type['type']<3)||($voucher_type['type']==5))?1:0; $optionHtml=''; @endphp
{{-- --}} @forelse ($transactions->journals as $i=>$jr) @if($jr->type==0) {{-- --}} @elseif($jr->type==1) @php $j=$i; @endphp @endif @empty @endforelse
SL Group Ledger Title Cost Center Note
Amount
{{$payment==1?'DEBIT':'CREDIT'}} ACCOUNT
{{$payment==1?'DR':'CR'}}-{{($i+1)}}
{{-- --}}
{{$payment==0?'DR':'CR'}}-{{($j+1)}} {{-- {{$jr->id}} --}}
{{--
--}} {{-- --}}
{{--
--}} {{--
--}}
{{-- --}} @include('accounts.voucher.modal_accounts_ledger') @include('accounts.voucher.modal_head_accounts_code') @include('accounts.voucher.modal_previous_voucher') {{-- @include('accounts.voucher.madal_cost_center') --}} @endsection @section('script') @stop