@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: ' . __('Arquivos do ') . $conselho->nome) @section('content') @include('errors.messageFlash')
@php $headLine = "" . __('Arquivos do ') . " " . $conselho->nome; @endphp @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => $headLine, 'routeBack' => 'admin.conselhosMunicipais.conselhos.index', 'nameBack' => __('Voltar'), 'routeAdd' => 'admin.conselhosMunicipais.arquivos.create', 'routeAddParams' => [$conselho->id], 'nameAdd' => __('Novo arquivo'), 'permission' => 'GERENCIADOR_DE_CONSELHOS' ])
@include('components.tables._thead', ['thead' => [ '#', __('Tipo'), __('Data'), __('Pertence a'), __('Nome'), __('Status'), __('Ações'), __('Indexar') ]]) @php $index = 0; @endphp @forelse($arquivos as $arquivo) @php $index++; @endphp @empty @endforelse
{{ $arquivo->tipo }} {{ $arquivo->evento_at ? date('d/m/Y', strtotime($arquivo->evento_at)) : '' }} {{ $conselho->nome }} {{ $arquivo->nome }}
@csrf @if($arquivo->status === 'ATIVADO')
@else
@endif
@csrf @method('delete')
@if($arquivo->indexado) @else
@csrf
@endif
{{ __('* Nenhum registro encontrado!') }}
{!! $arquivos->links() !!}
@endsection