@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: Avaliação - Arte Sacra') @section('body_class', 'page-avaliacao') @section('content')
@php $headLine = " Arte Sacra - Avaliação Técnica - {$acervo->codigo_acervo} - {$acervo->nome_peca}"; @endphp @include('components.buttons._headLineButtonsBackAdd', [ "headLine" => __($headLine), "routeBack" => "admin.cultura.arteSacra.index", "routeBackParams" => [], "fontawesomeBack" => '', "nameBack" => __("Lista de Peças"), "routeAdd" => "admin.cultura.arteSacra.create", "routeAddParams" => [], "nameAdd" => __("Nova peça"), "permission" => "GERENCIADOR_DO_CADASTRO_DE_ARTE_SACRA", ]) @include('errors.messageFlash')
@csrf
Nova Avaliação Técnica
Estado de Conservação
Por favor, selecione o estado do suporte.
Por favor, selecione o estado da policromia.
Imagem Antes da Análise
Formatos: JPG, PNG (Máx. 5MB)
Formatos: JPG, PNG (Máx. 5MB)
Imagem Depois da Análise
Formatos: JPG, PNG (Máx. 5MB)
Formatos: JPG, PNG (Máx. 5MB)
Responsável pela Avaliação
Por favor, informe a data da avaliação.
Por favor, informe o nome do responsável.
@include('components.tables._thead', [ 'thead' => [ 'Suporte', 'Policromia', 'Diagnóstico', 'Procedimentos', 'Imagens Antes', 'Imagens Depois', 'Data da Avaliação', 'Responsável', 'Ações' ] ]) @foreach ($avaliacoes as $avaliacao) @endforeach
{{ $avaliacao->suporte }} {{ $avaliacao->policromia }} @php $text = strip_tags($avaliacao->diagnostico); $limit = 100; @endphp @if (strlen($text) > $limit) {{ Str::limit($text, $limit) }} ver mais @else {{ $text }} @endif @php $text = strip_tags($avaliacao->procedimentos); $limit = 100; @endphp @if (strlen($text) > $limit) {{ Str::limit($text, $limit) }} ver mais @else {{ $text }} @endif @foreach (['imagem_antes_frente' => 'Antes Frente', 'imagem_antes_verso' => 'Antes Verso'] as $campo => $alt) @if ($avaliacao->$campo) $campo}") }}" width="90" height="90" alt="{{ $alt }}" class="rounded-circle me-1" style="object-fit: cover; cursor: pointer;" data-bs-toggle="modal" data-bs-target="#modal-{{ $campo }}-{{ $avaliacao->id }}"> @endif @endforeach @foreach (['imagem_depois_frente' => 'Depois Frente', 'imagem_depois_verso' => 'Depois Verso'] as $campo => $alt) @if ($avaliacao->$campo) $campo}") }}" width="90" height="90" alt="{{ $alt }}" class="rounded-circle me-1" style="object-fit: cover; cursor: pointer;" data-bs-toggle="modal" data-bs-target="#modal-{{ $campo }}-{{ $avaliacao->id }}"> @endif @endforeach {{ \Carbon\Carbon::parse($avaliacao->data_avaliacao)->format('d/m/Y') }} {{ $avaliacao->responsavel }}
@csrf @method('DELETE')
@endsection