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(); } }
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; } }
private void cmdPayment_Click(object sender, RoutedEventArgs e) { WinAddEditPayment w = new WinAddEditPayment(vw.CashReceiptAmt, vw, dt == AccountDocumentType.AcctDocMiscRevenue); w.ShowDialog(); if (w.IsOK) { vw.CalculateReceiveAndChange(); vw.IsModified = true; } }