LP#1942220: (follow-up) show cancel link only for on-order POs
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 9 Feb 2022 23:07:02 +0000 (18:07 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 9 Feb 2022 23:07:02 +0000 (18:07 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.html

index ab22d6e..51dcfdf 100644 (file)
         <span class="material-icons small mr-1">print</span>
         <span i18n>Print</span>
       </a>
-      <ng-container *ngIf="po().state() == 'on-order' || po().state() == 'pending'">
+      <ng-container *ngIf="po().state() == 'on-order'">
         <span class="pl-2 pr-2" i18n> | </span>
         <a (click)="cancelPo()" href="javascript:;" class="label-with-material-icon">
           <span class="material-icons small mr-1">cancel</span>