{{ config('app.name', 'ISCell') }}

Comprovante de Venda

#{{ $sale->id }}

{{ $sale->created_at->format('d/m/Y H:i') }}

{{ ucfirst($sale->status) }}

Cliente

@if($sale->client)

{{ $sale->client->name }}

{{ $sale->client->cpf ?? 'CPF não informado' }}

{{ $sale->client->phone ?? 'Telefone não informado' }}

{{ $sale->client->address ?? 'Endereço não informado' }}

{{ $sale->client->email ?? '' }}

@else

Cliente não identificado

@endif

Vendedor

{{ $sale->user->name }}

{{ $sale->user->email }}

@foreach($sale->items as $item) @endforeach
Produto IMEI Detalhes Preço
{{ $item->product->brand ?? '' }} {{ $item->product->model }} {{ $item->product->imei ?? '-' }} {{ $item->product->storage }}, {{ $item->product->battery }} Bat. R$ {{ number_format($item->price, 2, ',', '.') }}
Total R$ {{ number_format($sale->total_amount, 2, ',', '.') }}