<?php use_helper( 'UrlFunctions' ); ?>
<?php use_helper( 'IncludePartial' ); ?>
<div id="resultContent" style=""></div>
<div class="block">
    <form action="" method="post" name="form1" id="form1">
        <table class="marco" style="background:#E3E9E2" width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                        <tr>
                            <td nowrap="nowrap">
                                <table  cellspacing="1" cellpadding="0" border="0" class="SubCabecera" width="100%">
                                    <tr>
                                        <td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=DescripcionCompleta class="label">Descripci&oacute;n :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
                                            <input type="text" class="text" name="DescripcionCompleta" id="DescripcionCompleta" style="width:80%">
                                        </td>
                                        <!--<td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=DescripcionCompleta class="label">Tipo :</label>
                                            </div>
                                        </td>-->
                                        <!--<td nowrap="nowrap">
                                            <select class="combo" name="IdItemTipo" id="IdItemTipo">
                                                <option value=""> - Seleccione - </option>
                                                <?php //foreach ( $a_ALM_ItemTipo as $i_Key => $o_ALM_ItemTipoBN ){ ?>
                                                <option value="<?php //$o_ALM_ItemTipoBN->getIdItemTipo()?>"> <?php //$o_ALM_ItemTipoBN->getDescripcionLocal()?> </option>
                                                <?php //} ?>
                                            </select>
                                        </td>-->
                                        <!--<td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=DescripcionCompleta class="label">Linea :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
											<select class="combo required" id="IdLinea" name="IdLinea" onchange="$('#IdFamilia')[0].options.length = 1; $('#IdSubFamilia')[0].options.length=1; publicForSelectAjaxJSON('<?php echo buildUrl( 'item/request', 'block=001') ?>', $( 'form' ).serialize() + '&TipoProc=Familia', 'IdFamilia');">
												<option value=""> - Seleccione - </option>
												<?php //foreach ( $a_MST_ClaseLinea as $i_Key => $o_MST_ClaseLineaBN ){ ?>
												<option value="<?php //$o_MST_ClaseLineaBN->getIdLinea()?>" > <?php //$o_MST_ClaseLineaBN->getDescripcion()?> </option>
												<?php //} ?>
											</select>
                                        </td>-->
                                    </tr>
                                    <tr>
                                        <td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=IdItem class="label">C&oacute;digo :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
                                            <input type="text" class="text" name="IdItem" id="IdItem"  style="width:40%; text-align:center;">
                                        </td>
                                        <!--<td  nowrap="nowrap">
                                            <!--<div class="field-label">
                                                <label for=IdItem class="label">Marca :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
											<!--<select class="combo required" id="IdMarca" name="IdMarca">
												<option value=""> - Seleccione - </option>
												<?php //foreach ( $a_ALM_Marca as $i_Key => $a_ALM_MarcaBN ){ ?>
												<option value="<?php //$a_ALM_MarcaBN->getIdMarca()?>" > <?php //$a_ALM_MarcaBN->getDescripcionLocal()?> </option>
												<?php //} ?>
											</select>
                                        </td>-->
                                        <!--<td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=DescripcionCompleta class="label">Familia :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
    										<select class="combo required" id="IdFamilia" name="IdFamilia" onchange="$('#IdSubFamilia')[0].options.length=1; publicForSelectAjaxJSON('<?php //echo buildUrl( 'item/request', 'block=001' ) ?>', $( 'form' ).serialize() + '&TipoProc=SubFamilia', 'IdSubFamilia');">
    											<option value=""> - Seleccione - </option>
    										</select>
                                        </td>-->
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <input type="button" onclick="findControl();" value="Buscar" class="button">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</div>
<br>
<?php include_partial( "itemGrid", array( "type" => $type ) ); ?>