@extends('distributor.layouts.app') @section('title', 'My Orders') @section('content')
| Order # | Date | Items | Total Amount | Total PV | Status | Actions |
|---|---|---|---|---|---|---|
|
#{{ $order->order_number }}
|
{{ $order->created_at->format('d M, Y') }}
{{ $order->created_at->diffForHumans() }}
|
{{ $order->items->count() }} item{{ $order->items->count() > 1 ? 's' : '' }} | ৳{{ number_format($order->total_amount, 2) }} | {{ number_format($order->total_pv, 2) }} PV | {{ ucwords(str_replace('_', ' ', $order->status)) }} | View Details |