@extends('layouts.app') @section('page-title', __('Compliance Management')) @section('page-heading', __('Compliance Management')) @section('breadcrumbs') @stop @section('content') @include('partials.messages')
@lang('Total Documents')
{{ $documents->total() }}
@lang('Expiring Soon')
{{ $expiringSoon }}
@lang('Expired')
{{ $expired }}
@lang('Upcoming renewals')
@forelse($upcoming as $item)
{{ $item->name }} - {{ $item->expiry_date?->format('d M Y') }}
@empty
@lang('No renewals scheduled')
@endforelse
@csrf
@forelse($documents as $document) @empty @endforelse
@lang('Name') @lang('Category') @lang('Reference') @lang('Expiry') @lang('Status') @lang('Actions')
{{ $document->name }} {{ $document->category?->name }} {{ $document->reference_number }} {{ $document->expiry_date?->format('d M Y') }} {{ ucfirst(str_replace('_', ' ', $document->status_for_display)) }} @lang('View') @lang('Edit') @lang('Download')
@lang('No compliance documents found.')
{{ $documents->links() }}
@stop