LP1888723 Disable special copy statuses in status selector user/berick/lp1888723-angular-volcopy-v9
authorBill Erickson <berickxx@gmail.com>
Wed, 3 Mar 2021 15:52:55 +0000 (10:52 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 13 May 2021 15:42:26 +0000 (11:42 -0400)
It is no longer possible to manually move a copy into a special copy
status in the Angular volcopy attributes editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html

index 5190514..df3350c 100644 (file)
@@ -87,7 +87,7 @@
         <ng-template #statusTemplate>
           <eg-combobox domId="status-input"
             (ngModelChange)="values['status'] = $event ? $event.id : null"
-            [ngModel]="values['status']">
+            [ngModel]="values['status']" [disableEntries]="volcopy.magicCopyStats">
             <eg-combobox-entry 
               *ngFor="let stat of volcopy.commonData.acp_status"
               [entryId]="stat.id()" [entryLabel]="stat.name()">