@extends('admin.layout.app') @section('title','Add Journal Voucher') @push('headerscript') @endpush @section('content')

Add Journal Voucher

{!! Form::open(['route'=>array('journal-voucher.store'), 'onsubmit'=>"return validateForm()", 'method' => 'post']) !!}
{{$errors->first('voucher_no')}}
{{$errors->first('voucher_date')}}
{!! Form::select("branch_id", \App\Http\Helpers\Helper::getBranchData(), old("branch_id"), ['class'=>'form-control select2' ,'id' => 'branch_id','required'=>'required'] ) !!}
{{$errors->first('created_by')}}
{{$errors->first('description')}}
S. No. Voucher Type* Account Name* Remark Credit Debit Invoice No. Plate No.
1 {!! Form::select("voucher_type[]", [''=>'Select','Expenses'=>'Expenses','Assets'=>'Assets','Income'=>'Income','Liabilities'=>'Liabilities','Equity'=>'Equity','insurance'=>'Insurance'], old("voucher_type"), ['class'=>'form-control select2', 'required', 'id'=>'voucher_type10'] ) !!} {!! Form::select("account_ledger_id[]", [''=>'Select'], old("account_ledger_id"), ['class'=>'form-control select2', 'required', 'id'=>'account_ledger_id10'] ) !!}
Totals:
{!! Form::close() !!}
@endsection @push('footerscript') @endpush