コード例 #1
0
        private void UcBuscadorClienteOnFormaPagoChanged(object sender, FormaPago e)
        {
            if (_cliente == null)
            {
                return;
            }

            UcTotalesVenta.Pagos.Clear();

            UcTotalesVenta.RefrescarPagos();

            if (UcBuscadorCliente.CondicionVentaSeleccionada == CondicionVentaEnum.CuentaCorriente)
            {
                RPCtaccte.Visible = true;
                UcCuentaCorrienteInfo.Anticipo = 0;
            }
            else
            {
                RPCtaccte.Visible = false;
            }

            ActualizarTotal();
        }