@extends('layouts/microfin_layout') @section('title', '| Opening Employment List') @section('content') @php $branchSelected = isset($_GET['filBranch']) ? $_GET['filBranch'] : $userBranchId; @endphp

EMPLOYMENT LIST

@if($userBranchId == 1) {!! Form::open(array('url' => 'mfn/openingInformation/employment', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'filterFormId', 'method'=>'get')) !!}
{!! Form::label('', 'Branch:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filBranch', [''=>'--Select--']+$branchList, $branchSelected ,['id'=>'filBranch','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('', '', ['class' => 'control-label col-md-12']) !!}
{!! Form::submit('Search', ['id' => 'searchButton', 'class' => 'btn btn-primary btn-sm']); !!}
{!! Form::close() !!} @endif @foreach ($openingData as $key => $opData) @endforeach
SL# Loan Product Employment Type Gender Action
{{ $key+1 }} {{ $loanProducts->where('id',$opData->productIdFk)->first()->name }} {{ $employmentTypeList[$opData->employmentType] }} {{ $genderList[$opData->genderTypeId] }}    
{{-- Delete Modal --}} {{-- End Delete Modal --}} @endsection