|
DATOS DEL PACIENTE:
Tipo de Documento: {{ $firstAuthorization->patient->dni_type}} Número de Documento: {{ $firstAuthorization->patient->dni}} {{ $firstAuthorization->patient->full_name}} |
DATOS DE LA EMPRESA:
{{ $invoice->eps->code }} - {{ $invoice->eps->name }} - NIT: {{ $invoice->eps->nit }} Dirección: {{ $invoice->eps->address->address }} - Tel: {{ $invoice->eps->phone->phone }} |
SON:
{{ ucfirst(\App\NumberToLetter::convertirEurosEnLetras(number_format(array_sum(json_decode($invoice->multiple_totals, true)), 0, ",", "."), 0)) }} M/L |
@else
DATOS DEL PACIENTE:
Tipo de Documento: {{ $invoice->authorization->patient->dni_type}} Número de Documento: {{ $invoice->authorization->patient->dni}} {{ $invoice->authorization->patient->full_name}} |
DATOS DE LA EMPRESA:
{{ $invoice->eps->code }} - {{ $invoice->eps->name }} NIT: {{ $invoice->eps->nit }} Dirección: {{ $invoice->eps->address->address }} Tel: {{ $invoice->eps->phone->phone }} |
SON:
{{ ucfirst(\App\NumberToLetter::convertirEurosEnLetras(number_format($invoice->total, 0, ",", "."), 0)) }} M/L |
@endif
| Codigo | Detalle | Autorizacion | Cant. | Valor Unitario | Valor Total |
| {{ $authorizationService->service->code }} | {{ $authorizationService->service->name }} | {{ $currentAuthorization->codec }} | {!! $authorizationService->days !!} | $ {{ number_format($authorizationService->price, 0, ",", ".") }} | $ {!! number_format($currentTotal, 0, ",", ".") !!} |
| {{ $service->code }} | {{ $service->name }} | {{ $currentAuthorization->codec }} | {!! json_decode($invoice->multiple_days, true)[$k] !!} | $ {{ number_format($service->price > 0 ? $service->price : $currentAuthorization->daily_price / count(explode(",", $services)), 0, ",", ".") }} | $ {!! number_format($currentTotal, 0, ",", ".") !!} |
| {{ $authorizationService->service->code }} | {{ $authorizationService->service->name }} | {{ $invoice->authorization->codec }} | {!! $authorizationService->days !!} | $ {{ number_format($authorizationService->price, 0, ",", ".") }} | $ {!! number_format($currentTotal, 0, ",", ".") !!} |
| {{ $service->code }} | {{ $service->name }} | {{ $invoice->authorization->codec }} | {!! $invoice->days !!} | $ {{ number_format($service->price > 0 ? $service->price : $invoice->authorization->daily_price / count(explode(",", $services)), 0, ",", ".") }} | $ {!! number_format($invoice->total / count(explode(",", $services)), 0, ",", ".") !!} |
| TOTAL: | $ {!! number_format($total, 0, ",", ".") !!} | ||||
|
Firma de la persona autorizada |
Recibido: ___________________________
C.C.: _______________________________ Fecha: ________/__________/__________ DIA MES AÑO |