@extends('layouts.dashboard') @section('contents')

List of Applications

@if($appusr->role < 3)

- All Posts & Depts/Offices -

@else @if($scrutinyDepts && $scrutinyId)

{{ $scrutinyDepts->firstWhere('id', $scrutinyId)?->details }} ({{$scrutinyDepts->firstWhere('id', $scrutinyId)?->post_type}})

{{ $scrutinyDepts->firstWhere('id', $scrutinyId)?->dept_desc }}

@else

Dept./Office => Undefined

@endif @endif
@if(!is_null($scrutinyMember)) @endif @foreach($lists as $l) @if(!is_null($scrutinyMember)) @endif @endforeach
Sl. Name Father's Name Post Dept./Office Post-Type Certificates Application Actions Status Scrutinize-By Remarks Missing-Docs.
{{ $loop->iteration + $lists->firstItem() - 1 }}. {{ $l->snapshot['applicant']['name'] }} {{ $l->snapshot['applicant']['father'] }} {{ $l->details }} {{ $l->dept_desc }} {{$l->post_type}} View Doc App.Form @if(is_null($l->scrutiny_by) || (!is_null($scrutinyMember) && $scrutinyMember->s_role === 1)) @include('widgets.scrutiny',['id' => $l->id, 'name' => $l->name, 'proPic' => $l->pro_pic, 'dept' => strtoupper($l->dept), 'degree' => $l->degree, 'time' => $l->time]) @else -- @endif @if($l->acceptance === 1) @elseif($l->acceptance === 0) Icon description @elseif($l->acceptance === 2) EQC @endif @if(!is_null($l->scrutiny_by)) {{ $l->scr_name }} @endif {{ $l->remarks }} @if($l->missing_docs === 1) *Yes @endif
{{--
@if (method_exists($lists, 'links')) {{ $lists->links() }} @endif
--}}
entries
@if (method_exists($lists, 'links')) {{ $lists->links() }} @endif {{--

Total: {{ $lists->total() }}

Per Page: {{ $lists->perPage() }}

Has Pages: {{ $lists->hasPages() ? 'Yes' : 'No' }}

--}}
@endsection @section('scripts') @endsection