@php # Formatea las cantidades numericas function fCantidad($numero) { return number_format($numero, 0, '', '.'); } # Formatea un numero como precio function fValor($numero) { return '$'.number_format($numero, 2, ',', '.'); } function fCheckeable($valor){ return $valor ? 'SI' : 'NO'; } function mezclarColumnas($tabla1, $tabla2) { $respuesta = ''; $cantidad = count($tabla1) > count($tabla2) ? count($tabla1) : count($tabla2); $cantidad_columnas1 = count($tabla1[0]); $columnas_vacias1 = ''; for($i=0; $i<$cantidad_columnas1; $i++){ $columnas_vacias1 .= '
| INFORME DE INGRESOS Y GASTOS DE CAMPAÑA ELECCIONES TERRITORIALES | |||
| CORPORACIÓN: | {{ $datos_revision['corporacion']['nombre'] }} | ||
| CIRCUNSCRIPCIÓN: | {{ $datos_revision['circunscripcion']['nombre'] }} | ||
| PARTIDO, MOVIMIENTO O GRUPO SIGNIFICATIVO: | {{ $datos_revision['organizacion']['nombre'] }} | ||
| LIQUIDACION | |||
| VOTOS CERTIFICADO ELECTORAL | GASTOS CONSOLIDADOS CAMPAÑA | ||
| TOTAL VOTOS VALIDOS DE LA LISTA: | {{ fCantidad($datos_revision['cantidad_votos']) }} | TOTAL GASTOS CONSOLIDADOS: | {{ fValor($datos_revision['gastos_consolidados']) }} |
| VOTOS CANDIDATOS EN INVESTIGACION Art. 25: | {{ fCantidad($datos_revision['candidatos_art_25']['numero_votos']) }} | GASTOS CANDIDATOS EN INVESTIGACION Art. 25: | {{ fValor($datos_revision['candidatos_art_25']['total_gasto']) }} |
| (-) VOTOS GASTOS EN CEROS: | {{ fCantidad($datos_revision['gastos_ceros']) }} | (-) TRANSFERENCIAS: | {{ fValor($datos_revision['transferencias']) }} |
| (-) VOTOS RENUENTES POR NO PRESENTACION: | {{ fCantidad($datos_revision['votos_renuentes_no_presentacion']) }} | (-) GASTOS SIN RELACIÓN DE CAUSALIDAD: | {{ fValor($datos_revision['gastos_sin_causalidad']) }} |
| (-) VOTOS RENUENTES POR NO CORRECCION: | {{ fCantidad($datos_revision['renuentes_no_correccion']['numero_votos']) }} | (-) GASTOS RENUENTES POR NO CORRECCION: | {{ fValor($datos_revision['renuentes_no_correccion']['total_gasto']) }} |
| (-) VOTOS CANDIDATOS INHABILITADOS: | {{ fCantidad($datos_revision['candidatos_inhabilitados']['numero_votos']) }} | (-) GASTOS CANDIDATOS INHABILITADOS: | {{ fValor($datos_revision['candidatos_inhabilitados']['total_gasto']) }} |
| (-) VOTOS CANDIDATOS EN INVESTIGACION Art. 23: | {{ fCantidad($datos_revision['candidatos_art_23']['numero_votos']) }} | (-) GASTOS CANDIDATOS EN INVESTIGACION Art. 23: | {{ fValor($datos_revision['candidatos_art_23']['total_gasto']) }} |
| (-) VOTOS CANDIDATOS EN INVESTIGACION Art. 24: | {{ fCantidad($datos_revision['candidatos_art_24']['numero_votos']) }} | (-) GASTOS CANDIDATOS EN INVESTIGACION Art. 24: | {{ fValor($datos_revision['candidatos_art_24']['total_gasto']) }} |
| VOTOS CANDIDATOS EN INVESTIGACION Art. 34: | {{ fCantidad($datos_revision['candidatos_art_34']['numero_votos']) }} | (-) GASTOS CANDIDATOS EN INVESTIGACION Art. 34: | {{ fValor($datos_revision['candidatos_art_34']['total_gasto']) }} |
| (-) VOTOS CANDIDATOS RETIRADOS: | {{ fCantidad($datos_revision['votos_candidatos_retirados']) }} | (-) GASTOS CON POSTERIORIDAD A LA FECHA DEL DEBATE: | {{ $datos_revision['generales']['gastos_posteriores'] }} |
| (-) VOTOS CANDIDATOS REVOCADOS: | {{ fCantidad($datos_revision['votos_candidatos_revocados']) }} | ||
| TOTAL VOTOS A DESCONTAR CANDIDATOS: | {{ fCantidad($datos_revision['total_votos_descontar']) }} | ||
| TOTAL VOTOS NETOS A LIQUIDAR: | {{ fCantidad($datos_revision['total_votos_netos']) }} | TOTAL GASTOS A DESCONTAR CANDIDATOS: | {{ fValor($datos_revision['total_gastos_descontar']) }} |
| VALOR VOTO ({{ $datos_revision['valor_voto']['resolucion'] }}): | {{ fValor($datos_revision['valor_voto']['valor']) }} | ||
| VALOR LIQUIDACION POR VOTOS NETOS: | {{ fValor($datos_revision['valor_liquidacion_votos_netos']) }} | TOTAL GASTOS NETOS: | {{ fValor($datos_revision['total_gastos_netos']) }} |
| CONSOLIDADO LIQUIDACION | |||
| CENSO NACIONAL / DEPARTAMENTAL / MUNICIPAL: | {{ fCantidad($datos_revision['censo']) }} | ||
| TOPE DE GASTOS POR CANDIDATO: | {{ fValor($datos_revision['tope_candidato']) }} | ||
| VALOR REPOSICION POR GASTOS NETOS: | {{ fValor($datos_revision['total_gastos_netos']) }} | ||
| VALOR LIQUIDACION POR VOTOS NETOS: | {{ fValor($datos_revision['valor_liquidacion_votos_netos']) }} | ||
| VALOR A PAGAR (EL MENOR DE GASTOS O VOTOS): | {{ fValor($datos_revision['valor_pagar']) }} | ||
| Descuento Auditoría Externa 1%: | {{ fValor($datos_revision['descuento_auditoria_externa']) }} | ||
| VALOR NETO A REPONER: | {{ fValor($datos_revision['valor_neto_reponer']) }} | ||
| (-) MENOS ANTICIPOS: | {{ fValor($datos_revision['anticipos']) }} | ||
| TOTAL NETO A REPONER POR (GASTOS O POR VOTOS): | {{ fValor($datos_revision['total_neto_reponer']) }} | ||
| {{ strtoupper($nombre_contador) }} | |||
| Contador(a) Público(a) | |||