@extends('layouts.app') @section('title', __('Histórico') . ' — #' . $registro->id) @push('styles') @endpush @section('content')
{{ __('Versiones anteriores') }} {{ $historicos->count() }} {{ __('versiones') }}
@if($historicos->isEmpty())
{{ __('Sin versiones anteriores') }}
@else
@foreach($historicos as $h) @endforeach
{{ __('Fecha cambio') }} {{ __('Diseño') }} {{ __('Color') }} {{ __('Proveedor') }} {{ __('Estado') }} {{ __('Prioridad') }} {{ __('Top') }} {{ __('Bottom') }} {{ __('Talla Foto') }} {{ __('Comentario') }} {{ __('Feedback') }} {{ __('F. Embarque') }} {{ __('Nuevo') }} {{ __('SAP') }}
{{ $h->created_at ? $h->created_at->format('d/m/Y H:i') : '—' }} {{ $h->diseno->Nombre_Diseno ?? '—' }} {{ $h->color->Color ?? '—' }} {{ $h->proveedor->Proveedor ?? '—' }} @if($h->estadoMuestraDiseno) {{ $h->estadoMuestraDiseno->EstadoMuestraDiseno }} @else — @endif {{ $h->prioridad->Prioridad ?? '—' }} {{ $h->Superior ?? '—' }} {{ $h->Inferior ?? '—' }} {{ $h->tallaFoto->Talla ?? '—' }} {{ $h->Comentario ? \Illuminate\Support\Str::limit($h->Comentario, 40) : '—' }} {{ $h->FeedbackProveedor ? \Illuminate\Support\Str::limit($h->FeedbackProveedor, 40) : '—' }} {{ $h->FechaEmbarque ? \Carbon\Carbon::parse($h->FechaEmbarque)->format('d/m/Y') : '—' }} @if($h->Aprobado) @else @endif @if($h->migraraSAP) @else @endif
@endif
@endsection @push('scripts') @endpush