LP1904036 Starting waivers
authorBill Erickson <berickxx@gmail.com>
Thu, 8 Apr 2021 15:38:10 +0000 (11:38 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:30 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html
Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts

index a6d45bb..49248b4 100644 (file)
     </div>
   </ng-container>
 
+  <ng-container *ngIf="context.settingsCache['circ.privacy_waiver']">
+    <div class="row pt-1 pb-1 mt-1">
+      <div class="col-lg-3" i18n>Allow others to use my account</div>
+      <div class="col-lg-3">
+        <input type="text" class="form-control" [(ngModel)]="waiverName"/>
+      </div>
+      <div class="col-lg-3">
+        <div class="form-inline">
+          <input class="form-check-input" type="checkbox"/>
+          <label class="form-check-label" 
+            for="" i18n>Place Holds?</label>
+        </div>
+        <div class="form-inline">
+          <input class="form-check-input" type="checkbox"/>
+          <label class="form-check-label" 
+            for="" i18n>View Borrowing History?</label>
+        </div>
+      </div>
+      <div class="col-lg-3">
+        <div class="form-inline">
+          <input class="form-check-input" type="checkbox"/>
+          <label class="form-check-label" 
+            for="" i18n>Place Holdck Up Holds?</label>
+        </div>
+        <div class="form-inline">
+          <input class="form-check-input" type="checkbox"/>
+          <label class="form-check-label" 
+            for="" i18n>Check Out Items?</label>
+        </div>
+      </div>
+    </div>
+  </ng-container>
+
   <div class="alert alert-success pt-2 pb-2 mt-3 mb-3 d-flex">
     <div class="m-auto font-weight-bold" i18n>Addresses</div>
   </div>
index 100735a..25e986c 100644 (file)
@@ -176,6 +176,7 @@ export class EditComponent implements OnInit, AfterViewInit {
     origUsername: string;
     stageUser: IdlObject;
     stageUserRequestor: IdlObject;
+    waiverName: string;
 
     fieldPatterns: {[cls: string]: {[field: string]: RegExp}} = {
         au: {},