@extends('layouts.app') @section('title', 'Customers - eCards Accounting') @section('page-title', 'Customers') @section('page-actions') Add New Customer @endsection @section('content')
| Name | Phone | Transactions | Total Income | Total Expenses | Status | Actions | |
|---|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($customer->name, 0, 1)) }}
{{ $customer->name }}ID: #{{ $customer->id }} |
{{ $customer->email }} | {{ $customer->phone ?? '-' }} | {{ $customer->transactions_count }} | LKR {{ number_format($customer->total_income, 2) }} | LKR {{ number_format($customer->total_expenses, 2) }} | {{ $customer->is_active ? 'Active' : 'Inactive' }} |