@extends('admin.layouts.app') @php $stages = @$stages; $dos_programs = @$dos_programs; $dos_programs_newui = @$dos_programs_newui; $old_dos_programs = clone $dos_programs; @endphp @section('content')

Application Status Settings

Application Status Settings

@include('admin.includes.status')
@if(!empty($stages)) @foreach($stages as $key => $stage) @endforeach @endif @if(in_array(strtolower(config('common.env_environment_mode')), ['local', 'qa'])) @php unset($old_dos_programs[0]); unset($old_dos_programs[1]); /* This code added for hide DOS Category Intern and Trainee need to be hide for New Application Status UI design */ @endphp @endif @if(!empty($old_dos_programs)) @foreach($old_dos_programs as $key => $value) @if(!empty($stages)) @foreach($stages as $key => $stage) @php $is_checked = ""; if(!empty($enabled_stages[$value->id]) && in_array($stage['stage_id'],$enabled_stages[$value->id])){ $is_checked = "checked"; } @endphp @endforeach @endif @endforeach @endif
OLD UI Application Status Steps
DOS Program Category{{ $stage['stage_title'] }}
{{ $value->program_category_name }} -
@if(in_array(strtolower(config('common.env_environment_mode')), ['local', 'qa']))
@if(!empty($stages_newui)) @foreach($stages_newui as $key => $stage) @endforeach @endif @php unset($dos_programs[2]); /* This code added for hide DOS Category ODC Camp need to be hide for New Application Status UI design */ @endphp @if(!empty($dos_programs)) @foreach($dos_programs as $key => $value) @if(!empty($stages_newui)) @foreach($stages_newui as $key => $stage) @php $is_checked = ""; if(!empty($enabled_stages_newui[$value->id]) && in_array($stage['stage_id'],$enabled_stages_newui[$value->id])){ $is_checked = "checked"; } @endphp @endforeach @endif @endforeach @endif
NEW UI Application Status Steps
DOS Program Category{{ $stage['stage_title'] }}
{{ $value->program_category_name }} - @if($value->ui_design == 0)
@endif
@endif
@endsection @section('scripts') @endsection