@extends('layouts.app')
@section('title')
Pontos
@endsection
@section('content')
Pontos Ganhos No Mês
Pontos Ganhos No Ano
Valor em Vendas no Mês
Valor em Vendas no Ano
Pontos | Valor da Venda | Nome do Cliente | Loja | Descrição | Data | Vendedor |
---|---|---|---|---|---|---|
{{ number_format($point->points, 0, ',', '.') }} | {{ 'R$ ' . number_format($point->sale_value, 2, ',', '.') }} | {{ $point->customer_name }} | {{ $point->store->name ?? 'Loja não encontrada' }} | {{ $point->description }} | {{ $point->created_at->format('d/m/Y - H:i:s') }} | {{ $point->admin->name }} |
Total: {{ number_format($totalPoints, 0, ',', '.') }} | Total: {{ 'R$ ' . number_format($totalSales, 2, ',', '.') }} |