Voltar

{{ $quote->company->trade_name ?: $quote->company->name }}

{{ $quote->company->cnpj ? 'CNPJ '.$quote->company->cnpj : '' }}
{{ collect([$quote->company->street,$quote->company->number,$quote->company->district,$quote->company->city,$quote->company->state])->filter()->implode(', ') }}
{{ collect([$quote->company->phone,$quote->company->email])->filter()->implode(' · ') }}

ORÇAMENTO

{{ $quote->code }}
Emissão: {{ $quote->created_at->format('d/m/Y') }}
Validade: {{ $quote->valid_until?->format('d/m/Y') ?: 'não definida' }}

Cliente

{{ $quote->customer->name }}
CPF: {{ $quote->customer->cpf ?: 'não informado' }}
Telefone: {{ $quote->customer->phone ?: $quote->customer->whatsapp ?: 'não informado' }}
{{ $quote->customer->email ?: '' }}
{{ collect([$quote->customer->street,$quote->customer->number,$quote->customer->district,$quote->customer->city,$quote->customer->state])->filter()->implode(', ') }}
@if($quote->prescription || $quote->pupilMeasurement)

Receita e medidas

@if($quote->prescription)
OlhoEsféricoCilíndricoEixoAdiçãoDNP
OD{{ $quote->prescription->od_sphere ?? '—' }}{{ $quote->prescription->od_cylinder ?? '—' }}{{ $quote->prescription->od_axis ?? '—' }}{{ $quote->prescription->od_addition ?? '—' }}{{ $quote->prescription->od_dnp ?? '—' }}
OE{{ $quote->prescription->oe_sphere ?? '—' }}{{ $quote->prescription->oe_cylinder ?? '—' }}{{ $quote->prescription->oe_axis ?? '—' }}{{ $quote->prescription->oe_addition ?? '—' }}{{ $quote->prescription->oe_dnp ?? '—' }}
@endif @if($quote->pupilMeasurement)

Medidas: DNP OD {{ $quote->pupilMeasurement->od_dnp ?? '—' }} mm · DNP OE {{ $quote->pupilMeasurement->oe_dnp ?? '—' }} mm · DP {{ $quote->pupilMeasurement->binocular_pd ?? '—' }} mm · Altura OD {{ $quote->pupilMeasurement->od_height ?? '—' }} mm · Altura OE {{ $quote->pupilMeasurement->oe_height ?? '—' }} mm.

@endif
@endif

Itens

@foreach($quote->items as $item)@endforeach
DescriçãoQtd.UnitárioTotal
{{ $item->description }}@if($item->notes)
{{ $item->notes }}
@endif
{{ number_format((float)$item->quantity,3,',','.') }}R$ {{ number_format((float)$item->unit_price,2,',','.') }}R$ {{ number_format((float)$item->total_amount,2,',','.') }}
SubtotalR$ {{ number_format((float)$quote->subtotal,2,',','.') }}
DescontoR$ {{ number_format((float)$quote->discount,2,',','.') }}
TotalR$ {{ number_format((float)$quote->total_amount,2,',','.') }}
@if($quote->notes)

Observações

{!! nl2br(e($quote->notes)) !!}
@endif
Cliente
{{ $quote->company->trade_name ?: $quote->company->name }}