$oTxtCodigo = new HelperText("det_Code", $oClient->get_code(), "Código"); $oTxtCodigo->readonly(); $oTxtCodigo->set_keycode(); $oTxtCodigo->display(!$isNew); $oTxtNombre = new HelperText("det_Name", $oClient->get_name(), "Nombre"); $oTxtNombre->required(); $oTxtDireccion = new HelperText("det_Direccion", $oClient->get_direccion(), "Dirección"); $oTelTelefono1 = new HelperText("det_Tlf1", $oClient->get_tlf1(), "Teléfono"); $oTelTelefono1->set_type("tel"); $oTelMovil = new HelperText("det_Tlf2", $oClient->get_tlf2(), "Móvil"); $oTelMovil->set_type("tel"); $oTelFax = new HelperText("det_Fax", $oClient->get_fax(), "Fax"); $oTelFax->set_type("tel"); $oEmail = new HelperText("det_Correo_E", $oClient->get_correo_e(), "Email"); $oEmail->set_type("tel"); $oTxtCifNif = new HelperText("det_Codigo_Sic", $oClient->get_codigo_sic(), "Cif/Nif"); $oTxtCifNif->set_js_onblur("is_cif_nif_valido(this);"); $oTxtNumCalle = new HelperText("detm_Numero_Calle", $oMtbCliente->get_numero_calle(), "Num. Calle"); $oTxtPoblacion = new HelperText("detm_Poblacion", $oMtbCliente->get_poblacion(), "Población"); $oTxtIban = new HelperText("detm_Iban", $oMtbCliente->get_iban(), "IBAN"); $oTxtCbango = new HelperText("detm_Cod_Banco", $oMtbCliente->get_cod_banco(), "C. Banco"); $oTxtDc = new HelperText("detm_DC", $oMtbCliente->get_dc(), "DC"); $oTxtNumCuenta = new HelperText("detm_Num_Cuenta", $oMtbCliente->get_num_cuenta(), "N. Cuenta"); $oTxtSucursal = new HelperText("detm_Sucursal", $oMtbCliente->get_sucursal(), "Sucursal"); $oTxtLimCredito = new HelperText("detm_Credito_Caution", $oMtbCliente->get_credito_caution(), "Lim. Credito"); $oTxtDto1 = new HelperText("detm_Descuento", $oMtbCliente->get_descuento(), "Dto. 1"); $oTxtDto2 = new HelperText("detm_Descuento2", $oMtbCliente->get_descuento2(), "Dto. 2"); $oTxtDtoPP = new HelperText("detm_Dto_ProntoPago", $oMtbCliente->get_dto_prontopago(), "Dto. P. Pago"); $oTxaObservaciones = new HelperTextArea("detm_Observaciones", $oMtbCliente->get_observaciones(), "Observ."); $oTxaObservaciones->set_maxlength(255); $oDateFechaAlta = new HelperDate("detm_Fecha_Alta", $oMtbCliente->get_fecha_alta(), "Fecha Alta");
<a href="index.php?module=clients&tab=detail" data-inline="true" data-theme="b" data-role="button" class="btn-menu ui-btn ui-btn-inline ui-btn-corner-all ui-shadow ui-btn-up-b" > <span class="ui-btn-inner ui-btn-corner-all"> <span class="ui-btn-text">Nuevo</span> </span> </a> <button id="butSearch" type="submit" data-theme="b">Buscar</button> </div> <!-- divlist --> <div class="content-primary"> <!-- search fields --> <input type="text" id="sch_Name" name="sch_Name" placeholder="Nombre" value="<?php echo $oClientSearch->get_name(); ?> " data-type="search" class="ui-input-text ui-body-d" /> <input type="text" id="sch_Codigo_Sic" name="sch_Codigo_Sic" placeholder="Nif/Cif" value="<?php echo $oClientSearch->get_codigo_sic(); ?> " data-type="search" class="ui-input-text ui-body-d" /> <input type="text" id="sch_Cp" name="sch_Cp" placeholder="C.P." value="<?php echo $oClientSearch->get_cp(); ?> " data-type="search" class="ui-input-text ui-body-d" /> <input type="text" id="sch_Poblacion" name="sch_Poblacion" placeholder="Población" value="<?php echo $oClientSearch->get_mtb_poblacion(); ?> " data-type="search" class="ui-input-text ui-body-d" /> <!-- /search fields --> <br /> <?php $oListHeader = new HelperListHeader("Nombre", "Código", array("Población", "C.P.", "Vendedor")); $oSelPage->show();