<form action="#" autocomplete="off" @submit.prevent="enviarFactura">
    <div class="modal fade" tabindex="-1" role="dialog" id="modal_correo">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title"><span class="fa fa-envelope"></span> Enviar factura</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="form-group form-floating-label">
                        <input type="email" class="form-control input-border-bottom" id="cor_emailde" value="<?= $empresa['emp_email'] ?>" required>
                        <label for="cor_emailde" class="placeholder">De:</label>
                    </div>
                    <div class="form-group form-floating-label">
                        <input type="email" class="form-control input-border-bottom" id="cor_emailpara" value="<?= $proveedor['prov_email'] ?>" required>
                        <label for="cor_emailde" class="placeholder">Para:</label>
                    </div>
                    <div class="form-group form-floating-label">
                        <input type="email" class="form-control input-border-bottom" id="cor_emailcopia">
                        <label for="cor_emailde" class="placeholder">Copia:</label>
                    </div>
                    <div class="form-group form-floating-label">
                        <select class="form-control input-border-bottom" id="cor_tipo" required="">
                            <option value="1">Completo</option>
                            <option value="2">Media pagina</option>
                        </select>
                        <label for="cor_tipo" class="placeholder">Tipo de documento</label>
                    </div>
                    <div class="form-group">
                        <textarea class="form-control" id="cor_emailfirma"> <?= $empresa['emp_nombre'] ?> RIF: <?= $empresa['emp_rif'] ?></textarea>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary btn-round" disabled v-if="loader_correo">
                        <i class="loader loader-info"></i>
                    </button>
                    <button type="submit" class="btn btn-primary btn-round btn-border" v-else><span class="far fa-paper-plane"></span> Enviar</button>
                </div>
            </div>
        </div>
    </div>
</form>
