@extends('layouts.app') @section('title', __('Country-wise Workflow Settings')) @push('styles') @endpush @section('content')
| {{ __('Order') }} | {{ __('Stage') }} | {{ __('Available statuses') }} |
|---|---|---|
| {{ $index + 1 }} | {{ __(\Illuminate\Support\Str::headline($stage)) }} | {{ collect($stageStatuses[$stage] ?? [])->map(fn($status) => __(\Illuminate\Support\Str::headline($status)))->join(', ') }} |
| {{ __('Country') }} | {{ __('Code') }} | {{ __('Status') }} | {{ __('Overseas') }} | {{ __('Student') }} | {{ __('Hajj & Umrah') }} | {{ __('Total') }} | {{ __('Workflow') }} | |
|---|---|---|---|---|---|---|---|---|
| {{ $country->name }} | {{ $country->code ?: '—' }} | {{ $country->overseas_count }} | {{ $country->student_count }} | {{ $country->hajj_umrah_count }} | {{ $country->recruitments_count }} |
@php($skipped = $disabledByCountry[$country->id] ?? collect())
@if ($skipped->isEmpty())
{{ __('Default (all steps)') }}
@else
{{ __('Custom') }}
{{ __('Skipped') }}:
{{ $skipped->pluck('stage')->unique()->map(fn($st) => __(\Illuminate\Support\Str::headline($st)))->join(', ') }}
@endif
|
|
|
| {{ __('No countries found.') }} | ||||||||