refining fmeditor
authorJane Sandberg <sandbej@linnbenton.edu>
Thu, 13 Dec 2018 00:44:31 +0000 (16:44 -0800)
committerJane Sandberg <sandbej@linnbenton.edu>
Thu, 13 Dec 2018 00:44:31 +0000 (16:44 -0800)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.html
Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.ts

index 3c24204..e37b7d9 100644 (file)
@@ -32,5 +32,8 @@
 
 </eg-grid>
 
-<eg-fm-record-editor #editDialog idlClass="bresv">
+<eg-fm-record-editor #editDialog
+  idlClass="bresv"
+  mode="update"
+  readonlyFields="usr,xact_start,xact_finish,request_time,capture_time,cancel_time,pickup_time,return_time,capture_staff"
 </eg-fm-record-editor>
index 29958b5..4b0384c 100644 (file)
@@ -79,7 +79,6 @@ export class CurrentReservationsComponent implements OnInit {
   }
 
   showEditDialog(idlThing: IdlObject) {
-    this.editDialog.mode = 'update';
     this.editDialog.recId = idlThing.id();
     return this.editDialog.open({size: 'lg'}).then(
       ok => {