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

Nome: {{ $architect->name }}

Email: {{ $architect->email }}

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

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

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
@foreach($architect->points 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