clean up
This commit is contained in:
parent
fa4ac39074
commit
623e1717d6
@ -741,17 +741,12 @@ Public Class frmImportMain
|
||||
Return True
|
||||
End If
|
||||
|
||||
WebService.RaiseWebServiceProgress("Bericht erzeugen")
|
||||
|
||||
' Generate the report
|
||||
|
||||
' TODO: Call GetReportFilePath in GenerateReport to better control
|
||||
' when filename is generated and use it as placeholder
|
||||
WebService.RaiseWebServiceProgress("Bericht erzeugen")
|
||||
Dim oReportResult = ReportGenerator.GenerateReport(pDocument, CurrentTemplate)
|
||||
|
||||
WebService.RaiseWebServiceProgress("Bericht exportieren")
|
||||
|
||||
' Export it to pdf
|
||||
WebService.RaiseWebServiceProgress("Bericht exportieren")
|
||||
oReportResult.Report.ExportToPdf(oReportResult.FileName)
|
||||
|
||||
' 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
|
||||
e.Appearance.BackColor = Color.LightCoral
|
||||
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
|
||||
|
||||
|
||||
|
||||
'If oField.Value.HasError Then
|
||||
' e.Appearance.BackColor = Color.LightCoral
|
||||
'End If
|
||||
End Sub
|
||||
|
||||
Private Sub frmRowEditor_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user