@extends('layouts.app') @section('content')
{!! Form::open(['url' => action('GeneralLedgerController@update', $ledger->id), 'class' => 'register_form', 'method' => 'post', 'id' => 'source_add_form' , 'files' => true]) !!}
GENERAL LEDGER Account No . : {!! Form::text('account_no', $ledger->account_no, ['class' => 'form-control', 'required', 'autofocus']); !!} MAINTENACE

Name Of Account : {!! Form::text('account_name', $ledger->account_name, ['class' => 'form-control', 'style'=>'margin-left:20px;width: 80% !important', 'required']); !!}
Account Type : {!! Form::select('account_type_id', ['M' => 'Main', 'G' => 'General', 'D' => 'Detail'], $ledger->account_type_id, ['class' => 'form-control', 'style'=>'margin-left:20px;width: 80% !important', 'placeholder' => 'Select Type', 'required']); !!}
Transaction Type : {!! Form::select('transaction_type', ['C' => 'Credit', 'D' => 'Debit'], $ledger->transaction_type, ['class' => 'form-control', 'style'=>'margin-left:20px;width: 80% !important', 'placeholder' => 'Select Type']); !!}
Opening Balance : {!! Form::number('opening_balance', $ledger->opening_balance, ['class' => 'form-control', 'style'=>'margin-left:20px;width: 80% !important']); !!} Current Balance : {!! Form::number('closing_balance', $ledger->closing_balance, ['class' => 'form-control', 'style'=>'margin-left:20px;width: 80% !important']); !!}
Status : {!! Form::select('status',['1' => 'Active', '0' => 'Inactive'], $ledger->status, ['class' => 'form-control', 'style'=>'margin-left:20px;width: 80% !important']); !!} Remarks : {!! Form::textarea('remark', $ledger->remark, ['class' => 'form-control', 'style'=>'margin-left:20px;width: 80% !important']); !!}

{!! Form::close() !!}
@endsection @section('javascript') @endsection