@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: ' . __('Gerenciar Clientes')) @section('content')
@include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => " " . __($headLine), 'routeBack' => 'admin.demandas.dashboard', 'routeBackParams' => [], 'nameBack' => __('Voltar'), 'permission' => 'GERENCIADOR_DEMANDAS', ])
@if (session('success')) @endif @if ($errors->any()) @endif
@if ($busca) @endif
{{ __('Total de clientes:') }} {{ $clientes->total() }}
@forelse ($clientes as $cliente) @empty @endforelse
{{ __('Nome') }} {{ __('CPF') }} {{ __('Matrícula') }} {{ __('Setor') }} {{ __('Telefone') }} {{ __('Ações') }}
{{ $cliente->nome }} {{ $cliente->cpf ?? '-' }} {{ $cliente->matricula ?? '-' }} {{ $cliente->setor ?? '-' }} {{ $cliente->telefone ?? '-' }}
@if (auth()->user()->getPermissaoDetalhes('GERENCIADOR_DEMANDAS')['editar']) @endif @if (auth()->user()->getPermissaoDetalhes('GERENCIADOR_DEMANDAS')['excluir'])
@csrf @method('DELETE')
@endif
{{ __('Nenhum cliente encontrado.') }}
@if ($clientes->hasPages()) @endif
@if (auth()->user()->getPermissaoDetalhes('GERENCIADOR_DEMANDAS')['adicionar']) @endif @if (auth()->user()->getPermissaoDetalhes('GERENCIADOR_DEMANDAS')['editar']) @endif @endsection