@extends('employee.layouts.app') @section('title', get_setting('site_name').' | '.__('Notice Board')) @section('content')

{{ __('Notice board') }}

{{ __('Company announcements for your branch and organization-wide notices.') }}

{{ (int) ($noticeStats->total ?? 0) }}
{{ __('Notices') }}
{{ (int) ($noticeStats->with_attachment ?? 0) }}
{{ __('With attachment') }}
{{ (int) ($noticeStats->all_branch_count ?? 0) }}
{{ __('All-branch') }}
{{ __('Notice list') }} @if($notices->total() > 0) {{ __('Showing') }} {{ $notices->firstItem() }}–{{ $notices->lastItem() }} {{ __('of') }} {{ $notices->total() }} @endif
@forelse($notices as $notice) @empty @endforelse
# {{ __('Notice') }} {{ __('Scope') }} {{ __('Attachment') }} {{ __('Posted') }} {{ __('Action') }}
{{ $notices->firstItem() + $loop->index }}
{{ $notice->title }}
{{ $notice->plainContentExcerpt(160) }}
@if($notice->warehouse_id === null) {{ __('All branches') }} @else {{ $notice->warehouse?->name ?? __('Branch') }} @endif @if($notice->attach) @else @endif
{{ optional($notice->created_at)->format('d M Y') }}
{{ optional($notice->created_at)->format('h:i A') }}
{{ __('No notices available.') }}
@if($notices->hasPages()) @endif
@endsection @section('modal') @endsection @section('script') @endsection