|
@@ -35,6 +35,7 @@ namespace InABox.Core
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
[NullEditor]
|
|
|
+ [EntityRelationship(DeleteAction.Cascade)]
|
|
|
public TParentLink Parent { get; set; }
|
|
|
|
|
|
[NullEditor]
|
|
@@ -42,6 +43,7 @@ namespace InABox.Core
|
|
|
public QAFormLink QAForm { get; set; }
|
|
|
|
|
|
[EditorSequence(1)]
|
|
|
+ [EntityRelationship(DeleteAction.Cascade)]
|
|
|
public DigitalFormLink Form { get; set; }
|
|
|
|
|
|
[NullEditor]
|
|
@@ -57,11 +59,26 @@ namespace InABox.Core
|
|
|
[NullEditor]
|
|
|
[Obsolete("Being Replaced by FormCompleted", true)]
|
|
|
public DateTime QACompleted { get; set; }
|
|
|
-
|
|
|
+
|
|
|
[EditorSequence(2)]
|
|
|
+ [Caption("Started")]
|
|
|
+ [DateTimeEditor]
|
|
|
+ public DateTime FormStarted { get; set; }
|
|
|
+
|
|
|
+ [EditorSequence(3)]
|
|
|
[Caption("Completed")]
|
|
|
[DateTimeEditor]
|
|
|
public DateTime FormCompleted { get; set; }
|
|
|
+
|
|
|
+ [EditorSequence(4)]
|
|
|
+ [Caption("Processed")]
|
|
|
+ [DateTimeEditor]
|
|
|
+ public DateTime FormProcessed { get; set; }
|
|
|
+
|
|
|
+ [EditorSequence(5)]
|
|
|
+ [Caption("Cancelled")]
|
|
|
+ [DateTimeEditor]
|
|
|
+ public DateTime FormCancelled { get; set; }
|
|
|
|
|
|
[NullEditor]
|
|
|
[Obsolete("Being Replaced by FormCompletedBy")]
|
|
@@ -71,10 +88,10 @@ namespace InABox.Core
|
|
|
[Caption("User")]
|
|
|
public UserLink FormCompletedBy { get; set; }
|
|
|
|
|
|
- [EditorSequence(4)]
|
|
|
- [CheckBoxEditor]
|
|
|
+ [NullEditor]
|
|
|
+ [Obsolete("Replaced with Status", true)]
|
|
|
public bool Processed { get; set; }
|
|
|
-
|
|
|
+
|
|
|
[NullEditor]
|
|
|
public Location Location { get; set; }
|
|
|
|
|
@@ -91,7 +108,7 @@ namespace InABox.Core
|
|
|
return Parent.ID;
|
|
|
}
|
|
|
|
|
|
- public DateTime FormStarted { get; set; }
|
|
|
+ [DurationEditor(Visible=Visible.Optional, Editable = Editable.Hidden)]
|
|
|
public TimeSpan FormOpen { get; set; }
|
|
|
|
|
|
[NullEditor]
|
|
@@ -103,7 +120,7 @@ namespace InABox.Core
|
|
|
Description = "";
|
|
|
FormStarted = DateTime.MinValue;
|
|
|
FormOpen = TimeSpan.Zero;
|
|
|
- Processed = false;
|
|
|
+ CoreUtils.SetPropertyValue(this, "Processed", false);
|
|
|
}
|
|
|
}
|
|
|
}
|