• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP DataEdit类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中DataEdit的典型用法代码示例。如果您正苦于以下问题:PHP DataEdit类的具体用法?PHP DataEdit怎么用?PHP DataEdit使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了DataEdit类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: dataedit

 function dataedit()
 {
     $this->datasis->modulo_id($this->id_modulo, 1);
     $this->rapyd->load('dataedit');
     $edit = new DataEdit('Carga de Publicidad', 'publicidad');
     $edit->back_url = site_url('supervisor/publicidad/filteredgrid');
     $edit->archivo = new uploadField('Adjunto', 'archivo');
     $edit->archivo->upload_path = $this->upload_path;
     $edit->archivo->allowed_types = 'jpg|gif|swf|png';
     $edit->archivo->append('Puede adjuntar jpg,gif,png y swf');
     $edit->bgcolor = new colorpickerField('Color de Fondo', 'bgcolor');
     //$edit->bgcolor = new inputField("Color de Fondo", "bgcolor");
     $edit->bgcolor->maxlength = 7;
     $edit->bgcolor->size = 9;
     $edit->prob = new inputField('Probabilidad de aparicion', 'prob');
     $edit->prob->css_class = 'inputnum';
     $edit->prob->maxlength = 8;
     $edit->prob->size = 6;
     //$edit->prob->rule="";
     $edit->descrip = new textareaField('Descripción', 'descrip');
     $edit->descrip->rows = 5;
     $edit->buttons('modify', 'save', 'undo', 'back', 'delete');
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = '<h1>Registro de publicidad</h1>';
     $data['head'] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:28,代码来源:publicidad.php


示例2: DataEdit

 function DataEdit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Agregar Menu", "tmenus");
     $edit->back_url = site_url("supervisor/tmenus/filteredgrid");
     $edit->modulo = new inputField("Modulo", "modulo");
     $edit->modulo->size = 12;
     $edit->modulo->maxlength = 10;
     $edit->secu = new inputField("Secuencia", "secu");
     $edit->secu->size = 6;
     $edit->secu->maxlength = 5;
     $edit->titulo = new inputField("Titulo", "titulo");
     $edit->titulo->size = 25;
     $edit->titulo->maxlength = 20;
     $edit->mensaje = new textareaField("Mensaje", "mensaje");
     $edit->mensaje->rows = 4;
     $edit->mensaje->cols = 90;
     $edit->ejecutar = new inputField("Ejecutar", "ejecutar");
     $edit->ejecutar->size = 80;
     $edit->ejecutar->maxlength = 80;
     $edit->buttons("modify", "save", "undo", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Menu de Datasis</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:27,代码来源:tmenus.php


示例3: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Inventario", "sinv");
     $edit->back_url = site_url("nomina/pers/filteredgrid");
     $edit->codigo = new inputField("Codigo", "codigo");
     $edit->grupo = new inputField("Grupo", "grupo");
     $edit->descrip = new inputField("Descripcion", "descrip");
     $edit->descrip2 = new inputField("Descripcion2", "descrip2");
     $edit->unidad = new inputField("Unidad", "unidad");
     $edit->ubica = new inputField("Ubicaci&oacute;n", "ubica");
     $edit->tipo = new inputField(".", "tipo");
     $edit->pvp_bs = new inputField("Pvp_bs", "pvp_bs");
     $edit->pvpprc = new inputField("Pvpprc", "pvpprc");
     $edit->contbs = new DateField("Contbs", "contbs");
     $edit->contprc = new inputField("Contprc", "contprc");
     $edit->mayobs = new DateField("Mayoobs", "mayobs");
     $edit->mayoprc = new inputField("Mayoprc", "mayoprc");
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = " Inventario ";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:25,代码来源:prueba.php


示例4: dataedit

 function dataedit($sta, $id)
 {
     $this->rapyd->load('dataedit', 'datagrid');
     $edit = new DataEdit('Ficha del cliente', 'scli');
     $edit->back_url = site_url($this->url . 'filteredgrid');
     $edit->cliente = new inputField('Cliente', 'cliente');
     $edit->cliente->rule = 'trim|required|existesprv';
     $edit->cliente->maxlength = 5;
     $edit->cliente->size = 7;
     $edit->cliente->mode = 'autohide';
     $edit->nombre = new inputField('Nombre', 'nombre');
     $edit->nombre->rule = 'trim';
     $edit->nombre->maxlength = 40;
     $edit->nombre->size = 40;
     $edit->nombre->mode = 'autohide';
     $edit->nombre->in = 'cliente';
     $edit->rifci = new inputField('RIF/CI', 'rifci');
     $edit->rifci->rule = 'trim';
     $edit->rifci->maxlength = 40;
     $edit->rifci->size = 40;
     $edit->rifci->mode = 'autohide';
     $edit->telefono = new inputField('Tel&eacute;fono', 'telefono');
     $edit->telefono->rule = 'trim';
     $edit->telefono->maxlength = 40;
     $edit->telefono->size = 40;
     $edit->telefono->mode = 'autohide';
     $edit->buttons('undo', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $crm = $edit->_dataobject->get('crm');
     if (empty($crm)) {
         $dbdata['usuario'] = $this->secu->usuario();
         $dbdata['status'] = 'A';
         $dbdata['fecha'] = date('Ymd');
         $dbdata['titulo'] = 'Callcenter';
         $dbdata['cliente'] = $edit->_dataobject->get('cliente');
         $dbdata['descripcion'] = '';
         $mSQL = $this->db->insert_string('crm_contenedor', $dbdata);
         $this->db->simple_query($mSQL);
         $crm = $this->db->insert_id();
         $mSQL = "UPDATE scli SET crm = {$crm} WHERE id={$id}";
         $this->db->simple_query($mSQL);
     }
     $this->crm_back = site_url("crm/callcenter/dataedit/{$sta}/{$id}");
     $adici = array($edit->_dataobject->pk['id']);
     $this->prefijo = 'crm_';
     $data['content'] .= Contenedor::_showAdjuntos($crm, 'crm/callcenter/adjuntos', $adici);
     $data['content'] .= Contenedor::_showEventos($crm, 'crm/callcenter/eventos', $adici);
     $data['content'] .= Contenedor::_showComentarios($crm, 'crm/callcenter/comentarios', $adici);
     $data['style'] = style('redmond/jquery-ui.css');
     $data['script'] = script('jquery.js');
     $data['script'] .= script('jquery-ui.js');
     $data['script'] .= script('plugins/jquery.floatnumber.js');
     $data['script'] .= script('plugins/jquery.numeric.pack.js');
     $data['script'] .= script('plugins/jquery.ui.autocomplete.autoSelectOne.js');
     $data['script'] .= phpscript('nformat.js');
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = heading('Callcenter');
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:60,代码来源:callcenter.php


示例5: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataobject", "dataedit");
     //              $link=site_url('finventario/bi_edificio/ultimo');
     //              $link2=site_url('finventario/bi_edificio/sugerir');
     $edit = new DataEdit("Muebles", "bi_bienes");
     $edit->back_url = site_url("bienes/bi_bienes/filteredgrid");
     $edit->pre_process('insert', '_valida');
     $edit->pre_process('update', '_valida');
     $edit->id = new inputField("Id", "id");
     $edit->id->mode = "autohide";
     $edit->id->when = array('show');
     $edit->nombre = new inputField("Nombre", "nombre");
     $edit->nombre->size = 30;
     $edit->nombre->maxlength = 30;
     $edit->descrip = new textareaField("Descripci&oacute;n", "descrip");
     $edit->descrip->rows = 4;
     $edit->descrip->cols = 50;
     $edit->modelo = new inputField("Modelo", "modelo");
     $edit->modelo->size = 20;
     $edit->modelo->maxlength = 30;
     $edit->color = new inputField("Color", "color");
     $edit->color->size = 20;
     $edit->color->maxlength = 30;
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "Muebles";
     $data["head"] = script("jquery.pack.js") . $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:31,代码来源:bi_bienes.php


示例6: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("ARTICULO", "sinv");
     $edit->back_url = site_url("inventario/cambiosinv/filteredgrid");
     $edit->post_process('update', '_post_update');
     $edit->codigo = new inputField("Codigo", "codigo");
     $edit->codigo->size = 25;
     $edit->codigo->mode = "autohide";
     $edit->descrip = new inputField("Descripcion", "descrip");
     $edit->descrip->size = 50;
     $edit->descrip->mode = "autohide";
     $edit->exmin = new inputField("Existencia Minima", "exmin");
     $edit->exmin->size = 20;
     $edit->exmax = new inputField("Existencia Maxima", "exmax");
     $edit->exmax->size = 20;
     $edit->existen = new inputField("Existencia", "existen");
     $edit->existen->size = 20;
     $edit->activo = new dropdownField("Activo", "activo");
     $edit->activo->option("", "");
     $edit->activo->option("S", "Si");
     $edit->activo->option("N", "No");
     $edit->activo->style = "width:50px";
     $edit->buttons("modify", "save", "undo", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = " Almacenes ";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:30,代码来源:cambiosinv.php


示例7: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Sucursal", "sucu");
     $edit->back_url = site_url("supervisor/sucu/filteredgrid");
     $edit->codigo = new inputField("C&oacute;digo", "codigo");
     $edit->codigo->rule = "required";
     $edit->codigo->mode = "autohide";
     $edit->codigo->size = 4;
     $edit->codigo->maxlength = 2;
     $edit->sucursal = new inputField("Sucursal", "sucursal");
     $edit->sucursal->rule = "strtoupper";
     $edit->sucursal->size = 60;
     $edit->sucursal->maxlength = 45;
     $edit->url = new inputField("URL", "url");
     $edit->url->size = 80;
     $edit->url->maxlength = 200;
     $edit->prefijo = new inputField("Prefijo", "prefijo");
     $edit->prefijo->size = 5;
     $edit->prefijo->maxlength = 3;
     $edit->proteo = new inputField("Proteo", "proteo");
     $edit->proteo->maxlength = 50;
     $edit->proteo->size = 70;
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Sucursal</h1>";
     $data["head"] = script("jquery.pack.js") . script("plugins/jquery.numeric.pack.js") . script("plugins/jquery.floatnumber.js") . $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:30,代码来源:sucu.php


示例8: dataedit

    function dataedit()
    {
        $this->rapyd->load('dataedit');
        $script = '
		$(function() {
			$(".inputnum").numeric(".");
		});';
        $edit = new DataEdit('Metas', 'metas');
        $edit->back_url = site_url('ventas/metas/filteredgrid');
        $edit->script($script, 'create');
        $edit->script($script, 'modify');
        $edit->fecha = new dateonlyField('Fecha', 'fecha', 'm/Y');
        $edit->fecha->insertValue = date('Y-m-d');
        $edit->fecha->dbformat = 'Ym';
        $edit->fecha->size = 7;
        $edit->fecha->append('mes/año');
        $edit->fecha->rule = 'required';
        $edit->codigo = new dropdownField('Producto', 'codigo');
        $edit->codigo->option('', 'Seleccionar');
        $edit->codigo->rule = 'required';
        $edit->codigo->options('SELECT TRIM(codigo),CONCAT_WS("-",TRIM(codigo),TRIM(descrip)) AS valor FROM sinv ORDER BY codigo');
        //$edit->codigo->style = 'width:150px';
        $edit->codigo->rule = 'required';
        $edit->cantidad = new inputField('Cantidad', 'cantidad');
        $edit->cantidad->size = 12;
        $edit->cantidad->maxlength = 12;
        $edit->cantidad->rule = 'numeric|required|positive';
        $edit->cantidad->css_class = 'inputnum';
        $edit->buttons('modify', 'save', 'undo', 'delete', 'back', 'add');
        $edit->build();
        $data['content'] = $edit->output;
        $data['title'] = heading('Metas');
        $data['head'] = script('jquery.js') . script('plugins/jquery.numeric.pack.js') . script('plugins/jquery.floatnumber.js') . $this->rapyd->get_head();
        $this->load->view('view_ventanas', $data);
    }
开发者ID:codethics,项目名称:proteoerp,代码行数:35,代码来源:metas.php


示例9: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Zona", "zona");
     $edit->back_url = site_url("ventas/zonaf/filteredgrid");
     $edit->codigo = new inputField("codigo", "codigo");
     $edit->codigo->size = 5;
     $edit->codigo->rule = "required";
     $edit->codigo->maxlength = 5;
     $edit->pais = new dropdownField("Pa&iacute;s", "pais");
     $edit->pais->style = "width:150px";
     $edit->pais->option("", "Seleccionar");
     $edit->pais->options("SELECT codigo, nombre FROM pais ORDER BY codigo");
     $edit->pais->group = "Ubicaci&oacute;n";
     $edit->nombre = new inputField("Nombre", "nombre");
     $edit->nombre->size = 38;
     $edit->nombre->rule = "trim|required|strtoupper";
     $edit->nombre->maxlength = 30;
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Zona</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:25,代码来源:zonaf.php


示例10: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("", "prueba");
     $edit->id = new inputField("C&oacute;digo", "id");
     $edit->id->rule = "trim|required";
     $edit->id->size = 16;
     $edit->id->maxlength = 15;
     $edit->html = new editorField("Contenido", "html");
     $edit->html->rule = "required";
     $edit->html->rows = 20;
     //$edit->contenido->upload_path  = $this->upload_path;
     $edit->html->cols = 90;
     $edit->html->when = array("modify");
     //
     //$edit->html2 = new htmlField("Codice HTML", "html");
     //$edit->html2->cols = 70;
     //$edit->html2->rows = 10;
     $edit->iframe = new iframeField("related", "mpru/a", "500");
     $edit->iframe->when = array("show");
     //$edit->iframe->group = "Related Records";
     //$edit->container = new containerField("alert","html");
     //$edit->container->when = array("show");
     //
     //$edit->free = new freeField("Free Field","html","html");
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data["head"] = script("tabber.js") . script("prototype.js") . $this->rapyd->get_head() . script("scriptaculous.js") . script("effects.js");
     $data['title'] = '<h1>Catalogos de Inventarios</h1>';
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:32,代码来源:mpru.php


示例11: dataedit

    function dataedit()
    {
        $this->datasis->modulo_id(101, 1);
        $this->rapyd->load("dataedit");
        $script = '
			$(".inputnum").numeric(".");
		';
        $edit = new DataEdit("Sector", "sectores");
        $edit->script($script, "create");
        $edit->back_url = site_url("presupuesto/sectores/filteredgrid");
        $edit->sect_pres = new inputField("C&oacute;digo", "sect_pres");
        $edit->sect_pres->size = 5;
        $edit->sect_pres->maxlength = 2;
        $edit->sect_pres->mode = "autohide";
        $edit->sect_pres->css_class = 'inputnum';
        $edit->nomb_sect = new inputField("Nombre", "nomb_sect");
        $edit->nomb_sect->size = 40;
        $edit->nomb_sect->maxlength = 80;
        $edit->nomb_sect->rule = 'required';
        $edit->buttons("modify", "save", "undo", "delete", "back");
        $edit->build();
        $data['content'] = $edit->output;
        $data['title'] = " Sectores ";
        $data["head"] = script("jquery.pack.js") . $this->rapyd->get_head();
        $this->load->view('view_ventanas', $data);
    }
开发者ID:enderochoa,项目名称:tortuga,代码行数:26,代码来源:sectores.php


示例12: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Carga de Publicidad", "publicidad");
     $edit->back_url = site_url("supervisor/publicidad/filteredgrid");
     $edit->archivo = new uploadField("Archivo", "archivo");
     $edit->archivo->upload_path = $this->upload_path;
     $edit->archivo->allowed_types = "jpg|gif|swf|png";
     $edit->bgcolor = new inputField("Color de Fondo", "bgcolor");
     $edit->bgcolor->maxlength = 7;
     $edit->bgcolor->size = 9;
     //$edit->bgcolor->rule="";
     $edit->prob = new inputField("Probabilidad de aparicion", "prob");
     $edit->prob->css_class = 'inputnum';
     $edit->prob->maxlength = 8;
     $edit->prob->size = 6;
     //$edit->prob->rule="";
     $edit->descrip = new textareaField("Descripci&oacute;n", "descrip");
     $edit->descrip->rows = 5;
     $edit->buttons("modify", "save", "undo", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Registro de publicidad</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:26,代码来源:publicidad.php


示例13: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit('Partidas', 'crm_partidas');
     $edit->back_url = site_url('crm/partidas/');
     $edit->codigo = new inputField('C&oacute;digo', 'codigo');
     $edit->codigo->rule = 'trim|required|max_length[15]';
     $edit->descripcion = new inputField('Descripci&oacute;n', 'descripcion');
     $edit->descripcion->rule = 'trim|required|max_length[100]';
     $edit->enlace = new inputField('Enlace Administrativo', 'enlace');
     $edit->enlace->rule = 'trim|required|max_length[6]';
     $edit->enlace->size = 7;
     $edit->medida = new inputField('Medida', 'medida');
     $edit->medida->rule = 'trim|required|max_length[5]';
     $edit->medida->size = 6;
     $edit->medida->max_size = 5;
     $edit->iva = new inputField('Iva', 'iva');
     $edit->iva->rule = 'trim|required|numeric';
     $edit->buttons('modify', 'save', 'undo', 'delete', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = '<h1>Partidas de Contratos</h1>';
     $data['head'] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:25,代码来源:partidas.php


示例14: dataedit

    function dataedit()
    {
        $this->datasis->modulo_id(102, 1);
        $this->rapyd->load("dataedit");
        $script = '
			$(".inputnum").numeric(".");
		';
        $edit = new DataEdit("Programas", "programas");
        $edit->script($script, "create");
        $edit->back_url = site_url("presupuesto/programas/filteredgrid");
        $edit->sect_pres = new dropdownField("Sector", "sect_pres");
        $edit->sect_pres->options("SELECT sect_pres, CONCAT_WS(' ',sect_pres,nomb_sect)AS nomb_sect FROM sectores ORDER BY sect_pres");
        $edit->sect_pres->style = 'width:300px;';
        $filter->id_prog = new inputField("Identificador", "id_prog");
        $filter->id_prog->size = 5;
        $edit->prog_pres = new inputField("C&oacute;digo Programa", "prog_pres");
        $edit->prog_pres->size = 5;
        $edit->prog_pres->maxlength = 2;
        $edit->prog_pres->mode = "autohide";
        $edit->prog_pres->css_class = 'inputnum';
        $edit->prog_pres->rule = 'required';
        $edit->nomb_prog = new inputField("Nombre Programa", "nomb_prog");
        $edit->nomb_prog->size = 40;
        $edit->nomb_prog->maxlength = 80;
        $edit->nomb_prog->rule = 'required';
        $edit->buttons("modify", "save", "undo", "delete", "back");
        $edit->build();
        $data['content'] = $edit->output;
        $data['title'] = " Programas ";
        $data["head"] = script("jquery.pack.js") . $this->rapyd->get_head();
        $this->load->view('view_ventanas', $data);
    }
开发者ID:enderochoa,项目名称:tortuga,代码行数:32,代码来源:programas.php


示例15: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("soporte", "soporte");
     $edit->back_url = site_url("supervisor/sopor/filteredgrid");
     //$edit->pre_process('delete','_pre_del');
     $edit->usuario = new inputField("Usuario", "usuario");
     $edit->usuario->mode = "autohide";
     //$edit->rif->rule = "required";
     //$edit->rif->maxlength=13;
     $edit->usuario->size = 14;
     $edit->estampa = new dateField("Estampa", "estampa", "d/m/Y");
     $edit->estampa->size = 10;
     $edit->estampa->mode = "autohide";
     $edit->titulo = new inputField("Titulo", "titulo");
     $edit->comentario = new textareaField("Comentario", "comentario");
     $edit->comentario->cols = 70;
     $edit->comentario->rows = 10;
     if ($this->uri->segment(4) === "1") {
         $edit->buttons("modify", "save", "undo", "back");
     } else {
         $edit->buttons("modify", "save", "undo", "delete", "back");
     }
     $edit->build();
     //echo $edit->_dataobject->db->last_query();;
     $data["edit"] = $edit->output;
     $data["modulo"] = "";
     $content["content"] = $this->load->view('rapyd/dataedit', $data, true);
     $content["rapyd_head"] = $this->rapyd->get_head();
     $content["code"] = "";
     $content["lista"] = "\r\n\t\t\t<h3>Editar o Agregar</h3>\r\n\t\t\t<div>La identificacion del Grupo debe ser unica, la clase puede ser Cliente, Interna u Otros, en la Descripcion colocar que se quiere agrupar y la cuenta contable para el enlace contable</div>\r\n\t\t\t<div class='line'></div>\r\n\t\t\t<a href='#' onclick='window.close()'>Cerrar</a>\r\n\t\t\t<div class='line'></div>\n<br><br><br>\n";
     $this->load->view('rapyd/tmpsolo', $content);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:33,代码来源:sopor.php


示例16: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Estructura Administrativa", "estruadm");
     $edit->pre_process('delete', '_pre_delete');
     $edit->back_url = "presupuesto/estruadm/index/filteredgrid";
     $edit->codigo = new inputField("C&oacute;digo", "codigo");
     $edit->codigo->rule = "trim|required|callback_chcodigo";
     $edit->codigo->mode = "autohide";
     $edit->codigo->size = 20;
     $edit->codigo->maxlength = 15;
     $edit->titulo = new inputField("Denominaci&oacute;n", "denominacion");
     $edit->titulo->rule = "required";
     $edit->titulo->size = 50;
     $edit->titulo->maxlength = 500;
     //$edit->descrip = new inputField("Tipo", "tipo");
     //$edit->descrip->size = 10;
     //$edit->descrip->maxlength = 1;
     $edit->uejecutora = new dropdownField("Unidad Ejecutora", "uejecutora");
     $edit->uejecutora->option("", "");
     $edit->uejecutora->size = 80;
     $edit->uejecutora->options("SELECT codigo, CONCAT(codigo,' ', nombre) nombre FROM uejecutora ORDER BY nombre");
     $edit->descripcion = new textAreaField("Descripcion", "descripcion");
     $edit->descripcion->cols = 80;
     $edit->descripcion->rows = 7;
     $edit->buttons("add", "modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data["head"] = $this->rapyd->get_head();
     $data['title'] = 'Estructura Administrativa';
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:32,代码来源:estruadm.php


示例17: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit("barras de Inventario", "sinv");
     $edit->back_url = site_url("inventario/ubica/filteredgrid/search/osp");
     $edit->ubica = new inputField("Ubica", "ubica");
     $edit->ubica->size = 15;
     $edit->codigo = new inputField("C&oacute;digo", "codigo");
     $edit->codigo->size = 15;
     $edit->codigo->rule = "required";
     $edit->codigo->mode = "autohide";
     $edit->codigo->mode = "readonly";
     $edit->descrip = new inputField("Descripci&oacute;n", "descrip");
     $edit->descrip->size = 40;
     $edit->descrip->mode = "autohide";
     $edit->descrip2 = new inputField("Descripci&oacute;n Corta", "descrip2");
     $edit->descrip2->size = 20;
     $edit->descrip2->mode = "autohide";
     $edit->precio1 = new inputField("Precio", "precio1");
     $edit->precio1->size = 15;
     $edit->precio1->mode = "autohide";
     $edit->buttons("modify", "save", "undo", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = " C&oacute;digo Barras de Inventario ";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:28,代码来源:ubica.php


示例18: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Datos del Huesped", "hchk");
     $edit->back_url = site_url("hospitalidad/huesped/filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->cedula = new inputField("Cedula", "cedula");
     $edit->cedula->rule = "trim|strtoupper|required|callback_chrif|callback_chexiste";
     $edit->cedula->mode = "autohide";
     $edit->cedula->maxlength = 15;
     $edit->cedula->size = 17;
     $edit->nombres = new inputField("Nombres", "nombre");
     $edit->nombres->rule = "trim";
     $edit->nombres->size = 30;
     $edit->nombres->maxlength = 20;
     $edit->apellidos = new inputField("Apeliidos", "apellido");
     $edit->apellidos->rule = "trim";
     $edit->apellidos->size = 30;
     $edit->apellidos->maxlength = 20;
     $edit->dire1 = new inputField("Direcci&oacute;n", "dire1");
     $edit->dire1->rule = "trim";
     $edit->dire1->size = 50;
     $edit->dire1->maxlength = 40;
     $edit->telefono = new inputField("Tel&eacute;fono", "telefono");
     $edit->telefono->rule = "trim";
     $edit->telefono->size = 23;
     $edit->telefono->maxlength = 20;
     $edit->edad = new inputField("Edad", "edad");
     $edit->edad->rule = "trim";
     $edit->edad->size = 4;
     $edit->edad->maxlength = 2;
     $edit->visa = new dropdownField("Tipo de Visa", "visa");
     $edit->visa->option("", "");
     $edit->visa->options(array("T" => "Turista", "R" => "Residente", "O" => "Otros"));
     $edit->visa->style = "width:100px";
     $edit->civil = new dropdownField("Estado Civil", "civil");
     $edit->civil->option("", "");
     $edit->civil->options(array("S" => "SOLTERO(A)", "C" => "CASADO(A)", "D" => "DIVORCIADO(A)", "V" => "VIUDO(A)"));
     $edit->civil->style = "width:130px";
     $edit->profesion = new inputField("Profesi&oacute;n", "profesion");
     $edit->profesion->rule = "trim";
     $edit->profesion->size = 30;
     $edit->profesion->maxlength = 20;
     $edit->email = new inputField("Correo Electronico", "email");
     $edit->email->size = 40;
     $edit->email->maxlength = 40;
     $edit->email->rule = "valid_email|trim";
     $edit->nacional = new dropdownField("Nacionalidad", "nacional");
     $edit->nacional->option("", "");
     $edit->nacional->options("SELECT codigo, pais FROM nacion where pais>'' ORDER BY codigo ");
     $edit->nacional->style = "width:180px";
     $edit->buttons("modify", "save", "undo", "back", "delete");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Huespedes</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:60,代码来源:huesped.php


示例19: dataedit

 function dataedit()
 {
     function _vfecha($strdate)
     {
         if ($strdate == '') {
             return true;
         }
         if (ereg("([0-9]{2})/([0-9]{2})/([0-9]{4})", "{$strdate}", $arr)) {
             if (date("d/m/Y", strtotime("{$arr['2']}/{$arr['1']}/{$arr['3']}")) == $strdate) {
                 return true;
             }
         }
         return false;
     }
     $this->datasis->modulo_id(701001, 1);
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Calendario", "cale");
     $edit->back_url = site_url("nomina/calendario/filteredgrid");
     $edit->feria = new DateField("D&iacute;a Feriado", "feria", "d/m/Y");
     $edit->feria->rule = "required|callback_vfecha(";
     $edit->feria->mode = "autohide";
     $edit->motivo = new inputField("Motivo", "motivo");
     $edit->fijo = new inputField("Fijo", "fijo");
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Calendario</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:30,代码来源:calendario.php


示例20: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $this->rapyd->uri->keep_persistence();
     $edit = new DataEdit('Cheque emitido', 'bmov');
     $status = $edit->_status;
     if ($status != 'show') {
         show_error('Error de par&aacute;metros');
     }
     $edit->back_url = site_url('finanzas/conforch/filteredgrid');
     $edit->fecha = new DateonlyField('Fecha', 'fecha', 'd/m/Y');
     $edit->fecha->insertValue = date('Y-m-d');
     $edit->benefi = new inputField('A nombre de', "benefi");
     $edit->benefi->group = 'Detalle del cheque';
     $edit->banco = new inputField("Del Banco", "banco");
     $edit->banco->group = 'Detalle del cheque';
     $edit->numcuent = new inputField("N&uacute;mero Cuenta", "numcuent");
     $edit->numcuent->in = 'banco';
     $edit->numcuent->group = 'Detalle del cheque';
     $edit->numero = new inputField("N&uacute;mero de cheque", "numero");
     $edit->numero->group = 'Detalle del cheque';
     $edit->monto = new inputField("Por un Monto de", "monto");
     $edit->monto->group = 'Detalle del cheque';
     $edit->nombre = new inputField('Proveedor', 'nombre');
     $edit->concepto = new inputField("Por Concepto", "concepto");
     $edit->anulado = new inputField("Anulado", "anulado");
     $edit->buttons('back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = heading('Consulta de Cheques');
     $data['head'] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:33,代码来源:conforch.php



注:本文中的DataEdit类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP DataExtension类代码示例发布时间:2022-05-23
下一篇:
PHP DataConnector类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap