@extends('layouts/microfin_layout') @section('title', '| Add Samity Day Change') @if ($canChangeSamityDay==false) @section('content')
Sorry, you can change samity day only on Thursday
@endsection @else @section('content')
Samity Day Change
{!! Form::open(array('url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups validate', 'autocomplete'=>'off')) !!}
@if (Auth::user()->branchId == 1)
{!! Form::label('branch', 'Branch:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('branchIdFk', array('' => 'Select') + $branchList, null, array('class'=>'form-control', 'id' => 'branchIdFk')) !!}
@endif
{!! Form::label('samity name', 'Samity Name:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('samityIdFk', $samityList, null, array('class'=>'form-control', 'id' => 'samityIdFk')) !!}
{!! Form::label('samity day', 'Samity Day:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('oldSamityDayId', array('' => 'Select'), null, array('class'=>'form-control', 'id' => 'oldSamityDayId', 'readonly' => 'readonly')) !!}
{!! Form::label('new samity day', 'New Samity Day:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('newSamityDayId', array('' => 'Select'), null, array('class'=>'form-control', 'id' => 'newSamityDayId', 'disabled' => 'disabled')) !!}
{!! Form::label('effective date', 'Effective Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('changeDate', null, ['class' => 'form-control', 'id' => 'changeDate', 'type' => 'text', 'readonly' => 'readonly', 'style' => 'cursor:pointer']) !!}
{!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection @endif