Conjunto 2a0f72e en sipes
- Fecha y hora:
- 28/03/2017 11:53:13 (hace 7 años)
- Branches:
- version-3.0
- Children:
- 087fa6d
- Parents:
- 74b36d0
- Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
0.3-modules/proyectos_operativos_seguimiento/includes/proyecto/seguimiento_proyecto.pages.inc
r0809982 r2a0f72e 187 187 $row = array(); 188 188 189 if ( is_numeric($node->es_acumulativo) && !$node->es_acumulativo) {189 if ($node->es_acumulativo) { 190 190 $row[] = array('data' => t('Acumulado'),); 191 } 192 193 $row[] = array('data' => number_format($acumuladoPlanificado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),); 194 195 if (is_numeric($node->es_acumulativo) && !$node->es_acumulativo) { 191 $row[] = array('data' => number_format($acumuladoPlanificado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),); 196 192 $row[] = array('data' => number_format($AcumuladoEjecutado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),);//total ejecutado 197 } 198 199 $row[] = array('data' => '', 'colspan' => 4); 193 $row[] = array('data' => '', 'colspan' => 4); 194 } 200 195 $rows[] = $row; 201 196 $tablas[]= theme('table', $header, $rows); … … 255 250 $header[] = array('data' => t('Estatus de la Inversión')); 256 251 $header[] = array('data' => t('Información Complementaria')); 257 $header[] = array('data' => t('Opciones Disponibles'),);258 252 259 253 … … 286 280 $row[] = array('data' => $textozona, 'style' => 'font-weight: bold;background:' . $colorzona . '; color:' . $colorfontzona); 287 281 $row[] = array('data' => $infocomplementaria_financiera,); 288 $links = array();289 if (_proyecto_operativo_seguimiento_modificar_mes_access($node, $mes)){290 $title = ' ' . t('Modificar');291 if (!_proyecto_seguimiento_mes_mover_estado_access($node, $mes)) {292 $transiciones = _obtener_transiciones_disponibles_proyecto($node, $mes);293 if (!count($transiciones['transic']) && $transiciones['estado_actual']<0){294 $title = ' ' . t('Agregar');295 $sn++;296 }297 }298 $links[] = '<b>'.l(t($title), 'proyectosop/' . $node->nid . '/seguimiento/proyecto/' . ($mes) . '/edit/comentario_informacionfinanciera').'</b>';299 }300 $row[] = array('data' => theme('item_list', $links),);301 282 }else{ 302 283 $row[] = array('data' => '-',); … … 307 288 $row[] = array('data' => '-',); 308 289 $row[] = array('data' => '-',); 309 $row[] = array('data' => '-',); 290 310 291 } 311 292 $rows[] = $row; … … 317 298 $AcumuladoTotalPagado = $seguimiento_todos_meses_financiero['acum']['acumuladoPagado']; 318 299 $row = array(); 319 $row[] = array('data' => t('Acumulado'),); 320 $row[] = array('data' => number_format($acumuladoAsignado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),); 321 $row[] = array('data' => number_format($AcumuladoTotalComprometido, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),);//total comprometido 322 $row[] = array('data' => number_format($AcumuladoTotalCausado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),);//total causado 323 $row[] = array('data' => number_format($AcumuladoTotalPagado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),);//total pagado 324 $row[] = array('data' => '', 'colspan' => 4); 325 300 if ($node->es_acumulativo) { 301 $row[] = array('data' => t('Acumulado'),); 302 $row[] = array('data' => number_format($acumuladoAsignado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),); 303 $row[] = array('data' => number_format($AcumuladoTotalComprometido, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),);//total comprometido 304 $row[] = array('data' => number_format($AcumuladoTotalCausado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),);//total causado 305 $row[] = array('data' => number_format($AcumuladoTotalPagado, $format_number['decimals'], $format_number['dec_point'], $format_number['thousands_sep']),);//total pagado 306 $row[] = array('data' => '', 'colspan' => 4); 307 } 326 308 $rows[] = $row; 327 309 $tablas[]= theme('table', $header, $rows);
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.