@extends('layouts.app') @section('title', 'Customer — ' . ($customer->name ?? 'Details')) @push('styles') @endpush @section('content')
@if(session('success')) @endif @if(session('error')) @endif @if($errors->any()) @endif {{-- Dedup banner: another rep contacted this customer recently. --}} @if(!empty($recentContactWarning))| Order # | Status | Total | Placed |
|---|---|---|---|
| {{ $order->order_number ?? ('ORD-' . str_pad($order->id, 5, '0', STR_PAD_LEFT)) }} | {{ ucfirst($order->status ?? 'pending') }} | ₦{{ number_format($order->total ?? 0, 2) }} | {{ $order->created_at ? $order->created_at->format('M d, Y') : '—' }} |
No risk signals detected.
@endif