only mark fields with missing account as error if required, re-add selected field for checkboxes in file list, make automatic price calculation configurable

This commit is contained in:
Jonathan Jenne
2022-04-20 14:03:04 +02:00
parent 17d5f5ca1b
commit 1c3d5dd543
4 changed files with 31 additions and 12 deletions

View File

@@ -21,9 +21,14 @@ Namespace Documents
Public Property Imported As Boolean = False
''' <summary>
''' This is used for saving the selected state via checkbox, don't remove!
''' </summary>
Public Property Selected As Boolean = False
Public ReadOnly Property HasErrors As Boolean
Get
Return Mandator Is Nothing Or Rows.Any(Function(r As DocumentRow) r.HasErrors)
Return Errors.Count > 0
End Get
End Property