@extends('layouts.layout-horizontal') @section('title', 'Dormant Customers') @section('content')
| Customer Name | Last Order Date | Last Order Value |
|---|---|---|
| {{ $customer->name }} | @if($customer->last_order_date) {{ \Carbon\Carbon::parse($customer->last_order_date)->format('d-M-Y') }} ({{ \Carbon\Carbon::parse($customer->last_order_date)->diffForHumans() }}) @else No orders @endif | {{ $customer->last_order_value ? indian_number($customer->last_order_value, 2) : '-' }} |