@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'=>'submit'])

{{--

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

--}} {{--
--}} {{-- {{strtoupper(str_replace('_',' ',$voucher_type['name']))}} --}}
@php $cash_bank_type=(($voucher_type['type']==1)||($voucher_type['type']==3))?1:2; @endphp
@forelse ($vouchers as $key=>$voucher) @empty @endforelse
SL Date Voucher No Type NOTES Amount ACTION
{{($key+1)}} {{ date('Y-M-d', strtotime($voucher->date))}} {{ $voucher->voucher_no }} {{ strtoupper(str_replace('_',' ',$voucher_type['name']))}} {{ $voucher->note}} {{ number_format($voucher->transaction_amount,2)}} @if(checkAuthPermission('voucher.voucher_details')) @endif @if(checkAuthPermission('voucher.voucher_edit') && count($voucher->reffChildVoucher)) @endif @if(checkAuthPermission('voucher.journal_voucher_update') && ($voucher->reffParentVoucher==null)) @endif @if($voucher->status==0) {!! getApprovalInputField($voucher->id,$action_id) !!} @else @endif
{{--
--}}
@include('accounts.voucher.modal_accounts_ledger') @include('accounts.voucher.modal_head_accounts_code') {{-- @include('accounts.voucher.edit_voucher_modal') --}} @endsection @section('script') @include('accounts.voucher.voucher_js') @stop