@colijnit/transaction 257.1.97 → 257.1.98
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 +14 -10
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction-259.1.32.tgz +0 -0
- package/esm2015/lib/component/core/base/components/voucher-code-pending-reason-dialog/voucher-code-pending-reason-dialog.component.js +49 -0
- package/esm2015/lib/component/core/base/components/voucher-code-pending-reason-dialog/voucher-code-pending-reason-dialog.module.js +25 -0
- package/esm2015/lib/component/relation/relation-general-contact-person-dialog/relation-general-contact-person-dialog.component.js +66 -0
- package/esm2015/lib/component/relation/relation-general-contact-person-dialog/relation-general-contact-person-dialog.module.js +30 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-overview-button-bar-button.component.js +122 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-quotation-button-bar-button.component.js +136 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/components/transaction-cash-register-payment-voucher-popup.component.js +99 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/components/transaction-cash-register-payment-voucher.component.js +107 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/components/transaction-cash-register-payment-voucher.module.js +39 -0
- package/esm2015/lib/component/transaction-header-handled-by/transaction-header-handled-by.component.js +37 -0
- package/esm2015/lib/component/transaction-header-handled-by/transaction-header-handled-by.module.js +21 -0
- package/esm2015/lib/component/transaction-line/transaction-line-toolbar/transaction-line-toolbar.component.js +145 -0
- package/esm2015/lib/component/transaction-line/transaction-line-toolbar/transaction-line-toolbar.module.js +26 -0
- package/esm2015/lib/component/transaction-sales-person-input/transaction-sales-person-input.component.js +77 -0
- package/esm2015/lib/component/transaction-sales-person-input/transaction-sales-person-input.module.js +38 -0
- package/esm2015/lib/component/transaction-totals/transaction-confirm-totals.component.js +54 -0
- package/esm2015/lib/model/voucher-type.enum.js +6 -0
- package/esm2015/lib/service/transaction.service.js +6 -3
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +7 -4
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/_layout.scss +4 -0
- package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/_material-definition.scss +0 -0
- package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/_theme.scss +4 -0
- package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/material.scss +4 -0
- package/lib/component/core/base/components/voucher-code-pending-reason-dialog/voucher-code-pending-reason-dialog.component.d.ts +9 -0
- package/lib/component/core/base/components/voucher-code-pending-reason-dialog/voucher-code-pending-reason-dialog.module.d.ts +2 -0
- package/lib/component/relation/relation-general-contact-person-dialog/relation-general-contact-person-dialog.component.d.ts +15 -0
- package/lib/component/relation/relation-general-contact-person-dialog/relation-general-contact-person-dialog.module.d.ts +2 -0
- package/lib/component/relation/relation-general-contact-person-dialog/style/_layout.scss +8 -0
- package/lib/component/relation/relation-general-contact-person-dialog/style/_material-definition.scss +0 -0
- package/lib/component/relation/relation-general-contact-person-dialog/style/_theme.scss +4 -0
- package/lib/component/relation/relation-general-contact-person-dialog/style/material.scss +4 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-overview-button-bar-button.component.d.ts +32 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-quotation-button-bar-button.component.d.ts +36 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/components/transaction-cash-register-payment-voucher-popup.component.d.ts +21 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/components/transaction-cash-register-payment-voucher.component.d.ts +29 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/components/transaction-cash-register-payment-voucher.module.d.ts +2 -0
- package/lib/component/transaction-header-handled-by/style/_layout.scss +28 -0
- package/lib/component/transaction-header-handled-by/style/_material-definition.scss +15 -0
- package/lib/component/transaction-header-handled-by/style/_theme.scss +5 -0
- package/lib/component/transaction-header-handled-by/style/material.scss +4 -0
- package/lib/component/transaction-header-handled-by/transaction-header-handled-by.component.d.ts +14 -0
- package/lib/component/transaction-header-handled-by/transaction-header-handled-by.module.d.ts +2 -0
- package/lib/component/transaction-line/transaction-line-toolbar/style/_layout.scss +46 -0
- package/lib/component/transaction-line/transaction-line-toolbar/style/_material-definition.scss +17 -0
- package/lib/component/transaction-line/transaction-line-toolbar/style/_theme.scss +25 -0
- package/lib/component/transaction-line/transaction-line-toolbar/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-line-toolbar/transaction-line-toolbar.component.d.ts +39 -0
- package/lib/component/transaction-line/transaction-line-toolbar/transaction-line-toolbar.module.d.ts +2 -0
- package/lib/component/transaction-sales-person-input/style/_layout.scss +55 -0
- package/lib/component/transaction-sales-person-input/style/_material-definition.scss +26 -0
- package/lib/component/transaction-sales-person-input/style/_theme.scss +16 -0
- package/lib/component/transaction-sales-person-input/style/material.scss +4 -0
- package/lib/component/transaction-sales-person-input/transaction-sales-person-input.component.d.ts +19 -0
- package/lib/component/transaction-sales-person-input/transaction-sales-person-input.module.d.ts +2 -0
- package/lib/component/transaction-totals/transaction-confirm-totals.component.d.ts +14 -0
- package/lib/model/voucher-type.enum.d.ts +4 -0
- package/package.json +1 -1
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
function Version() {
|
|
34
34
|
this.name = "@colijnit/transaction";
|
|
35
35
|
this.description = "Colijn IT transaction package";
|
|
36
|
-
this.symVer = "257.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "257.1.98";
|
|
37
|
+
this.publishDate = "11/09/2025, 18:02:22";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -16536,32 +16536,36 @@
|
|
|
16536
16536
|
return __generator(this, function (_a) {
|
|
16537
16537
|
switch (_a.label) {
|
|
16538
16538
|
case 0:
|
|
16539
|
-
if (!(this.currentTransaction && this.currentTransaction.transactionInfo && this.currentTransaction.transactionInfo.id)) return [3 /*break*/,
|
|
16539
|
+
if (!(this.currentTransaction && this.currentTransaction.transactionInfo && this.currentTransaction.transactionInfo.id)) return [3 /*break*/, 7];
|
|
16540
16540
|
return [4 /*yield*/, this.tryToLockTransaction(this.currentTransaction.transactionInfo.id, this.currentTransaction.transactionInfo.version)];
|
|
16541
16541
|
case 1:
|
|
16542
16542
|
lockSuccess = _a.sent();
|
|
16543
|
-
if (!lockSuccess) return [3 /*break*/,
|
|
16543
|
+
if (!lockSuccess) return [3 /*break*/, 7];
|
|
16544
16544
|
return [4 /*yield*/, this.dialogService.showYesNo('DELETE', 'DELETE_TRANSACTION_QUESTION')];
|
|
16545
16545
|
case 2:
|
|
16546
16546
|
response = _a.sent();
|
|
16547
16547
|
shouldDelete = response.button === AppPopupButtonType.Yes;
|
|
16548
|
-
if (!shouldDelete) return [3 /*break*/,
|
|
16548
|
+
if (!shouldDelete) return [3 /*break*/, 7];
|
|
16549
16549
|
return [4 /*yield*/, this.connector.deleteTransactionByUuId(this.currentTransaction.transactionInfo.uuid)];
|
|
16550
16550
|
case 3:
|
|
16551
16551
|
response_2 = _a.sent();
|
|
16552
|
+
success = true;
|
|
16553
|
+
if (!!response_2.isSuccess) return [3 /*break*/, 5];
|
|
16552
16554
|
return [4 /*yield*/, this.handleHeaderOperationStatuses(response_2, false)];
|
|
16553
16555
|
case 4:
|
|
16554
16556
|
success = _a.sent();
|
|
16555
|
-
|
|
16556
|
-
return [4 /*yield*/, this.commit()];
|
|
16557
|
+
_a.label = 5;
|
|
16557
16558
|
case 5:
|
|
16559
|
+
if (!success) return [3 /*break*/, 7];
|
|
16560
|
+
return [4 /*yield*/, this.commit()];
|
|
16561
|
+
case 6:
|
|
16558
16562
|
success = _a.sent();
|
|
16559
16563
|
if (success) {
|
|
16564
|
+
this.resetCurrentTransaction();
|
|
16560
16565
|
this.transactionEventService.transactionDeleted.next();
|
|
16561
|
-
this.currentTransaction = undefined;
|
|
16562
16566
|
}
|
|
16563
|
-
_a.label =
|
|
16564
|
-
case
|
|
16567
|
+
_a.label = 7;
|
|
16568
|
+
case 7: return [2 /*return*/];
|
|
16565
16569
|
}
|
|
16566
16570
|
});
|
|
16567
16571
|
});
|