@colijnit/transaction 258.1.19 → 258.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/colijnit-transaction.umd.js +22 -3
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.js +35 -8
- package/esm2015/lib/service/transaction.service.js +1 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +36 -9
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.d.ts +3 -0
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ export class Version {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.name = "@colijnit/transaction";
|
|
5
5
|
this.description = "Colijn IT transaction package";
|
|
6
|
-
this.symVer = "258.1.
|
|
7
|
-
this.publishDate = "19
|
|
6
|
+
this.symVer = "258.1.20";
|
|
7
|
+
this.publishDate = "19/05/2025, 17:34:29";
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvdHJhbnNhY3Rpb24tdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFDUyxTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFDL0IsZ0JBQVcsR0FBRywrQkFBK0IsQ0FBQztRQUM5QyxXQUFNLEdBQUcsVUFBVSxDQUFDO1FBQ3BCLGdCQUFXLEdBQUcsc0JBQXNCLENBQUM7SUFDOUMsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhpcyBmaWxlIGlzIGR5bmFtaWNhbGx5IGNyZWF0ZWQsIGRvIG5vdCBjaGFuZ2UgdGhpc1xuZXhwb3J0IGNsYXNzIFZlcnNpb24ge1xuICBwdWJsaWMgbmFtZSA9IFwiQGNvbGlqbml0L3RyYW5zYWN0aW9uXCI7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbiA9IFwiQ29saWpuIElUIHRyYW5zYWN0aW9uIHBhY2thZ2VcIjtcbiAgcHVibGljIHN5bVZlciA9IFwiMjU4LjEuMjBcIjtcbiAgcHVibGljIHB1Ymxpc2hEYXRlID0gXCIxOS8wNS8yMDI1LCAxNzozNDoyOVwiO1xufSJdfQ==
|
|
@@ -294,8 +294,8 @@ class Version {
|
|
|
294
294
|
constructor() {
|
|
295
295
|
this.name = "@colijnit/transaction";
|
|
296
296
|
this.description = "Colijn IT transaction package";
|
|
297
|
-
this.symVer = "258.1.
|
|
298
|
-
this.publishDate = "19
|
|
297
|
+
this.symVer = "258.1.20";
|
|
298
|
+
this.publishDate = "19/05/2025, 17:34:29";
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
|
|
@@ -52587,6 +52587,9 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
52587
52587
|
}
|
|
52588
52588
|
handleCategoryClick(cat) {
|
|
52589
52589
|
this.activeCategory = cat;
|
|
52590
|
+
if (this.activeCategory.index === 1) {
|
|
52591
|
+
this._getRegisteredPaymentInfo();
|
|
52592
|
+
}
|
|
52590
52593
|
}
|
|
52591
52594
|
showOutstandingAmounts() {
|
|
52592
52595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52665,6 +52668,14 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
52665
52668
|
this._updateChosenAmountToPay();
|
|
52666
52669
|
});
|
|
52667
52670
|
}
|
|
52671
|
+
_getRegisteredPaymentInfo() {
|
|
52672
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52673
|
+
const paymentInfo = yield this._paymentConnectorService.getRegisteredPaymentInfo(this.transactionInfo.uuid);
|
|
52674
|
+
if (paymentInfo) {
|
|
52675
|
+
this.registeredPaymentInfo = paymentInfo;
|
|
52676
|
+
}
|
|
52677
|
+
});
|
|
52678
|
+
}
|
|
52668
52679
|
_getObjectConfiguration(configObjects) {
|
|
52669
52680
|
if (configObjects && configObjects.length > 0) {
|
|
52670
52681
|
this.showPayDownLabel = this.screenConfigService.getObjectConfigurationFor(this.cfgNames.DepositPercentage).immediatelyVisible() ||
|
|
@@ -52864,13 +52875,29 @@ TransactionHeaderPopupPaymentComponent.decorators = [
|
|
|
52864
52875
|
</tbody>
|
|
52865
52876
|
</table>
|
|
52866
52877
|
|
|
52867
|
-
<
|
|
52868
|
-
|
|
52869
|
-
|
|
52870
|
-
|
|
52871
|
-
|
|
52872
|
-
|
|
52873
|
-
|
|
52878
|
+
<div *ngIf="activeCategory.index === 1">
|
|
52879
|
+
<p
|
|
52880
|
+
*ngIf="registeredPaymentInfo && registeredPaymentInfo.payments.length === 0"
|
|
52881
|
+
[textContent]="'NOT_FOUND' | localize">
|
|
52882
|
+
</p>
|
|
52883
|
+
|
|
52884
|
+
<table *ngIf="registeredPaymentInfo && registeredPaymentInfo.payments.length > 0">
|
|
52885
|
+
<thead>
|
|
52886
|
+
<tr>
|
|
52887
|
+
<th class="left" [textContent]="'DESCRIPTION' | localize"></th>
|
|
52888
|
+
<th [textContent]="'AMOUNT2' | localize"></th>
|
|
52889
|
+
<th [textContent]="'DATE' | localize"></th>
|
|
52890
|
+
</tr>
|
|
52891
|
+
</thead>
|
|
52892
|
+
<tbody>
|
|
52893
|
+
<tr *ngFor="let paymentInfo of registeredPaymentInfo.payments">
|
|
52894
|
+
<td class="left">{{ paymentInfo.reference }}</td>
|
|
52895
|
+
<td><strong>{{ paymentInfo.amount | coCurrency:true }}</strong></td>
|
|
52896
|
+
<td>{{ paymentInfo.paymentDateTime | date:'dd-MM-yyyy' }}</td>
|
|
52897
|
+
</tr>
|
|
52898
|
+
</tbody>
|
|
52899
|
+
</table>
|
|
52900
|
+
</div>
|
|
52874
52901
|
</div>
|
|
52875
52902
|
</co-form>
|
|
52876
52903
|
|