@extends('layouts.app') @section('title', 'Clientes - Sistema de Gestão') @section('page-title', 'Clientes') @section('content')
Cadastre e gerencie seus clientes
| Nome | Contato | CPF/CNPJ | Saldo Atual | Status | Ações |
|---|---|---|---|---|---|
|
{{ $customer->name }}
@if($customer->email)
{{ $customer->email }}
@endif
|
@if($customer->phone) {{ $customer->phone }} @else - @endif | {{ $customer->cpf_cnpj ?: '-' }} | @php $balance = $customer->current_balance; $class = $balance >= 0 ? 'text-success' : 'text-danger'; @endphp R$ {{ number_format(abs($balance), 2, ',', '.') }} @if($balance < 0) (Devedor) @endif | @if($customer->active) Ativo @else Inativo @endif |