@extends('layouts.bootstrap') @section('title', 'Dashboard') @section('header')
| Product | Category | Price | Created |
|---|---|---|---|
| {{ $product->name }} @if($product->isIncomplete()) Incomplete @endif | {{ $product->category->name ?? '-' }} | @if($product->price) ${{ number_format($product->price, 2) }} @else - @endif | {{ $product->created_at->diffForHumans() }} |
No products found.
@endifNo categories found.
@endif| Product | Changed By | Old Price | New Price | Change | Date |
|---|---|---|---|---|---|
| {{ $change->product->name }} | {{ $change->user->name }} | ${{ number_format($oldPrice, 2) }} | ${{ number_format($newPrice, 2) }} | {{ $difference >= 0 ? '+' : '' }}{{ number_format($percentChange, 1) }}% | {{ $change->created_at->diffForHumans() }} |