@extends('layouts/microfin_layout') @section('title', '| Interest Provision Hold') @section('content')
@if($action == 'create') Add @elseif($action == 'edit') Edit @endif Interest Provision Hold
{!! Form::open(array('url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups')) !!} {!! Form::hidden('memberId',null,['id'=>'memberId']) !!}
{!! Form::label('effect_to', 'Month:', ['class' => 'col-md-3 control-label required']) !!}
{!! Form::text('effect_to',null,['id'=>'effect_to','class'=>'form-control','readonly', 'placeholder' => 'Select Month', 'required' => 'required']) !!}
{!! Form::label('generate_date', 'Branch(es):', ['class' => 'col-md-3 control-label required']) !!}
@if(count($branchList) > 1 && $action != 'details') @endif
{!! Form::checkbox('all_branch', 'all_branch', false, ['class' => 'control-label', 'id' => 'all_branch']) !!}
@foreach($branchList as $i => $branch)
{!! Form::checkbox('branch_id[]', $i, count($branchList) > 1 ? false : true, ['class' => 'control-label branch', 'id' => 'branch_'.$i]) !!}
@endforeach
@if($action != 'details')
    {!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
@endif {!! Form::close() !!}
@endsection