@extends('b2bportal::storefront.layouts.app') @php $primary = $orders->first(); $totals = [ 'subtotal' => $orders->sum('subtotal'), 'discount' => $orders->sum('discount_total'), 'tax' => $orders->sum('tax_total'), 'shipping' => $orders->sum('shipping_total'), 'grand' => $orders->sum('grand_total'), ]; $currency = config('constants.currency_symbol', '₹'); $badgeMap = [ 'pending'=>'bg-yellow-100 text-yellow-800','confirmed'=>'bg-blue-100 text-blue-800', 'processing'=>'bg-blue-100 text-blue-800','shipped'=>'bg-indigo-100 text-indigo-800', 'delivered'=>'bg-green-100 text-green-800','cancelled'=>'bg-red-100 text-red-700', 'refunded'=>'bg-gray-100 text-gray-700', ]; @endphp @section('title', 'Order ' . ($primary->order_number ?? '') . ' — ' . ($business->name ?? 'B2B Portal')) @section('content')
After paying, enter your UTR and upload the payment screenshot so we can verify quickly.
| Item | Qty | Unit | Subtotal |
|---|---|---|---|
| {{ $line['name'] ?? '—' }} | {{ $line['quantity'] ?? 0 }} | {{ $currency }}{{ number_format($line['unit_price'] ?? 0, 2) }} | {{ $currency }}{{ number_format($line['subtotal'] ?? 0, 2) }} |