<div class="me-2">
<ng-container [ngSwitch]="li.state()">
<div i18n
- class="p-1 text-dark border border-dark bg-light rounded-pill"
+ class="p-1 text-dark border border-dark bg-light badge rounded-pill"
*ngSwitchCase="'new'">New</div>
<div i18n
- class="p-1 text-dark border border-dark bg-light rounded-pill"
+ class="p-1 text-dark border border-dark bg-light badge rounded-pill"
*ngSwitchCase="'selector-ready'">Selector-Ready</div>
<div i18n
- class="p-1 text-dark border border-dark bg-light rounded-pill"
+ class="p-1 text-dark border border-dark bg-light badge rounded-pill"
*ngSwitchCase="'order-ready'">Order-Ready</div>
<div i18n
- class="p-1 text-dark border border-dark bg-light rounded-pill"
+ class="p-1 text-dark border border-dark bg-light badge rounded-pill"
*ngSwitchCase="'approved'">Approved</div>
<div i18n
- class="p-1 text-dark border border-dark bg-light rounded-pill"
+ class="p-1 text-dark border border-dark bg-light badge rounded-pill"
*ngSwitchCase="'pending-order'">Pending-Order</div>
<div i18n
- class="p-1 text-primary border border-primary bg-light rounded-pill"
+ class="p-1 text-primary border border-primary bg-light badge rounded-pill"
*ngSwitchCase="'on-order'">On-Order</div>
<div i18n
- class="p-1 text-success border border-success bg-light rounded-pill"
+ class="p-1 text-success border border-success bg-light badge rounded-pill"
*ngSwitchCase="'received'">Received</div>
<div i18n
- class="p-1 text-danger border border-danger bg-light rounded-pill"
+ class="p-1 text-danger border border-danger bg-light badge rounded-pill"
*ngSwitchCase="'cancelled'">{{li.cancel_reason().label()}}</div>
</ng-container>
</div>
<div *ngIf="fineTally > 0">
<span class="me-2" i18n>Fine Tally: </span>
- <span class="rounded-pill bg-danger">{{fineTally | currency}}</span>
+ <span class="badge rounded-pill bg-danger">{{fineTally | currency}}</span>
</div>
<!-- doc_id below because checkin returns an MVR -->
<div ngbDropdownMenu>
<a ngbDropdownItem (click)="toggleMod('no_precat_alert')">
<span *ngIf="modifiers.no_precat_alert"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.no_precat_alert"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Ignore Pre-cataloged Items</span>
</a>
<a ngbDropdownItem (click)="toggleMod('noop')">
<span *ngIf="modifiers.noop"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.noop"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Suppress Holds and Transits</span>
</a>
<a ngbDropdownItem (click)="toggleMod('void_overdues')">
<span *ngIf="modifiers.void_overdues"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.void_overdues"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Amnesty Mode</span>
</a>
<a ngbDropdownItem (click)="toggleMod('auto_print_holds_transits')">
<span *ngIf="modifiers.auto_print_holds_transits"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.auto_print_holds_transits"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span>Auto-Print Hold and Transit Slips</span>
</a>
<a ngbDropdownItem (click)="toggleMod('clear_expired')">
<span *ngIf="modifiers.clear_expired"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.clear_expired"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Clear Holds Shelf</span>
</a>
<a ngbDropdownItem (click)="toggleMod('retarget_holds')">
<span *ngIf="modifiers.retarget_holds"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.retarget_holds"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Retarget Local Holds</span>
</a>
<a ngbDropdownItem (click)="toggleMod('retarget_holds_all')">
<span *ngIf="modifiers.retarget_holds_all"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.retarget_holds_all"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Retarget All Statuses</span>
</a>
<a ngbDropdownItem (click)="toggleMod('hold_as_transit')">
<span *ngIf="modifiers.hold_as_transit"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.hold_as_transit"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Capture Local Holds As Transits</span>
</a>
<a ngbDropdownItem (click)="toggleMod('manual_float')">
<span *ngIf="modifiers.manual_float"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.manual_float"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Manual Floating Active</span>
</a>
<a ngbDropdownItem (click)="toggleMod('do_inventory_update')">
<span *ngIf="modifiers.do_inventory_update"
- class="rounded-pill bg-success me-2">✓</span>
+ class="badge rounded-pill bg-success me-2">✓</span>
<span *ngIf="!modifiers.do_inventory_update"
- class="rounded-pill bg-warning me-2">✗</span>
+ class="badge rounded-pill bg-warning me-2">✗</span>
<span i18n>Update Inventory</span>
</a>
</div>