@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: Avaliação - Arte Sacra') @section('body_class', 'page-avaliacao') @section('content')
| {{ $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)
|
@foreach (['imagem_depois_frente' => 'Depois Frente', 'imagem_depois_verso' => 'Depois Verso'] as $campo => $alt)
@if ($avaliacao->$campo)
|
{{ \Carbon\Carbon::parse($avaliacao->data_avaliacao)->format('d/m/Y') }} | {{ $avaliacao->responsavel }} |