Export/Ebics: Add Tests to validate against schemas and fix issues
This commit is contained in:
@ -307,8 +307,12 @@ namespace Elwig.Windows {
|
||||
if (d.ShowDialog() == true) {
|
||||
ExportButton.IsEnabled = false;
|
||||
Mouse.OverrideCursor = Cursors.AppStarting;
|
||||
using var e = new Ebics(v, d.FileName);
|
||||
await e.ExportAsync(Transaction.FromPaymentVariant(v));
|
||||
try {
|
||||
using var e = new Ebics(v, d.FileName, 9);
|
||||
await e.ExportAsync(Transaction.FromPaymentVariant(v));
|
||||
} catch (Exception exc) {
|
||||
MessageBox.Show(exc.Message, "Fehler", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
}
|
||||
Mouse.OverrideCursor = null;
|
||||
ExportButton.IsEnabled = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user