@extends('layouts.app') @section('title') Detalhes do Arquiteto @endsection @section('content') @if (session('success')) @endif
Atribuir Pontos
Informações Pessoais

Nome: {{ $architect->name }}

Email: {{ $architect->email }}

Telefone: {{ $architect->architectProfile->phone ?? 'N/A' }}

Data de Nascimento: {{ $architect->architectProfile->birth_date ? \Carbon\Carbon::parse($architect->architectProfile->birth_date)->format('d/m/Y') : 'N/A' }}

diamond

{{ $pointsThisMonth }}

Pontos Ganhos No Mês

diamond

{{ $pointsThisYear }}

Pontos Ganhos No Ano

shopping_cart

R$ {{ number_format($salesThisMonth, 2, ',', '.') }}

Valor em Vendas no Mês

shopping_cart

R$ {{ number_format($salesThisYear, 2, ',', '.') }}

Valor em Vendas no Ano

Pontos Atribuídos por {{ auth()->user()->storeManagerProfile->store->name }}
@foreach($storePoints as $point) @endforeach
Pontos Valor da Venda Nome do Cliente Descrição Data
{{ $point->points }} R$ {{ number_format($point->sale_value, 2, ',', '.') }} {{ $point->customer_name }} {{ $point->description }} {{ \Carbon\Carbon::parse($point->created_at)->format('d/m/Y') }}
@endsection @push('script') @endpush