<?php use_helper( 'UrlFunctions' ); ?>
<?php use_helper( 'UtilFunctions' ); ?>
<?php use_helper( 'IncludePartial' ); ?>
<style>
.SubCabecera td div
{
    overflow: hidden; white-space: nowrap; width: 250px; font-size: 10px; float: left;
}
</style>
<div id="resultContent" style=""></div>
<fieldset class="formGen" style="margin-top:0px; font-size: 10px;">
    <form id="form1" name="form1" method="POST" onsubmit="return false;">
        <input type="hidden" name="i_Id" value="<?=$i_Id?>">
        <input type="hidden" id="IdCompania" name="IdCompania" value="<?=myUser::getUser()->getIdCompania()?>">
        <div style="width: 100%;">
            <div style="display: inline-block; width: 21%;"><label class="label req" style="font-weight: bold;">Descripci&oacute;n:</label></div>
            <div style="display: inline-block; width: 60%;" title="<?=$o_ALM_ItemMastBN->getDescripcionCompleta() ?>"><label><?=substr( $o_ALM_ItemMastBN->getDescripcionCompleta(), 0, 30 ) ?>...</label></div>
            <div style="display: inline-block; width: 12%;"><input type="checkbox" name="ResumenAlmacen" id="ResumenAlmacen" value="1" title="Resumen Almacen" onclick="findControl();"> Re</div>
        </div>

        <div style="width: 100%;">
            <div style="display: inline-block; width: 12%;"><label class="label req" style="font-weight: bold;"> Codigo: </label></div>
            <div style="display: inline-block; width: 7%;"><?=$o_ALM_ItemMastBN->getIdItem() ?></div>
            <div style="display: inline-block; width: 12%;"><label class="label req" style="font-weight: bold;"> U.M: </label></div>
            <div style="display: inline-block; width: 15%;"><?=$o_ALM_ItemMastBN->getObjectUnidad()->getDescripcionCorta() ?>x<?=$o_ALM_ItemMastBN->getCantidadUnidad() ?></div>
            <div style="display: inline-block; width: 12%;"><label class="label req" style="font-weight: bold;"> CodB: </label></div>
            <div style="display: inline-block; width: 9%;"><?=$o_ALM_ItemMastBN->getCodigoBarras() ?></div>
            <div style="display: inline-block; width: 12%;" title="Stock > 0"><input type="checkbox" name="ConStock" id="ConStock" value="1" title="" checked="checked" onclick="findControl();"> > 0</div>
            <?php if( $o_ALM_ItemMastBN->getUnidadVenta() != "58" ){ ?>
            <div style="display: inline-block; width: 13%;" title="Mostrar en Unidades"><input type="checkbox" name="EnUnidades" id="EnUnidades" value="1" title="" onclick="findControl();"> UNI </div>
            <?php } ?>
        </div>
    </form>
</fieldset>
<?php include_partial( "gridShowItemAlm", array( "i_Id" => $i_Id ) ); ?>