@extends('layouts/microfin_layout') @section('title', '| Loan Application Information Form') @section('content') @include('microfin.loan.stack') @stack('formStyleScript')
@if ($loanApplication->id > 0) Edit @else Add @endif Loan Application
{!! Form::open(['url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'rootwizard']) !!} {!! Form::hidden('memberId', $loanApplication->memberIdFk, ['id' => 'memberId']) !!} {!! Form::hidden('edit_id', $loanApplication->id) !!}
Member Information
{{-- @if (!in_array($userRoleId, Config('services.branch_level_user_roles'))) --}} @if (count($branchList) > 1)
{!! Form::label('branch', 'Branch:', ['class' => 'control-label required']) !!} {!! Form::select('branchId', ['' => 'Select'] + $branchList, @$loanApplication->branchIdFk, [ 'class' => 'form-control', 'id' => 'branch', $loanApplication->id > 0 ? 'disabled' : null, ]) !!}
@endif
{!! Form::label('member', 'Member:', ['class' => 'control-label required']) !!} {!! Form::text('memberIdFk', $loanApplication->memberName, [ 'class' => 'form-control', 'id' => 'member', 'type' => 'text', 'data-validate' => 'required', 'autocomplete' => 'off', $loanApplication->id > 0 ? 'disabled' : null, ]) !!}
Loading..
    {!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@if (isset($members)) @endif @endsection