@extends('layouts.app')
@section('title', 'Reports')
@section('page_title', 'Procurement Reports')
@section('content')
{{ $totalRequests }}
Total Requests
C${{ number_format($requestValue,0) }}
Estimated Request Value
C${{ number_format($poValue,0) }}
PO Value
C${{ number_format($paidValue,0) }}
Paid Value
Requests by Status
| Status | Total |
@foreach($requestsByStatus as $row)| {{ str_replace('_',' ', $row->status) }} | {{ $row->total }} |
@endforeach
Purchase Orders by Status
| Status | Total |
@foreach($ordersByStatus as $row)| {{ str_replace('_',' ', $row->status) }} | {{ $row->total }} |
@endforeach
Top Suppliers
| Supplier | PO Value |
@foreach($topSuppliers as $supplier)| {{ $supplier->company_name }} | C${{ number_format($supplier->total_purchase_orders_value ?? 0,2) }} |
@endforeach
@endsection