@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('E-Nothi')) @push('css') @endpush @section('content')
{{ __('Staff applications to management with noting and approval.') }}
| {{ __('File No.') }} | {{ __('Subject') }} | {{ __('Employee') }} | {{ __('Branch') }} | {{ __('Category') }} | {{ __('Priority') }} | {{ __('Status') }} | {{ __('SLA due') }} | {{ __('Approver') }} | {{ __('Submitted') }} | |
|---|---|---|---|---|---|---|---|---|---|---|
{{ $row->file_number }} |
{{ \Illuminate\Support\Str::limit($row->subject, 45) }} | @if($employee = $row->staff?->user) {{ $employee->name }}({{ $employee->id }}) @else — @endif | {{ $row->staff?->warehouse?->name ?? $row->warehouse?->name ?? '—' }} | {{ \App\Models\EnothiFile::categoryLabel($row->category, $row->enothi_category_id) }} | @if($row->priority === \App\Models\EnothiFile::PRIORITY_URGENT) {{ __('Urgent') }} @else {{ __('Normal') }} @endif | {{ \App\Models\EnothiFile::statusLabel($row->status) }} | {{ $row->level_due_at?->format('Y-m-d') ?? '—' }} @if($slaOverdue) @endif | @if($approver = $row->approvalRequest?->currentApprover) {{ $approver->name }}({{ $approver->id }}) @else — @endif | {{ $row->submitted_at?->format('Y-m-d') ?? $row->created_at?->format('Y-m-d') }} | {{ __('View') }} @can('Enothi-edit') @if(in_array($row->status, \App\Services\Enothi\EnothiFileService::adminEditableStatuses(), true)) @endif @endcan @can('Enothi-delete') @if(in_array($row->status, \App\Services\Enothi\EnothiFileService::adminDeletableStatuses(), true)) @endif @endcan |
| @if(!empty($hasFilters) && $hasFilters) {{ __('No applications match your filters.') }} @else {{ __('No E-Nothi files found.') }} @endif | ||||||||||