Index: 0.3-modules/proyectos_operativos_seguimiento/views/proyecto_operativo_seguimiento.views.inc
===================================================================
--- 0.3-modules/proyectos_operativos_seguimiento/views/proyecto_operativo_seguimiento.views.inc	(revision c2a0e3789ec83df0a94045076c3747e4c716f100)
+++ 0.3-modules/proyectos_operativos_seguimiento/views/proyecto_operativo_seguimiento.views.inc	(revision c2a0e3789ec83df0a94045076c3747e4c716f100)
@@ -0,0 +1,218 @@
+<?php
+
+  /**
+  *
+  * Sistema Automatizado para la PlanificaciÃ³n EstratÃ©gico-Situacional en la AdministraciÃ³n PÃºblica Venezolana
+  * @file proyectos_operativos_seguimiento.views.inc
+  * Drupal part Module ente_planificador_hierarchical module
+  * Copyright 2017 Sistema Automatizado para la PlanificaciÃ³n EstratÃ©gico-Situacional en la AdministraciÃ³n PÃºblica Venezolana (CENDITEL)
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+  * the Free Software Foundation; either version 2 of the License, or
+  * (at your option) any later version.
+  * 
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU General Public License for more details.
+  * 
+  * You should have received a copy of the GNU General Public License
+  * along with this program; if not, write to the Free Software
+  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+  *
+  * Probado con un servidor Apache 2.0,
+  * Postgresql version 7.4.7 y 8.1 mysql 5.0.32 y PHP version 4.3.11 y 5.2.0-8
+  *
+  * @author Cenditel Merida - Phd. Juan Vizcarrondo
+  * @date 2017-05-03 // (a&#241;o-mes-dia)
+  * @version 0.2 // (0.1)
+  *
+  */
+
+
+/**
+ * Implementation of hook_views_data().
+ */
+function proyecto_operativo_seguimiento_views_data() {
+  $data['seguimiento_proyecto']['table']['group'] = t('Seguimiento proyectos operativos');
+
+  $data['seguimiento_proyecto']['table']['base'] = array(
+    'field' => 'id_seg',
+    'title' => t('Seguimiento de Proyectos Operativos'),
+    'help' => t("Permite consultar el seguimiento de proyectos operativos."),
+  );
+
+  // For other base tables, explain how we join
+  $data['seguimiento_proyecto']['table']['join'] = array(
+    // Directly links to node table.
+    'node' => array(
+      'left_field' => 'nid',
+      'field' => 'nid',
+    ),
+    'users' => array(
+      'left_field' => 'uid',
+      'field' => 'uid',
+    ),
+  );
+
+  // id_seg
+  $data['seguimiento_proyecto']['id_seg'] = array(
+    'title' => t('Id_seg'),
+    'help' => t('The ID of seguimiento.'), // The help that appears on the UI,
+    // Information for displaying the nid
+    'field' => array(
+      'handler' => 'views_handler_field_node',
+      'click sortable' => TRUE,
+    ),
+    // Information for accepting a nid as an argument
+    'argument' => array(
+      'handler' => 'views_handler_argument_numeric',
+    ),
+    // Information for accepting a nid as a filter
+    'filter' => array(
+      'handler' => 'views_handler_filter_numeric',
+    ),
+    // Information for sorting on a nid.
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+  );
+
+  //nid
+  $data['seguimiento_proyecto']['nid'] = array(
+    'title' => t('Nid del Proyecto.'),
+    'help' => t('Nid del Proyecto.'),
+    'relationship' => array(
+      'base' => 'node',
+      'base field' => 'nid',
+      'field' => 'nid',
+      'handler' => 'views_handler_relationship',
+      'label' => t('Nid Proyecto'),
+    ),
+    'field' => array(
+      'handler' => 'views_handler_field',
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+  );
+
+  // uid field for seguimiento
+  $data['seguimiento_proyecto']['uid'] = array(
+    'title' => t('User'),
+    'help' => t('Relate a seguimiento to the user who created the revision.'),
+    'relationship' => array(
+      'handler' => 'views_handler_relationship',
+      'base' => 'users',
+      'field' => 'uid',
+      'label' => t('revision user'),
+    ),
+  );
+  // fecha
+  $data['seguimiento_proyecto']['fecha'] = array(
+    'title' => t('Created date'), // The item it appears as on the UI,
+    'help' => t('The date the seguimiento was last created.'), // The help that appears on the UI,
+    'field' => array(
+      'handler' => 'views_handler_field_date',
+      'click sortable' => TRUE,
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort_date',
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_date',
+    ),
+  );
+  // acumulativo
+  $data['seguimiento_proyecto']['acumulativo'] = array(
+    'title' => t('Unidad Acumulativa'),
+    'help' => t('Indica si la unidad de medida es acumulativa.'),
+    'field' => array(
+      'handler' => 'views_handler_field_boolean',
+      'click sortable' => TRUE,
+      'output formats' => array(
+        'published-notpublished' => array(t('Acumulativa'), t('No acumulativa')),
+      ),
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_boolean_operator',
+      'label' => t('Acumulativa'),
+      'type' => 'yes-no',
+      'use equal' => TRUE, // Use status = 1 instead of status <> 0 in WHERE statment
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+  );
+  // mes
+  $data['seguimiento_proyecto']['mes'] = array(
+    'title' => t('El mes del Seguimiento'), // The item it appears as on the UI,
+    'help' => t('El mes del Seguimiento.'), // The help that appears on the UI,
+    'field' => array(
+      'handler' => 'views_handler_field_numeric',
+      'click sortable' => TRUE,
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort_date',
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_numeric',
+    ),
+  );
+  // ejecutadometafisica
+  $data['seguimiento_proyecto']['ejecutadometafisica'] = array(
+    'title' => t('Ejecutado meta fisica'), // The item it appears as on the UI,
+    'help' => t('Ejecutado meta fisica.'), // The help that appears on the UI,
+    'field' => array(
+      'handler' => 'views_handler_field_numeric',
+      'click sortable' => TRUE,
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort_date',
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_numeric',
+    ),
+  );
+  //infocomplementaria_metafisica
+  $data['seguimiento_proyecto']['infocomplementaria_metafisica'] = array(
+    'title' => t('InformaciÃ³n Meta fisica'), // The item it appears as on the UI,
+    'help' => t('El texto ingresado de la meta fisica.'), // The help that appears on the UI,
+     // Information for displaying a title as a field
+    'field' => array(
+      'handler' => 'views_handler_field_xss',
+     ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+    // Information for accepting a title as a filter
+    'filter' => array(
+      'handler' => 'views_handler_filter_string',
+    ),
+    'argument' => array(
+      'handler' => 'views_handler_argument_string',
+    ),
+  );
+  //infocomplementaria_metafinanciera
+  $data['seguimiento_proyecto']['infocomplementaria_metafinanciera'] = array(
+    'title' => t('InformaciÃ³n Meta Financiera'), // The item it appears as on the UI,
+    'help' => t('El texto ingresado de la meta financiera.'), // The help that appears on the UI,
+     // Information for displaying a title as a field
+    'field' => array(
+      'handler' => 'views_handler_field_xss',
+     ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+    // Information for accepting a title as a filter
+    'filter' => array(
+      'handler' => 'views_handler_filter_string',
+    ),
+    'argument' => array(
+      'handler' => 'views_handler_argument_string',
+    ),
+  );
+
+  return $data;
+}
