<!-- Modal -->
<div id="modalEmailing" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-body"> 
            <div class="box box-primary">
                <?php 
                $formMail = new EmailingForm();
                echo $formMail->openForm();
                ?>
                <div class="box-header with-border">
                <button type="button" class="close _closeModalEmailing"><i class="fa fa-window-close"></i></button>
                    <h4><i class="fa fa-envelope"></i> <?php echo $_translator->_getTranslation('Enviar por correo')?></h4>
                </div>
                <div id="flashmessenger-invoice"></div>
                <div class="modal-body">            
                    <?php echo $formMail->showElement('operation');?>
                    <?php echo $formMail->showElement('operation_id');?>
                    <?php echo $formMail->showElement('to');?>
                    <?php $formMail->showElement('cc');?>
                    <?php $formMail->showElement('subject');?>
                    <?php $formMail->showElement('message');?>
                    <div class="_attachments" style="padding-left: 15px"></div>
                </div>
                <div class="modal-footer">
                    <div class="pull-right"><?php $formMail->showElement('send_emailing');?></div>
                </div>
            <?php echo $formMail->closeForm();?>
             </div>
            </div>
        </div>
    </div>
</div>
<!-- Fin Modal -->