@extends('layouts.app') @section('title', 'Clientes - Sistema de Gestão') @section('page-title', 'Clientes') @section('content')

Gerenciar Clientes

Cadastre e gerencie seus clientes

Novo Cliente
Limpar
@if($customers->count() > 0)
@foreach($customers as $customer) @endforeach
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
Mostrando {{ $customers->firstItem() }} a {{ $customers->lastItem() }} de {{ $customers->total() }} registros
{{ $customers->links() }}
@else
Nenhum cliente encontrado

Comece cadastrando seu primeiro cliente.

Cadastrar Cliente
@endif
@endsection @push('scripts') @endpush