@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: Visite Angra - Lista de Corredores Turísticos') @section('content')
@php $headLine = " Visite Angra - Lista de Corredores Turísticos"; @endphp @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __($headLine), 'routeBack' => 'admin.visiteAngra.index', 'routeBackParams' => [], 'nameBack' => __("Voltar"), 'routeAdd' => 'admin.visiteAngra.corredores.create', 'routeAddParams' => [], 'nameAdd' => __("Novo corredor"), "permission" => "GERENCIADOR_VISITE_ANGRA", ]) @include("components.cards._cardNavVisiteAngra")
@include("errors.messageFlash") @include('components/forms/_filtroPesquisaDefault', [ "id" => "visiteAngraListaCorredorTuristico", "placeholder" => "Pesquisar por corredor..." ]) @php $index = 0; @endphp @foreach($corredores as $corredor) @include('components.tables._openPhoto',[ 'asset' => $corredor->foto, 'alt' => $corredor->corredor, 'title' => $corredor->corredor, 'text' => 'Visualizar corredor', ]) {{ $corredor->corredor }} {{ $corredor->subtitulo }} @include('components/buttons/_status', [ "index" => $index, "route" => "admin.visiteAngra.corredores.status", "id" => $corredor->id, "status" => $corredor->status, "permission" => "GERENCIADOR_VISITE_ANGRA", ])
@include('components/buttons/_editButton', [ "route" => "admin.visiteAngra.corredores.edit", "id" => $corredor->id, "fontawesome" => null, "title" => "Editar", "permission" => "GERENCIADOR_VISITE_ANGRA", ]) @include("components.buttons._upload",[ "route" => "admin.visiteAngra.corredores.arquivos.index", "id" => $corredor->id, "permission" => "GERENCIADOR_VISITE_ANGRA", ]) @include('components/buttons/_deleteButton', [ "message" => "* Este corredor será excluído e esta ação não poderá ser desfeita?", "route" => "admin.visiteAngra.corredores.destroy", "id" => $corredor->id, "fontawesome" => null, "title" => "Excluir", "permission" => "GERENCIADOR_VISITE_ANGRA", ])
@php $index++; @endphp @endforeach
@endsection