private void cmdPayment_Click(object sender, RoutedEventArgs e)
        {
            WinAddEditPayment w = new WinAddEditPayment(vw.CashActualReceiptAmt, vw, true);

            w.ShowDialog();

            if (w.IsOK)
            {
                vw.CalculateReceiveAndChange();
                vw.IsModified = true;
            }
        }
Ejemplo n.º 2
0
        private void cmdPayment_Click(object sender, RoutedEventArgs e)
        {
            vw.ConstructWhDefinitionFromReceiptItem();

            WinAddEditPayment w = new WinAddEditPayment(vw.CashActualReceiptAmt, vw, dt == AccountDocumentType.AcctDocCashDepositAr);

            w.ShowDialog();

            if (w.IsOK)
            {
                vw.IsModified = true;
                vw.CalculateReceiveAndChange();
            }
        }