Requests
Request No. |
Store |
Supplier |
Total |
Status |
Initiated By |
Created At |
Action |
@foreach($purchaseRequests as $request)
REQ #{{ $request->id }} |
{{ $request->store->name }} |
{{ $request->supplier->name }} |
{{ number_format($request->calculateTotalCost()) }} |
{{ $request->status }} |
{{ $request->creator->name }} |
{{ $request->created_at }} |
|
@endforeach
@foreach($purchaseRequests as $request)
Are you sure you want to approve this purchase request?
@endforeach
@foreach($purchaseRequests as $request)
@endforeach
@foreach($purchaseRequests as $request)
Supplier Details
Name: {{ $request->supplier->name }}
Email: {{ $request->supplier->email }}
Phone: {{ $request->supplier->phone }}
Product |
Unit of Measure |
Cost |
Tax Type |
Quantity |
Total |
@foreach ($request->items as $item)
{{ $item->product->name }} |
{{ $item->uom->name }} |
{{ number_format($item->cost) }} |
{{ $item->tax_type }} |
{{ $item->quantity }} |
{{ number_format($item->cost * $item->quantity) }} |
@endforeach
@php
$totalCost = $request->items->sum(function ($item) {
return $item->cost * $item->quantity;
});
@endphp
Total |
{{ number_format($totalCost) }} |
@endforeach
@foreach($purchaseRequests as $request)
@endforeach
Purchase Orders
Order No. |
Store |
Supplier |
Total |
Status |
Initiated By |
Action |
Purchase Returns
Order No. |
Supplier Name |
Total Amount |
Created At |
Action |
Pending Delivery
Order No. |
Supplier Name |
Initiated By |
Action |