@extends('admin.layout.app') @section('title','Edit Account Ledger') @section('content')

Edit Account Ledger

{!! Form::open(['route'=>array('account-ledger.update', $accountLedger->id), 'onsubmit'=>'BtnSubmit.disabled = true','method' => 'put']) !!}
{{$errors->first('account_name')}}
{!! Form::select("account_group_id", [''=>'Select ']+$accountGroup, old("account_group_id", $accountLedger->account_group_id), ['class'=>'form-control select2' ,'id' => 'account_group_id','required'=>'required'] ) !!}
{{$errors->first('opening_balance')}}
{{$errors->first('date')}}
{{$errors->first('account_code')}}
{!! Form::select("a_type", [''=>'Select Type',"Dr"=>"Dr",'Cr'=>'Cr'], $accountLedger->a_type, ['class'=>'form-control' ,'id' => 'a_type','required'=>'required'] ) !!}
{{$errors->first('a_type')}}
{!! Form::close() !!}
@endsection @push('footerscript') @endpush