|
@php
$logoPath = public_path('storage/brand/logo60A_F_CURVA_F_NEGATIVO.png');
$logoData = file_exists($logoPath) ? 'data:image/png;base64,' . base64_encode(file_get_contents($logoPath)) : '';
@endphp
@if($logoData)
@if($member->foto && file_exists(public_path('storage/' . $member->foto)))
@php
$imageData = 'data:image/' . pathinfo($member->foto, PATHINFO_EXTENSION) . ';base64,' . base64_encode(file_get_contents(public_path('storage/' . $member->foto)));
@endphp
FOTO
@endif
|
NOMBRE:
{{ $member->formatted_name() }}
CÉDULA:
@php
$tipo = $member->tipo_documento ?? 'V';
$cedula = $member->cedula ? number_format((int) $member->cedula, 0, '', '.') : '';
echo $tipo . '-' . $cedula;
@endphp
PROFESIÓN:
{{ $member->profesion }}
NEXO:
{{ $member->nexo_display }}
VENCE:
@if($member->fecha_vencimiento)
{{ \Carbon\Carbon::parse($member->fecha_vencimiento)->format('d/m/Y') }}
@else
NO DEFINIDA
@endif
TELÉFONO:
{{ $member->telefono }}
PROGRAMA:
{{ $member->programa ?? 'MEMBRESÍA GENERAL' }}
|