@extends('layouts/microfin_layout') @section('title', 'MIS Yearly Plans') @section('content') @include('microfin.AopBudget.misYearlyPlan.entry.style')

MIS Yearly Plans

{!! Form::open(array('url' => 'misYearlyBudget/view/', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'viewBudgetForm', 'method'=>'get')) !!} {{-- // Projects --}}
{!! Form::label('projectId', 'Project:', ['class' => 'col-sm-12 control-label']) !!}
{!! Form::select('projectId', $projects, $projectId ,['id'=>'projectId','class'=>'form-control input-sm','autocomplete'=>'off']) !!}

{{-- // Projects Types --}}
{!! Form::label('projectTypeIdFk', 'Project Type:', ['class' => 'col-sm-12 control-label']) !!}
{!! Form::select('projectTypeIdFk', $projectTypes, $projectTypeIdFk ,['id'=>'projectTypeIdFk','class'=>'form-control input-sm','autocomplete'=>'off']) !!}

{{-- // Branches --}}
{!! Form::label('branchId', 'Branch:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('branchId', $branches, $branchId ,['id'=>'branchId','class'=>'form-control input-sm select2','autocomplete'=>'off']) !!}

{{-- // Fiscal Years --}}
{!! Form::label('', 'Fiscal Year:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('fiscalYearId', $fiscalYears, $fiscalYearId ,['id'=>'filFiscalyear','class'=>'form-control input-sm','autocomplete'=>'off']) !!}

{{-- // Types --}}
{!! Form::label('', 'Type:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('typeId', array('all'=>'All') + $budgetTypes, $typeId ,['id'=>'filType','class'=>'form-control input-sm','autocomplete'=>'off']) !!}

{!! Form::label('', '', ['class' => 'control-label col-sm-12']) !!}
{!! Form::submit('Search', ['id' => 'budgetSearchSubmit', 'class' => 'btn btn-primary btn-s animated fadeInRight', 'style'=>'font-size:12px']); !!}
{!! Form::close() !!}
{{ csrf_field() }} @php $pageNumber = (!empty($_GET['page'])) ? (int)$_GET['page'] : 1; $no = ($pageNumber - 1) * 20; @endphp @if (count($budgets) == 0) @else @foreach($budgets as $key => $budget) @php $budget = (array) $budget; @endphp @endforeach @endif
SL# Project Project Type Branch Fiscal Year Budget Type Status Action
No Budget Available In This Search Range
{{ $loop->iteration }} {{ $projects[$budget['projectIdFk']]}} {{ $projectTypes[$budget['projectTypeIdFk']]}} {{ $branches[$budget['branchIdFk']] }} {{ $fiscalYears[$budget['fiscalYearIdFk']] }} {{ ucfirst($budget['budgetType']) }} @if ($budget['softDel'] == 1) @else @endif {{-- // VIEW DETAILS --}}   {{-- // EDIT --}} {{-- @if( Auth::user()->id == 1 ) --}} @if ( $fiscalYears[$budget['fiscalYearIdFk']] == $editFiscalYear) @endif {{-- @endif --}}   {{-- Delete budget --}} @if( Auth::user()->branchId == 1 ) @endif
{{-- modal div --}} {{-- budget approve modal --}}
@include('microfin.AopBudget.misYearlyPlan.entry.script') @endsection