clean up
This commit is contained in:
@@ -741,17 +741,12 @@ Public Class frmImportMain
|
|||||||
Return True
|
Return True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
WebService.RaiseWebServiceProgress("Bericht erzeugen")
|
|
||||||
|
|
||||||
' Generate the report
|
' Generate the report
|
||||||
|
WebService.RaiseWebServiceProgress("Bericht erzeugen")
|
||||||
' TODO: Call GetReportFilePath in GenerateReport to better control
|
|
||||||
' when filename is generated and use it as placeholder
|
|
||||||
Dim oReportResult = ReportGenerator.GenerateReport(pDocument, CurrentTemplate)
|
Dim oReportResult = ReportGenerator.GenerateReport(pDocument, CurrentTemplate)
|
||||||
|
|
||||||
WebService.RaiseWebServiceProgress("Bericht exportieren")
|
|
||||||
|
|
||||||
' Export it to pdf
|
' Export it to pdf
|
||||||
|
WebService.RaiseWebServiceProgress("Bericht exportieren")
|
||||||
oReportResult.Report.ExportToPdf(oReportResult.FileName)
|
oReportResult.Report.ExportToPdf(oReportResult.FileName)
|
||||||
|
|
||||||
' Mark Document as Imported, will be moved on Form Close or File Reload
|
' Mark Document as Imported, will be moved on Form Close or File Reload
|
||||||
|
|||||||
@@ -310,20 +310,7 @@ Public Class frmRowEditor
|
|||||||
If oField.Value.HasError Then
|
If oField.Value.HasError Then
|
||||||
e.Appearance.BackColor = Color.LightCoral
|
e.Appearance.BackColor = Color.LightCoral
|
||||||
End If
|
End If
|
||||||
|
|
||||||
' TODO: Remove this workaround if the conditions for errors are good now
|
|
||||||
'If e.DisplayText = String.Empty And (
|
|
||||||
' oField.Value.Error = FieldError.AccountNotFound Or
|
|
||||||
' oField.Value.Error = FieldError.ArticleNotFound) Then
|
|
||||||
' e.Appearance.BackColor = Color.LightCoral
|
|
||||||
'End If
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
'If oField.Value.HasError Then
|
|
||||||
' e.Appearance.BackColor = Color.LightCoral
|
|
||||||
'End If
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub frmRowEditor_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
|
Private Sub frmRowEditor_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
|
||||||
|
|||||||
Reference in New Issue
Block a user