{% block more_head %}
{% set dec = 0 %} {% if(id_cliente=="RIS-DPI") %} {% set dec = 0 %} {% endif %}|
{% if datos_factura.0.urlLogoFactura is defined %}
|
{{ datos_factura.0.entityName }}
|
{{ datos_factura.0.prefijo }} {{ datos_factura.0.codigoFactura }} |
|
Resolución por computador DIAN No.
{{ datos_factura.0.resolucion }}
Vigente del
{{ datos_factura.0.resFeIni|date('d-m-Y') }}
al
{{ datos_factura.0.resFeFin|date('d-m-Y') }}
Autorización numeración
Intervalo -
{{ datos_factura.0.prefijo }} {{ datos_factura.0.ResValIni }}
-
{{ datos_factura.0.prefijo }} {{ datos_factura.0.ResValFin }}
|
||
| SEÑORES: | {{ datos_factura.0.name }} | SEDE: | {{ datos_factura.0.headquarterName|upper }} | |||
|---|---|---|---|---|---|---|
| NIT: | {{ datos_factura.0.epsNit }} | CONTRATO: | {{ datos_factura.0.nombreContrato|upper }} | |||
| DIRECCIÓN: | {{ datos_factura.0.address }} | FECHA EXPEDICIÓN: | {{ datos_factura.0.fechaCreacion|date("d/m/Y") }} | |||
| CIUDAD: | {{ datos_factura.0.munEntity }} | FECHA VENCIMIENTO: | {% set modify = datos_factura.0. tiempoPago %} {% set date = datos_factura.0. fechaCreacion | date("d/m/Y") %} {% set date2 = datos_factura.0.fechaCreacion|date_modify("+" ~ modify ~ " day")|date("d/m/Y") %} {% if modify is null %}{{ datos_factura.0.fechaCreacion|date("d/m/Y") }} | {% else %}{{ date2 }} | {% endif %}||
| Accesion Number | Orden | Fecha Cita | Documento | Nombre Paciente | CUPS - Nombre Examen | Cod. Autorización | Modalidad | Valor Total | Insumos | Copago-Cuota Moderadora ó Bono | Descuentos | Total Pagar | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ rel.appointmentCode }} | {{ rel.internalOrderCode }} | {{ rel.appointmentDate }} | {{ rel.document }} | {{ rel.firstLastName }} {{ rel.secondLastName }} {{ rel.firstName }} {{ rel.secondName }} | {{ rel.cups }} {{ codigoInsumos }} - {{ rel.studyName }} {{ nombreInsumos }} | {{ rel.codigoAutorizacion }} | {{ rel.varMod }} | $ {{ valor_estudio|number_format(dec, ',', '.') }} | $ {{ valorInsumos|number_format(dec, ',', '.') }} | $ {{ valorCopagoXestudio|number_format(dec, ',', '.') }} | $ {{ valorDeduccionXestudio|number_format(dec, ',', '.') }} | $ {{ valorNetoXestudio|number_format(dec, ',', '.') }} | |||
| SUBTOTAL | {#SI ESTA ACTIVADO EL PARAMETRO FACTURA CAFAM Y LA FACTURA ES DE CAPITA #} {# {% if (factura_cafam == 'true' and datoFactura.0. facturaCapita == 'true') %}${{datoFactura.0.valorTotalM|number_format(dec, ',', '.') }} | {% endif %} {#SI ESTA ACTIVADO EL PARAMETRO FACTURA CAFAM Y LA FACTURA ES DE VOLUMEN #} {# {% if (factura_cafam == 'true' and datoFactura.0. facturaVolumen == 'true') %}${{datoFactura.0.valorTotalM|number_format(dec, ',', '.') }} | {% endif %} {#SI ESTA ACTIVADO EL PARAMETRO FACTURA CAFAM Y LA FACTURA ES DE MUNICIPIOS #} {# {% if (factura_cafam == 'true' and datoFactura.0. facturaVolumen == 'false' and datoFactura.0. facturaCapita == 'false') %}${{sumaValorsubTotalFinal|number_format(dec, ',', '.') }} | {% endif %} #} {% if (factura_cafam == 'false') %}$ {{sumaValorTotalFinal|number_format(dec, ',', '.') }} | {% endif %}${{ sumaValorInsumos|number_format(dec, ',', '.') }} | ${{ sumaValorcopagos|number_format(dec, ',', '.') }} | ${{ sumaDeducciones|number_format(dec, ',', '.') }} | ${{ sumaValorsubTotalFinal|number_format(dec, ',', '.') }} | |||||||
| Son: {{ datos_factura.0.valorTotalLetras }} | DESCUENTOS | {% if (factura_cafam == 'false') %}${{datoFactura.0.deduccionesGlobalesM|number_format(dec, ',', '.') }} | {% endif %}|||||||||||||
| Observaciones: {{ datos_factura[0].observaciones }} |
TOTAL | {% if (factura_cafam == 'false') %}${{datoFactura.0.valorTotalM|number_format(dec, ',', '.') }} | {% endif %}|||||||||||||
|
{{ datos_factura.0.userCreation }} |
|||
| Firma Autorizada | Realizada por | Firma | |
| Recibì Conforme - CC. | Fecha | ||
| {{ datos_factura[0].notaPieFactura }} | |||