| Usuário |
Órgão |
Data início |
Data fim |
Funções |
@foreach ($categories as $category)
|
@if ($user = App\UserAccount::find($category->user_account_id))
{{ $user->name }}@if ($user->status == 0) (desabilitado)@endif
@else
Usuário Inexistente
@endif
|
@if ($setor = App\Setor::find($category->setor_id))
{{ $setor->name }}@if ($setor->status == 0)
(desabilitado)
@endif
@else
Setor Inexistente
@endif
|
@php $createdAt = \Carbon\Carbon::parse($category->entrada)->format('d-m-Y'); @endphp
@if ($createdAt != '10-10-2001')
{{ $createdAt }}
@endif
|
@php $createdAt = \Carbon\Carbon::parse($category->saida)->format('d-m-Y'); @endphp
@if ($createdAt != '10-10-2001')
{{ $createdAt }}
@endif
|
@if ($category->status == 1 && ($setor = App\Setor::find($category->setor_id)) && $setor->status == 1 && $user->status == 1)
@endif
|
@endforeach
Exibindo {{ $categories->currentPage() }} até
{{ $categories->perPage() }} de {{ $categories->count() }} linhas -
{{ $categories->perPage() }} registros por página
@if (isset($dataform))
{!! $categories->appends($dataform)->links('pagination::bootstrap-4') !!}
@else
{!! $categories->links('pagination::bootstrap-4') !!}
@endif