@extends('tenant.layouts.app') @section('title', 'Clientes Top') @section('content')

Reporte de Clientes Top

Exportar a Excel
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if(isset($topCustomers))
@foreach($topCustomers as $customer) @endforeach
# Nombre Compras Total
{{ $customer->id }} {{ $customer->name }} {{ $customer->purchases }} {{ number_format($customer->total, 2) }}
@endif
@endsection @push('scripts') @endpush