Medidas pupilares

Histórico de DNP/DP e alturas, mantido separado da receita para reutilização em novos atendimentos.
@if($latestMeasurement = $customer->pupilMeasurements->first()) Última medição: {{ $latestMeasurement->measured_at->format('d/m/Y') }} @endif
@if($latestMeasurement)
Tipo
{{ $latestMeasurement->measurement_type === 'near' ? 'Visão de perto' : 'Visão de longe' }}
OD monocular
{{ number_format((float)$latestMeasurement->od_dnp, 2, ',', '.') }} mm
OE monocular
{{ number_format((float)$latestMeasurement->oe_dnp, 2, ',', '.') }} mm
DP binocular
{{ number_format((float)$latestMeasurement->binocular_pd, 2, ',', '.') }} mm
@if($latestMeasurement->od_height !== null || $latestMeasurement->oe_height !== null)
Alturas: OD {{ $latestMeasurement->od_height !== null ? number_format((float)$latestMeasurement->od_height, 2, ',', '.').' mm' : '—' }} · OE {{ $latestMeasurement->oe_height !== null ? number_format((float)$latestMeasurement->oe_height, 2, ',', '.').' mm' : '—' }}
@endif @endif @if($customer->active)
@csrf
@endif
@forelse($customer->pupilMeasurements as $measurement) @empty @endforelse
DataTipoODOEDPAlturasResponsável
{{ $measurement->measured_at->format('d/m/Y H:i') }} {{ $measurement->measurement_type === 'near' ? 'Perto' : 'Longe' }} {{ number_format((float)$measurement->od_dnp, 2, ',', '.') }} mm {{ number_format((float)$measurement->oe_dnp, 2, ',', '.') }} mm {{ number_format((float)$measurement->binocular_pd, 2, ',', '.') }} mm OD {{ $measurement->od_height !== null ? number_format((float)$measurement->od_height, 2, ',', '.') : '—' }} · OE {{ $measurement->oe_height !== null ? number_format((float)$measurement->oe_height, 2, ',', '.') : '—' }} {{ $measurement->recordedBy?->name ?? 'Sistema' }}
Nenhuma medição pupilar registrada.