diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d7cc5f0c..43dbb65f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ the detailed section referring to by linking pull requests or issues. #### Patch +- Data Offer details now display the contract ID for each contract offer + ## [v4.1.3] - 2024-09-03 ### Overview diff --git a/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.html b/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.html index d1658d1a6..4cfc61cc4 100644 --- a/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.html +++ b/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.html @@ -21,6 +21,13 @@ + + diff --git a/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.ts b/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.ts index 263681d4d..3c09ee309 100644 --- a/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.ts +++ b/src/app/component-library/catalog/contract-offer-mini-list/contract-offer-mini-list.component.ts @@ -8,6 +8,7 @@ import { import {DataOffer} from 'src/app/core/services/models/data-offer'; import {ContractNegotiationService} from '../../../core/services/contract-negotiation.service'; import {ContractOffer} from '../../../core/services/models/contract-offer'; +import {PropertyGridField} from '../../property-grid/property-grid/property-grid-field'; @Component({ selector: 'contract-offer-mini-list', @@ -25,4 +26,15 @@ export class ContractOfferMiniListComponent { negotiateClick = new EventEmitter(); constructor(public contractNegotiationService: ContractNegotiationService) {} + + contractOfferIdGroup(id: string): PropertyGridField[] { + return [ + { + icon: 'category', + label: 'Contract Offer Id', + text: this.data.contractOffers.find((it) => it.contractOfferId == id) + ?.contractOfferId, + }, + ]; + } }