Add an option to the admin fax menu to lock papers such that they can't be edited by cybersun pens (#28972)
* Add option to adminfax for locking papers. * Replace dummy control with margin
This commit is contained in:
@@ -150,11 +150,14 @@ public sealed partial class FaxPrintout
|
||||
[DataField("stampedBy")]
|
||||
public List<StampDisplayInfo> StampedBy { get; private set; } = new();
|
||||
|
||||
[DataField]
|
||||
public bool Locked { get; private set; }
|
||||
|
||||
private FaxPrintout()
|
||||
{
|
||||
}
|
||||
|
||||
public FaxPrintout(string content, string name, string? label = null, string? prototypeId = null, string? stampState = null, List<StampDisplayInfo>? stampedBy = null)
|
||||
public FaxPrintout(string content, string name, string? label = null, string? prototypeId = null, string? stampState = null, List<StampDisplayInfo>? stampedBy = null, bool locked = false)
|
||||
{
|
||||
Content = content;
|
||||
Name = name;
|
||||
@@ -162,5 +165,6 @@ public sealed partial class FaxPrintout
|
||||
PrototypeId = prototypeId ?? "";
|
||||
StampState = stampState;
|
||||
StampedBy = stampedBy ?? new List<StampDisplayInfo>();
|
||||
Locked = locked;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user