function index() { //PARA LOS SELECT DEL FORM $series = new series(); $this->registry->template->optSerie = $series->obtenerSelectTodas(); $unidad = new unidad(); $this->registry->template->optUnidad = $unidad->obtenerSelect(); $usuario = new usuario(); $this->registry->template->optUsuario = $usuario->obtenerSelect(); $this->registry->template->PATH_WEB = PATH_WEB; $this->registry->template->PATH_DOMAIN = PATH_DOMAIN; $this->registry->template->PATH_EVENT = "verRepTransferencia"; $this->registry->template->GRID_SW = "true"; $this->registry->template->PATH_J = "jquery-1.4.1"; $this->menu = new menu(); $liMenu = $this->menu->imprimirMenu("rpteTransCustodios", $_SESSION['USU_ID']); $this->registry->template->men_titulo = $liMenu; $this->registry->template->show('headerG'); $this->registry->template->show('transferencia/tab_rpteTransferencia.tpl'); $this->registry->template->show('footer'); }
function view() { $usuario = new usuario(); $this->registry->template->usur_id = $usuario->obtenerNombre($_SESSION['USU_ID']); $this->registry->template->usu_id = $usuario->obtenerSelect(); $this->registry->template->usua_id = $usuario->obtenerSelectAdmin(); $this->registry->template->spr_fecent = date('Y-m-d'); $this->registry->template->spr_fecdev = date('Y-m-d'); $tmenu = new menu(); $liMenu = $tmenu->imprimirMenu("solprestamo", $_SESSION['USU_ID']); $this->registry->template->men_titulo = $liMenu; $this->registry->template->UNI_ID = $_SESSION['UNI_ID']; $this->registry->template->PATH_WEB = PATH_WEB; $this->registry->template->PATH_DOMAIN = PATH_DOMAIN; $this->registry->template->PATH_EVENT = "search"; $this->registry->template->GRID_SW = "false"; $this->registry->template->PATH_J = "jquery-1.4.1"; $this->registry->template->PATH_EVENT_LISTA = "guardarLista"; $this->registry->template->show('headerG'); $this->registry->template->show('prestamos/tab_solprestamos.tpl'); $this->registry->template->show('footer'); }
function add() { $contenedor = new contenedor(); $this->registry->template->con_id = ""; $this->registry->template->tipo_contenedores = $contenedor->obtenerTiposContenedor(""); $this->registry->template->con_codigo = ""; $this->registry->template->con_codbs = ""; $usuario = new usuario(); $adm = $usuario->esAdm(); if ($adm) { $sel_usu = '<select name="usu_id" id="usu_id" class="required">'; $sel_usu .= '<option value="">(seleccionar)</option>'; $sel_usu .= $usuario->obtenerSelect($_SESSION['USU_ID']); $sel_usu .= '</select>'; $this->registry->template->usuario = $sel_usu; } else { $this->registry->template->usuario = $usuario->obtenerNombre($_SESSION['USU_ID']); $this->registry->template->usu_id = $_SESSION['USU_ID']; } $this->registry->template->adm = $adm; $this->registry->template->PATH_WEB = PATH_WEB; $this->registry->template->PATH_CONTROLADOR = 'contenedor'; $this->registry->template->PATH_DOMAIN = PATH_DOMAIN; $this->registry->template->PATH_EVENT = "save"; $this->registry->template->GRID_SW = "false"; $this->registry->template->PATH_J = "jquery-1.4.1"; $this->menu = new menu(); $this->liMenu = $this->menu->imprimirMenu(VAR1, $_SESSION['USU_ID']); $this->registry->template->men_titulo = $this->liMenu; $this->registry->template->show('headerG'); $this->registry->template->show('tab_contenedor.tpl'); $this->registry->template->show('footer'); }