<!-- Modal -->
<div id="modalPagoDevolucionDetalle" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="myModalLabel"><?php echo $_translator->_getTranslation('Agregar pago');?></h3>
        </div> 
        <div id="flashmessenger-editarProducto"></div>
        <div class="modal-body">  
            <div class="col-lg-12 col-md-12 col-sm-12 text-right">
                <span class="btn btn-primary" onclick="addMontoDevolucion(parseFloat($('#montoTotalDevolucion').html()))"><i class='fa fa-money'></i> <span id="quickBtnTotalDevolucion"></span></span>
                <span class="btn btn-primary" onclick="addMontoDevolucion('5')"><i class='fa fa-money'></i> 5</span>
                <span class="btn btn-primary" onclick="addMontoDevolucion('10')"><i class='fa fa-money'></i> 10</span>
                <span class="btn btn-primary" onclick="addMontoDevolucion('20')"><i class='fa fa-money'></i> 20</span>
                <span class="btn btn-primary" onclick="addMontoDevolucion('50')"><i class='fa fa-money'></i> 50</span>
                <span class="btn btn-primary" onclick="addMontoDevolucion('100')"><i class='fa fa-money'></i> 100</span>
                <span class="btn btn-default" onclick="clearMontoDevolucion()"><?php echo $_translator->_getTranslation('Limpiar')?></span>
            </div>
            <div id="divElementsPyment" class="col-lg-12 col-md-12 col-sm-12 p-t-1">
                <div><?php $form->showElement('idPagoDevolucion')?></div>
                <div><?php $form->showElement('formaPagoDevolucion')?></div>
                <div><?php $form->showElement('montoDevolucion')?></div>
                <div><?php $form->showElement('numDocumentoDevolucion')?></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('guardarPagoDevolucion');echo $form->createOnlyElement($element); /* Save venta */?>
                <?php $element = $form->getElement('cerrar');echo $form->createOnlyElement($element);?>
            </div>
        </div>
        <?php echo $form->closeForm();?>
    </div>           
    </div>
</div>