Ejemplo n.º 1
0
        <input type="hidden" name="tab" id="hidTab" value="list" />
        <input type="hidden" name="Code_Account" id="hidCodeAccount" value="<?php 
echo $sCodeAccount;
?>
" />
        <input type="hidden" name="Code_User" id="hidCodeUser" value="<?php 
echo $oSite->get_logged_user_code();
?>
" />
<?php 
$oListHeader = new HelperListHeader("Fecha", "Código", array("Contacto", "Comercial"));
$oDateFecha = new HelperDate("sch_DateP", $oActivitySearch->get_datep());
$oDateFecha->set_extras("data-type=\"search\" placeholder=\"Fecha\"");
$oDateFecha->set_class("ui-input-text ui-body-d");
$oTxtContactDescription = new HelperText("sch_User_Description", $oActivitySearch->get_user_description());
$oTxtContactDescription->set_extras("data-type=\"search\" placeholder=\"Nombre comercial\"");
$oTxtContactDescription->set_class("ui-input-text ui-body-d");
//SHOW
$oDateFecha->show();
$oTxtContactDescription->show();
?>
        <br />
<?php 
$oSelPage->show();
$oHidNumPage->show();
?>
   
        <ul data-role="listview" data-inset="true">
<?php 
$oListHeader->show();
$oHlpList->show();
Ejemplo n.º 2
0
        <button type="submit" id="butSearch" data-theme="b" >Buscar</button>
    </div>
    <!-- divlist -->
    <div class="content-primary">
        <input type="hidden" name="module" id="hidModule" value="activities" />
        <input type="hidden" name="tab" id="hidTab" value="list" />
        <input type="hidden" name="Code_Account" id="hidCodeAccount" value="<?php 
echo $sCodeAccount;
?>
" />
<?php 
$oFecha = new HelperDate("sch_DateP", $oActivitySearch->get_datep());
$oFecha->set_extras("data-type=\"search\" placeholder=\"Fecha\"");
$oFecha->set_class("ui-input-text ui-body-d");
$oContactDescription = new HelperText("sch_Contact_Description", $oActivitySearch->get_contact_description());
$oContactDescription->set_extras("data-type=\"search\" placeholder=\"Contacto\"");
$oContactDescription->set_class("ui-input-text ui-body-d");
$oListHeader = new HelperListHeader("Fecha", "Código", array("Contacto", "Comercial"));
//SHOW
$oFecha->show();
$oContactDescription->show();
?>
<br />
<?php 
//SELECT PAGINA
$oSelPage->show();
$oHidNumPage->show();
?>
           
        <ul data-role="listview" data-inset="true">
<?php 
Ejemplo n.º 3
0
    </div>
    <div class="content-primary">
        <input type="hidden" name="module" id="hidModule" value="propuestas" />
        <input type="hidden" name="tab" id="hidTab" value="list" />
        <input type="hidden" name="Code_Account" id="hidTab" value="<?php 
echo $sCodeAccount;
?>
" />
<?php 
$arPicklist = array("" => "", "Familia" => "Familia", "Subfamilia" => "Subfamilia", "Producto" => "Producto");
$oSelConcepto = new HelperSelect($arPicklist, "sch_Concepto", "Concepto", $oSchProporsal->get_concepto());
$oSelConcepto->set_extras("data-type=\"search\" placeholder=\"Concepto\"");
$oSelConcepto->set_class("ui-input-text ui-body-d");
$oSelConcepto->class_not_for_label();
$oTxtCodProducto = new HelperText("sch_Code_Articulo", $oSchProporsal->get_code_articulo());
$oTxtCodProducto->set_extras("data-type=\"search\" placeholder=\"Cod. Producto\"");
$oTxtCodProducto->set_class("ui-input-text ui-body-d");
$arPicklist = array();
$sCodeFamilia = $oSchProporsal->get_code_familia();
$arPicklist = MainModel::get_data_for_picklist("MTB_Products_Family");
$oSelFamilia = new HelperSelect($arPicklist, "sch_Code_Familia", "Familia", $sCodeFamilia);
$oSelFamilia->set_extras("data-type=\"search\"");
$oSelFamilia->set_js_onchange("oMtbAjax.load_subfamilies(this);");
$oSelFamilia->set_class("ui-input-text ui-body-d");
$oSelFamilia->class_not_for_label();
$arPicklist = array();
$sSQLAnd = "";
if (!empty($sCodeFamilia)) {
    $sSQLAnd = "Code_Family='{$sCodeFamilia}'";
}
$arPicklist = MainModel::get_data_for_picklist("MTB_Products_SubFamily", "", "", $sSQLAnd);
        <input type="hidden" name="Code_Account" id="hidCodeAccount" value="<?php 
echo $sCodeAccount;
?>
" />
        <input type="hidden" name="Code_Familia" id="hidCodeFamilia" value="<?php 
echo $sCodeFamilia;
?>
" />
        <input type="hidden" name="Familia_Description" id="hidFamiliaDescription" value="<?php 
echo $sFamiliaDescription;
?>
" />
        <input type="hidden" name="Type" id="hidType" value="subfamilia" />
<?php 
$oTxtSubfamilia = new HelperText("sch_Subfamilia_Description", $oSchDiscount->get_descripcion_subfamilia());
$oTxtSubfamilia->set_extras("data-type=\"search\" placeholder=\"Subfamilia\"");
$oTxtSubfamilia->set_class("ui-input-text ui-body-d");
$oTxtSubfamilia->class_not_for_label();
$oListHeader = new HelperListHeader("Subfamilia", "Código", array("Dto."));
$oTxtSubfamilia->show();
?>
        <br />
<?php 
$oSelPage->show();
$oHidNumPage->show();
?>
    
        <ul data-role="listview" data-inset="true">
<?php 
$oListHeader->show();
$oHlpList->show();
Ejemplo n.º 5
0
    </div>
  
    <!-- divlist -->
    <div class="content-primary">
        <input type="hidden" name="module" id="hidModule" value="contacts" />
        <input type="hidden" name="tab" id="hidTab" value="list" />
        <input type="hidden" name="Code_Account" id="hidCodeAccount" value="<?php 
echo $sCodeAccount;
?>
" />
<?php 
$oTxtContacto = new HelperText("sch_Full_Name", $oContactSearch->get_full_name());
$oTxtContacto->set_extras("data-type=\"search\" placeholder=\"Nombre completo\"");
$oTxtContacto->set_class("ui-input-text ui-body-d");
$oTxtCargo = new HelperText("sch_Full_Name", $oContactSearch->get_cargo());
$oTxtCargo->set_extras("data-type=\"search\" placeholder=\"Cargo\"");
$oTxtCargo->set_class("ui-input-text ui-body-d");
$oListHeader = new HelperListHeader("Nombre Completo", "Código", array("Teléfono", "Cargo"));
$oTxtContacto->show();
$oTxtCargo->show();
?>
   
        <br />
<?php 
$oSelPage->show();
$oHidNumPage->show();
?>
        <ul data-role="listview" data-inset="true">
<?php 
$oListHeader->show();
$oHlpList->show();