mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
#4120 Marker Bezahlt über KulturPass in der Ergebnisliste
This commit is contained in:
@@ -2,10 +2,18 @@
|
||||
{{ item?.compartmentCode }}
|
||||
{{ item.compartmentInfo && '_' + item.compartmentInfo }}
|
||||
</div>
|
||||
<div class="goods-in-out-order-group-item-paid" *ngIf="item.features?.paid">
|
||||
<div class="goods-in-out-order-group-item-paid" *ngIf="item.features?.paid && !isKulturpass">
|
||||
<ui-icon size="12px" icon="check"></ui-icon>
|
||||
<strong> {{ item.features?.paid }} </strong>
|
||||
</div>
|
||||
<div class="goods-in-out-order-group-item-paid text-[#26830C]" *ngIf="isKulturpass">
|
||||
<svg class="fill-current mr-2" xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 -960 960 960" width="22">
|
||||
<path
|
||||
d="M880-740v520q0 24-18 42t-42 18H140q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h680q24 0 42 18t18 42ZM140-631h680v-109H140v109Zm0 129v282h680v-282H140Zm0 282v-520 520Z"
|
||||
/>
|
||||
</svg>
|
||||
<strong> Bezahlt über KulturPass </strong>
|
||||
</div>
|
||||
<div class="goods-in-out-order-group-item-details">
|
||||
<div class="goods-in-out-order-group-item-details-thumbnail">
|
||||
<img loading="lazy" *ngIf="item?.product?.ean | productImage; let productImage" [src]="productImage" [alt]="item?.product?.name" />
|
||||
|
||||
@@ -84,6 +84,10 @@ export class GoodsInOutOrderGroupItemComponent extends ComponentStore<GoodsInOut
|
||||
return (this.item as any)?.cruda;
|
||||
}
|
||||
|
||||
get isKulturpass() {
|
||||
return this.item?.['externalRepositories']?.includes('kulturpass');
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super({
|
||||
selected: false,
|
||||
|
||||
Reference in New Issue
Block a user