@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: ' . __('Convocações') . ' - ' . $evento->nome) @section('content')
@php $headLine = " " . __('Convocações') . ': ' . $evento->nome; @endphp @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => $headLine, 'routeBack' => 'admin.cultura.credenciamentoMusicos.convocacoes.index', 'routeBackParams' => [], 'nameBack' => __('Voltar'), 'permission' => 'GERENCIADOR_CREDENCIAMENTO_DE_MUSICOS', ])
@include('errors.messageFlash')
{{ __('Convocados neste evento') }}
@if($convocacoes->isEmpty())

{{ __('Nenhuma convocação ainda.') }}

@else
@foreach($convocacoes as $c) @endforeach
{{ __('Ordem') }} {{ __('Artista / Grupo') }} {{ __('Data') }} {{ __('Status') }}
{{ $c->ordem }} {{ $c->musico->grupo_nome ?: optional($c->musico->user)->name }} {{ $c->data_convocacao ? $c->data_convocacao->format('d/m/Y') : '–' }} @if($c->status === 'CONFIRMADA') {{ __('Confirmada') }} @elseif($c->status === 'CANCELADA') {{ __('Cancelada') }} @else {{ __('Pendente') }} @endif
@csrf @method('patch')
@csrf @method('delete')
@endif
{{ __('Adicionar convocação') }}
@if($elegiveis->isEmpty())

{{ __('Todos os credenciados elegíveis já foram convocados para este evento, ou não há artistas credenciados no momento.') }}

@else
@csrf
@endif
@endsection