@if (items$ | async) {} @if (requiredData$ | async) {} @if (detail$ | async) {} @if (saveResult$ | async) {} @if (deleteResult$ | async) {} @if (counterparties$ | async) {} @if (productGroups$ | async) {} @if (counterpartyChanged$ | async) {} @if (overLimitExceptionChange$ | async) {} @if (approvedLimitChange$ | async) {} @if (exceptionLimitChange$ | async) {} @if (exportAction$ | async) {}
@if ((requiredData$ | async)?.hasModifyPermission) { Add New }
@if(detailOpened$ | async) { } @if (detailOpened$ | async) { @if (detail$ | async) {
@if(detailLoading$ | async) { }
Parent Counterparty
Over Limit Exception?
Total Credit Limit
Approved Credit Limit
Exception Amount
Exception Expiration
Approved Date
Reviewed Date
Expiration Date
Product Group
Associated Counterparties
  Add
@for (productId of this.distinctProductIds; track productId) {
{{getProductGroupName(productId)}}
Counterparty
Credit Amount
Collaterals
@for (product of this.productGroupControlsDictionary.get(productId); track product) { }
}
}
@if (detailForm.value.id !== 0) { Delete }
@if (detailForm.value.id !== 0) { Save New }
Save
Cancel
} @if ((approvalDocsOpened$ | async)) { } @if ((creditCollateralsOpened$ | async)) { }