feature: initial comments template

completes #150
This commit is contained in:
Gary Sharp
2025-01-24 17:28:27 +11:00
parent 408e1c4c14
commit 0853bcee50
39 changed files with 956 additions and 527 deletions
+2 -1
View File
@@ -20,8 +20,9 @@ namespace Disco.Web.Models.Job
[Required]
public List<string> SubTypes { get; set; }
[DataType(System.ComponentModel.DataAnnotations.DataType.MultilineText)]
[DataType(DataType.MultilineText)]
public string Comments { get; set; }
public bool RegenerateCommentsOnTypeChange { get; set; }
[Required(ErrorMessage = "Please specify whether the device is held or not")]
public bool? DeviceHeld { get; set; }