<form @submit.prevent="aplicarDescuentoAdicional">
    <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" id="modal-descuento-global">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">Descuento sobre la 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-row">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label for="calve">Descuento</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <div class="input-group-text btn-light" id="rif">%</div>
                                    </div>
                                    <input type="number" class="form-control" v-model="descuento">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="calve">Empleado</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <div class="input-group-text btn-light" id="empleado"><i class="fa fa-user-tie"></i></div>
                                    </div>
                                    <select id="empleado" class="form-control" v-model="empleado_autorizado">
                                        <option value="" disabled selected>SELECCIONAR EMPLEADO</option>
                                        <?php foreach ($empleados as $row) : ?>
                                            <option value="<?= $row['emp_username'] ?>"><?= $row['emp_username'] ?></option>
                                        <?php endforeach; ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="calve">Clave</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <div class="input-group-text btn-light" id="empleado"><i class="fa fa-lock"></i></div>
                                    </div>
                                    <input type="password" class="form-control" v-model="clave">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary  btn-sm" data-dismiss="modal">Cerrar</button>
                    <button type="submit" class="btn btn-primary  btn-sm">Autorizar</button>
                </div>
            </div>
        </div>
    </div>
</form>