@extends('layouts.app') @section('title', $customer->name) @section('content')
| # | Date | Items | Total | Received | |
|---|---|---|---|---|---|
| {{ $order->id }} | {{ $order->date->format('d M Y') }} | @foreach($order->items as $item) {{ $item->product->category->name ?? '' }} {{ $item->product->weight->label ?? '' }} x{{ (int)$item->quantity }}{{ !$loop->last ? ', ' : '' }} @endforeach | Rs. {{ number_format($order->total, 2) }} | Rs. {{ number_format($order->paid, 2) }} | View |
| No orders yet | |||||
| # | Date | Amount | Notes |
|---|---|---|---|
| {{ $payment->id }} | {{ $payment->date->format('d M Y') }} | Rs. {{ number_format($payment->amount, 2) }} | {{ $payment->notes ?: '-' }} |
| No payments received yet | |||