@extends('layouts.admin') @push('title', get_phrase('Application')) @push('meta')@endpush @push('css')@endpush @section('content') @php $pendings = App\Models\Application::where('status', 0)->paginate(10); $approved = App\Models\Application::where('status', 1)->paginate(10); @endphp
{{ get_phrase('Showing') . ' ' . count($pendings) . ' ' . get_phrase('of') . ' ' . $pendings->total() . ' ' . get_phrase('data') }}
# | {{ get_phrase('Name') }} | {{ get_phrase('Document') }} | {{ get_phrase('Details') }} | {{ get_phrase('Status') }} | {{ get_phrase('Action') }} |
---|---|---|---|---|---|
{{ ++$key }} | {{ get_user_info($pending->user_id)->name }} | {{ get_phrase('Application details') }} |
@if ($pending->status == 0)
{{ get_phrase('Pending') }}
@else
{{ get_phrase('Approved') }}
@endif
|
{{ get_phrase('Showing') . ' ' . count($pendings) . ' ' . get_phrase('of') . ' ' . $pendings->total() . ' ' . get_phrase('data') }}
{{ get_phrase('Showing') . ' ' . count($approved) . ' ' . get_phrase('of') . ' ' . $approved->total() . ' ' . get_phrase('data') }}
# | {{ get_phrase('Name') }} | {{ get_phrase('Document') }} | {{ get_phrase('Details') }} | {{ get_phrase('Status') }} |
---|---|---|---|---|
{{ ++$key }} | {{ get_user_info($approve->user_id)->name }} | {{ get_phrase('Application details') }} |
@if ($approve->status == 0)
{{ get_phrase('Pending') }}
@else
{{ get_phrase('Approved') }}
@endif
|
{{ get_phrase('Showing') . ' ' . count($approved) . ' ' . get_phrase('of') . ' ' . $approved->total() . ' ' . get_phrase('data') }}