@extends('layouts.partials.master') @section('title', 'Histórico de Preços') @push('styles') @endpush @section('content') @include('layouts.components.section-title', ['title' => 'Histórico de Preços'])
@include('layouts.components.alerts')
@if ($history instanceof \Illuminate\Pagination\LengthAwarePaginator) Ver todos @else Paginar @endif
@include('layouts.components.per-page', ['subject' => $history, 'route' => 'prd_product_price_history'])
@forelse($history as $item) @php $rowLabel = optional($item->variant)->sku ? (trim(((optional($item->product)->name) ?? 'Produto') . ' | ' . (optional($item->variant)->sku))) : (optional($item->product)->name ?? 'Produto'); @endphp @empty @endforelse
ID Nome do produto SKU da variante Preço Data de alteração Gráfico
{{ $item->id }} {{ $item->product->name }} @if(optional($item->variant)->sku) {{ optional($item->variant)->sku }} @else - @endif @formatEuro($item->price) {{ $item->created_at->format('d/m/Y') }}

{{ __('translations.no_results') }}

@include('layouts.components.pagination', ['subject' => $history]) @endsection @push('scripts') @vite('resources/js/charts.js') @endpush