@extends('layouts.app') @section('title', 'Purchase Reports') @section('breadcrumbs') @endsection @section('content')
Analyze purchase orders and supplier spending
Total Purchases
$45,230
156 purchase orders
Total Returns
$2,145
12 return orders
Net Amount
$43,085
After returns
| PO Number | Supplier | Date | Items | Amount | Status |
|---|---|---|---|---|---|
| PO-2024-{{ str_pad(3001 + $i, 5, '0', STR_PAD_LEFT) }} | @switch($i % 3) @case(0) ABC Supplies Ltd @break @case(1) XYZ Distribution @break @case(2) Global Imports @break @endswitch | {{ now()->subDays($i * 3)->format('M d, Y') }} | {{ 5 + $i }} items | ${{ number_format(2500 + ($i * 150), 2) }} | @if ($i % 4 === 0) Pending @elseif ($i % 4 === 1) Received @else Completed @endif |
Showing 1 to 12 of 156 purchases