@extends('procurement::layouts.master') @section('title','Price History') @section('content')

Price History — {{ $component->description }}

+ Add Price ← Back
Clear
@include('procurement::components.partials.sortable_th', ['label'=>'Date','field'=>'date']) @include('procurement::components.partials.sortable_th', ['label'=>'Supplier','field'=>'supplier']) @include('procurement::components.partials.sortable_th', ['label'=>'Qty Break','field'=>'qty_break']) @include('procurement::components.partials.sortable_th', ['label'=>'Unit Price','field'=>'price','class'=>'text-right']) @include('procurement::components.partials.sortable_th', ['label'=>'Currency','field'=>'currency']) @forelse($history as $h) @empty @endforelse
SourceNotes
{{ $h->effective_date->format('M j, Y') }} {{ $h->supplier->name ?? '—' }} {{ $h->qty_break }} ${{ number_format($h->unit_price,4) }} {{ $h->currency }} {{ $h->source ?: '—' }} {{ $h->notes ?: '—' }}
No price history recorded
{{ $history->withQueryString()->links() }} @endsection