<!-- Modal -->
<div id="modalAgregarDescuento" class="modal fade" data-backdrop="static"  data-keyboard="false" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
    <div class="modal-content">
        <div class="modal-header">
            <h3 id="myModalLabel"><?php echo $_translator->_getTranslation('Agregar descuento');?></h3>
            <div id="infoProducto"></div>
        </div> 
        <div id="flashmessenger-editarProducto"></div>
        <div class="modal-body">   
            <div class='col-lg-12 col-md-12 col-sm-12'>
                <div>
                    <?php echo $form->showElement('descuento_orden_valor');?>
                    <div class="input-group col-lg-8 col-md-8 col-sm-8">
                        <a class="btn btn-default" onclick="$('#descuento_orden_valor').val(30)">30%</a>
                    </div>  
                </div>
            </div>
                <div class="clear"></div>        
        </div>
        <div class="modal-footer">
            <div class="col-lg-12 col-md-12 col-sm-12">
                <?php $element = $form->getElement('aplicarDescuento');echo $form->createOnlyElement($element);?>
                <?php $element = $form->getElement('cerrarDescuento');echo $form->createOnlyElement($element);?>
                <?php $element = $form->getElement('cancelarDescuento');echo $form->createOnlyElement($element);?>
            </div>
        </div>
    </div>           
    </div>
    <style>
        .input-group-btn:last-child > .form-control {
          margin-left: -1px;
          width: auto;
        }
    </style>
</div>