@extends('layouts/gnr_layout') @section('title', '| Approval Configuration') @section('content') @php $pageNo = isset($_GET['page']) ? (int) $_GET['page'] : 1; @endphp

Approval Configuration

{!! Form::open([ 'url' => Request::url(), 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'filterFormId', 'method' => 'get', ]) !!}
{!! Form::label('module_id', 'Module:', ['class' => 'control-label']) !!} {!! Form::select( 'module_id', ['' => 'All']+$gnr_module, request()->all('module_id')['module_id'] ?? '', [ 'class' => 'form-control', 'id' => 'moduleId', ]) !!}
{!! Form::label('entity_name', 'Configure Event:', ['class' => 'control-label']) !!} {!! Form::select( 'entity_name', ['' => 'All']+$moduleConfigureEvents, request()->all('entity_name')['entity_name'] ?? '', [ 'class' => 'form-control', 'id' => 'entityName', ]) !!}
@if(Auth::user()->isSuperAdminUser())
{!! Form::label('status', 'Status:', ['class' => 'control-label']) !!} {!! Form::select( 'status', ['' => 'All', 1 => 'Active', 2 => 'Inactive'], request()->all('status')['status'] ?? '', [ 'class' => 'form-control', 'id' => 'status', ]) !!}
@endif
{!! Form::label('submit', ' ', ['class' => 'control-label']) !!} {!! Form::submit('Search', ['id' => 'submit', 'class' => 'form-control btn btn-search']) !!}
{!! Form::close() !!} @php($sl = 1) @foreach ($approvalConfigs as $key => $v) @endforeach
SL NO Configure For Step Type Effective Date Additional Steps Action
{{ $sl++ }} {{ $APPROVAL_CONFIG_TYPES[$v->entity_name]['label'] }} {{ $v->stepType }} {{ date('d-m-Y', strtotime($v->effective_date)) }} @if ($v->amount > 0) {{ number_format($v->amount, 2) }}
@endif @if ($v->txType) {{ ucfirst($v->txType) }}
@endif
    @foreach ($v->steps as $step)
  • {{ \App\Service\Helper::getOrdinalNumber($step->stepNo) }} : {{ $step->name }}
  • @endforeach
{{-- {{ $interest->appends(request()->input())->links() }} --}}
@endsection {{-- Delete Modal --}} {{-- End Delete Modal --}}