@extends('procurement::layouts.master') @section('title','Price History') @section('content') @include('procurement::components.partials.page_header',['title'=>'Price History','actionRoute'=>route('procurement.price-history.create'),'actionLabel'=>'Add Price Entry'])
Clear
@include('procurement::components.partials.sortable_th', ['label'=>'Component','field'=>'component']) @include('procurement::components.partials.sortable_th', ['label'=>'Supplier','field'=>'supplier']) @include('procurement::components.partials.sortable_th', ['label'=>'Date','field'=>'date']) @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($records as $h) @empty @endforelse
SourceNotes
{{ Str::limit($h->component->description,35) }} {{ $h->supplier->name ?? '—' }} {{ $h->effective_date->format('M j, Y') }} {{ $h->qty_break }} ${{ number_format($h->unit_price,4) }} {{ $h->currency }} {{ $h->source ?: '—' }} {{ Str::limit($h->notes,30) }}
@csrf @method('DELETE')
No price history yet.
{{ $records->withQueryString()->links() }} @endsection