@extends('layouts/microfin_layout') @section('title', '| Add Samity Field Officer Change') @section('content')
Samity Field Officer Change
{!! Form::open(array('url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups')) !!} @if (Auth::user()->branchId == 1)
{!! Form::label('branch name', 'Branch Name:', ['class' => 'col-sm-2 control-label']) !!}
@endif @if (Auth::user()->branchId == 1)
{!! Form::label('Current field officer', 'Current field officer:', ['class' => 'col-sm-2 control-label']) !!}
@else
{!! Form::label('Current field officer', 'Current Field Officer:', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('fieldOfficerId', ($damageData['curentfieldOfficerInfo']), null, array('class'=>'form-control', 'id' => 'fieldOfficerId', 'required'=> 'required')) !!}
@endif
{!! Form::label('Samity List', 'Samity List:', ['class' => 'col-sm-2 control-label']) !!}
@if (Auth::user()->branchId == 1)
{!! Form::label('new field officer', 'New Field Officer:', ['class' => 'col-sm-2 control-label']) !!}
@else
{!! Form::label('new field officer', 'New Field Officer:', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('newFieldOfficerId', ($damageData['newOfficerInfo']), null, array('class'=>'form-control', 'id' => 'newFieldOfficerId')) !!}
@endif
{!! Form::label('effective date', 'Effective Date:', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('effectiveDate', $value = $damageData['softwareDate'], ['class' => 'form-control', 'id' => 'effectiveDate', 'type' => 'text', 'readonly' => 'readonly']) !!}
{!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection