@extends('admin.layouts.app') @section('title', 'Dashboard') @section('content')
| Invoice | Supplier | Total | Date |
|---|---|---|---|
| {{ $purchase->invoice_no }} | {{ $purchase->supplier->name }} | {{ number_format($purchase->total, 2) }} | {{ $purchase->date->format('d/m/Y') }} |
| No recent purchases | |||
| Invoice | Customer | Total | Date |
|---|---|---|---|
| {{ $sale->invoice_no }} | {{ $sale->customer->name ?? 'N/A' }} | {{ number_format($sale->total, 2) }} | {{ $sale->date->format('d/m/Y') }} |
| No recent sales | |||