@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) @empty @endforelse
ID Nome do produto SKU da variante Preço Data de alteração
{{ $item->id }} {{ $item->product->name }} @if($item->variant->sku) {{ $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