Conjunto 2a0f72e en sipes


Ignorar:
Fecha y hora:
28/03/2017 11:53:13 (hace 7 años)
Autor:
Cenditel <root@…>
Branches:
version-3.0
Children:
087fa6d
Parents:
74b36d0
Mensaje:

se eliminaron las opciones disponibles

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • 0.3-modules/proyectos_operativos_seguimiento/includes/proyecto/seguimiento_proyecto.pages.inc

    r0809982 r2a0f72e  
    187187  $row = array();
    188188
    189   if (is_numeric($node->es_acumulativo) && !$node->es_acumulativo) {
     189  if ($node->es_acumulativo) {
    190190    $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']),);
    196192    $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  }
    200195  $rows[] = $row;
    201196  $tablas[]= theme('table', $header, $rows);
     
    255250  $header[] = array('data' => t('Estatus de la Inversión'));
    256251  $header[] = array('data' => t('Información Complementaria'));
    257   $header[] = array('data' => t('Opciones Disponibles'),);
    258252 
    259253 
     
    286280      $row[] = array('data' => $textozona, 'style' => 'font-weight: bold;background:' . $colorzona . '; color:' . $colorfontzona);
    287281      $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),);
    301282    }else{
    302283      $row[] = array('data' => '-',);
     
    307288      $row[] = array('data' => '-',);
    308289      $row[] = array('data' => '-',);
    309       $row[] = array('data' => '-',);
     290
    310291    }
    311292    $rows[] = $row;
     
    317298  $AcumuladoTotalPagado = $seguimiento_todos_meses_financiero['acum']['acumuladoPagado'];
    318299  $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  }
    326308  $rows[] = $row;
    327309  $tablas[]= theme('table', $header, $rows);
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.