@extends('BackEnd.Layouts.main') @section('title') {{ __('messages.View Newspapers') }} @endsection @section('content')
@include('BackEnd.Layouts.breadcrumb') @if(session('success'))
{{session("success")}}
@endif @if(session('error'))
{{ session('error') }}
@endif
@include('BackEnd.Layouts.tableheader')
{{-- --}} @ability(['admin','super_admin'],['']) @endability @foreach ($newspapers as $newspaper) {{-- --}} @ability(['admin','super_admin'],['']) @endability @endforeach
م رقم العددالصفحات{{ __('messages.STATUS') }}{{ __('messages.PUBLISHED_DATE') }} الناشر آخر تعديل بواسطة {{ __('messages.CONTROL') }}
{{ $newspaper->id }} العدد ({{ $newspaper->newspaper_number }}) - {{ date('Y-M-d', strtotime($newspaper->publish_up)) }} {{ $newspaper->created_at->toDateString() }}
{{ $newspaper->created_at->format('h:iA') }}
{{ $newspaper->getUser->name??'' }} {{ $newspaper->getEditor->name??'' }} @ability(['publisher','admin','super_admin'],['']) @if(true) @endif @endability
{{ $newspapers->links() }}
@endsection @push('plugin_js') @endpush @push('custom_js') {{-- --}} @endpush @push('is_active_ajax') @endpush