예제 #1
0
        protected override void RefreshAction()
        {
            Payment current = Pago;

            Payments_BS.DataSource = _entity.Pagos.GetSortedList("Fecha", ListSortDirection.Descending);
            Pagos_DGW.Refresh();
            Payments_BS.ResetBindings(false);

            _payrolls = PayrollList.GetListByEmpleado(_entity.Oid, false);
            UpdatePendientes();

            _summary.Refresh(_entity);
            Summary_BS.ResetBindings(false);

            SetGridColors(Pagos_DGW.Name);

            Select(current);
        }
예제 #2
0
        protected override void RefreshAction()
        {
            Payment current = Pago;

            _entity.LoadChilds(typeof(Payment), true);

            Datos_Pago.DataSource = _entity.Pagos.GetSortedList("IdPago", ListSortDirection.Descending);
            Pagos_DGW.Refresh();
            Datos_Pago.ResetBindings(true);

            _invoices = InputInvoiceList.GetListByAcreedor(_entity.Oid, _entity.ETipoAcreedor, false);
            UpdatePendientes();

            _summary.Refresh(_entity);
            Datos_Resumen.ResetBindings(false);

            SetGridColors(Pagos_DGW.Name);

            Select(current);
        }