@extends('layouts.clivax') @section('content')
| Customer | Type | Recent Revenue | Recent Shipments | Total Revenue | Avg. Shipment Value | Last Shipment |
|---|---|---|---|---|---|---|
|
{{ $customer->name }}
@if($customer->company_name)
{{ $customer->company_name }} @endif {{ $customer->phone }} |
{{ ucfirst($customer->customer_type) }} | ${{ number_format($customer->recent_revenue, 2) }} | {{ $customer->recent_shipments_count }} | ${{ number_format($customer->total_revenue, 2) }} | ${{ number_format($customer->average_shipment_value, 2) }} | {{ $customer->last_shipment_date ? $customer->last_shipment_date->format('M d, Y') : 'Never' }} |