@colijnit/transaction 261.20.21 → 261.20.22
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/fesm2022/colijnit-transaction.mjs +810 -55
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +107 -14
- package/lib/component/transaction-line/transaction-interbranch-receive-goods-line/style/_layout.scss +16 -0
- package/lib/component/transaction-line/transaction-interbranch-receive-goods-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-interbranch-receive-goods-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-interbranch-receive-goods-line/style/material.scss +5 -0
- package/package.json +1 -1
|
@@ -347,8 +347,8 @@ import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date
|
|
|
347
347
|
class Version {
|
|
348
348
|
name = "@colijnit/transaction";
|
|
349
349
|
description = "Colijn IT transaction package";
|
|
350
|
-
symVer = "261.20.
|
|
351
|
-
publishDate = "
|
|
350
|
+
symVer = "261.20.22";
|
|
351
|
+
publishDate = "17-3-2026, 18:37:40";
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
class CheckoutModuleService extends BaseModuleService {
|
|
@@ -587,6 +587,7 @@ var Icon;
|
|
|
587
587
|
Icon["Purchase"] = "purchase";
|
|
588
588
|
Icon["RegularBoxesPackingCircleCheck"] = "regular_boxes_packing_circle_check";
|
|
589
589
|
Icon["RegularBoxOpenCircleCheck"] = "regular_box_open_circle_check";
|
|
590
|
+
Icon["RegularBoxOpenFullCircleCheck"] = "regular_box_open_full_circle_check";
|
|
590
591
|
Icon["RegularCalendarDayLock"] = "regular_calendar_day_lock";
|
|
591
592
|
Icon["RegularCartFlatbedBoxesCircleCheck"] = "regular_cart_flatbed_boxes_circle_check";
|
|
592
593
|
Icon["RegularCartShoppingCheck"] = "regular_cart_shopping_check";
|
|
@@ -1291,6 +1292,7 @@ const IconSvg = {
|
|
|
1291
1292
|
"purchase": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><g opacity=\"0.75\"><polygon points=\"33.34 25.04 27.34 28.52 33.35 31.97 39.34 28.49 33.34 25.04\" fill=\"#484f60\"/><polygon points=\"33.99 33.08 39.99 29.6 40 36.53 34.01 40.01 33.99 33.08\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"26.72 36.55 26.71 29.63 32.71 33.08 32.72 40.01 26.72 36.55\" fill=\"#484f60\" opacity=\"0.25\"/><polygon points=\"12.78 28.54 18.79 32 24.78 28.52 18.77 25.07 12.78 28.54\" fill=\"#484f60\"/><polygon points=\"19.43 33.1 25.42 29.63 25.44 36.56 19.44 40.03 19.43 33.1\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"12.15 36.58 12.14 29.65 18.15 33.11 18.16 40.04 12.15 36.58\" fill=\"#484f60\" opacity=\"0.25\"/><polygon points=\"32.04 15.89 26.03 12.44 22.09 14.73 27.52 14.73 24.03 18.21 26.05 19.37 32.04 15.89\" fill=\"#484f60\"/><polygon points=\"32.68 17 26.69 20.48 26.7 27.41 32.7 23.93 32.68 17\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"23.1 19.15 19.41 22.83 19.41 23.95 25.42 27.41 25.41 20.48 23.1 19.15\" fill=\"#484f60\" opacity=\"0.25\"/></g><polygon points=\"19.03 16.34 19.03 10.3 14.61 10.3 14.61 16.34 14.61 16.34 10 16.34 16.82 23.16 23.64 16.34 19.03 16.34\" fill=\"#484f60\"/></svg>",
|
|
1292
1293
|
"regular_boxes_packing_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 192c0-17.7 14.3-32 32-32c106.7 0 213.3 0 320 0c17.7 0 32 14.3 32 32c0 13.4 0 26.8 0 40.2c-39.1 32.3-64 81.1-64 135.8c0 37.6 11.8 72.5 32 101.2c0 3.6 0 7.2 0 10.8c0 17.7-14.3 32-32 32c-85.4 0-170.7 0-256 0c-17.7 0-32-14.3-32-32c0-58.7 0-117.3 0-176c-17.7 0-32-14.3-32-32c0-26.7 0-53.3 0-80zm48 16c0 16 0 32 0 48c10.7 0 21.3 0 32 0c74.7 0 149.3 0 224 0c10.7 0 21.3 0 32 0c0-16 0-32 0-48L48 208zm32 96c0 53.3 0 106.7 0 160c74.7 0 149.3 0 224 0c0-53.3 0-106.7 0-160L80 304zm48 56c0-13.3 10.7-24 24-24c26.7 0 53.3 0 80 0c13.3 0 24 10.7 24 24s-10.7 24-24 24c-26.7 0-53.3 0-80 0c-13.3 0-24-10.7-24-24zM256 48c0-26.5 21.5-48 48-48c96 0 192 0 288 0c26.5 0 48 21.5 48 48c0 72.9 0 145.9 0 218.8c-12.9-18.3-29.2-34-48-46.3c0-57.5 0-115 0-172.5L304 48c0 26.7 0 53.3 0 80c-16 0-32 0-48 0c0-26.7 0-53.3 0-80zm96 320c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm29.3 144c1-2.8 1.7-5.7 2.2-8.7c3.7 3 7.4 5.9 11.3 8.7c-4.5 0-9 0-13.5 0zm47.4-155.3c-6.2 6.2-6.2 16.4 0 22.6c13.3 13.3 26.7 26.7 40 40c6.2 6.2 16.4 6.2 22.6 0c24-24 48-48 72-72c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-20.2 20.2-40.5 40.5-60.7 60.7c-9.6-9.6-19.1-19.1-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0z\"/></svg>",
|
|
1293
1294
|
"regular_box_open_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M17.2 125.5L58.9 42.1c3-6 9.6-9.5 16.3-8.7C156.8 43.6 238.4 53.8 320 64c-27.8 46.3-55.7 92.7-83.5 139c-7.4 12.4-22.3 18.3-36.2 14.3C145.9 201.7 91.4 186.2 37 170.6c-19.2-5.5-28.8-27.2-19.8-45.1zM64 211.6l48 13.7c0 51.1 0 102.1 0 153.2c61.3 15.3 122.7 30.7 184 46c0-80.2 0-160.3 0-240.5c0-13.3 10.7-24 24-24s24 10.7 24 24c0 31.7 0 63.5 0 95.2c-15.3 26.1-24 56.4-24 88.8c0 38.7 12.5 74.6 33.8 103.6c-6.1 1.5-12.2 3-18.3 4.6c-10.1 2.5-20.8 2.5-31 0c-68-17-136.1-34-204.1-51C79 419.8 64 400.6 64 378.6c0-55.7 0-111.3 0-167zM320 64L564.8 33.4c6.7-.9 13.3 2.6 16.3 8.7c13.9 27.8 27.7 55.6 41.6 83.4c9 17.9-.5 39.6-19.8 45.1c-27.1 7.8-54.2 15.5-81.3 23.3c-8.4-1.2-16.9-1.9-25.6-1.9c-30.1 0-58.5 7.6-83.3 20.9c-3.7-2.5-6.9-5.9-9.3-9.9c-27.8-46.3-55.6-92.7-83.4-139zm32 304c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm76.7-11.3c-6.2 6.2-6.2 16.4 0 22.6c13.3 13.3 26.7 26.7 40 40c6.2 6.2 16.4 6.2 22.6 0c24-24 48-48 72-72c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-20.2 20.2-40.5 40.5-60.7 60.7c-9.6-9.6-19.1-19.1-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0z\"/></svg>",
|
|
1295
|
+
"regular_box_open_full_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M17.2 253.5l41.7-83.4c3-6 9.6-9.5 16.3-8.7L320 192 236.5 331c-7.4 12.4-22.3 18.3-36.2 14.3L37 298.6c-19.2-5.5-28.8-27.2-19.8-45.1zM64 339.6l48 13.7 0 57.2 184 46 0-144.5c0-13.3 10.7-24 24-24 6.2 0 11.9 2.4 16.2 6.2-10.4 22.4-16.2 47.4-16.2 73.8 0 51.4 22.1 97.6 57.2 129.8l-41.7 10.4c-10.1 2.5-20.8 2.5-31 0l-204.1-51C79 451.8 64 432.6 64 410.6l0-71zM128 128C128 57.3 185.3 0 256 0 325.6 0 382.2 55.6 384 124.8l35.1-93.6C428.4 6.3 456-6.2 480.9 3.1l-.1 0c24.8 9.3 37.4 37 28.1 61.8l-27.5 73.4-161.4 20.2-7.2-.9c4.6-8.9 7.2-18.9 7.2-29.6 0-35.3-28.7-64-64-64s-64 28.7-64 64c0 5.1 .6 10 1.7 14.7l-65.5-8.2c-.1-2.2-.2-4.3-.2-6.5zm192 64l244.8-30.6c6.7-.9 13.3 2.6 16.3 8.7l34.3 68.7c-31.4-29-73.3-46.8-119.4-46.8-55.3 0-104.6 25.5-136.8 65.3L320 192zm32 176c0-79.5 64.5-144 144-144s144 64.5 144 144-64.5 144-144 144-144-64.5-144-144zm76.7-11.3c-6.2 6.2-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-60.7 60.7-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0z\"/></svg>",
|
|
1294
1296
|
"regular_calendar_day_lock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 128C0 92.7 28.7 64 64 64l40 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 144 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 40 0c35.3 0 64 28.7 64 64l0 16 0 48 0 1.6c-19.8 20.2-32 47.9-32 78.4l0 24.6c-6 3.5-11.4 7.9-16 13.1l0-117.7-352 0 0 256c0 8.8 7.2 16 16 16l320 0 0 15.9c0 11.5 3 22.2 8.3 31.6-2.7 .4-5.5 .5-8.3 .5L64 512c-35.3 0-64-28.7-64-64l0-256 0-48 0-16zM96 272c0-8.8 7.2-16 16-16l96 0c8.8 0 16 7.2 16 16l0 96c0 8.8-7.2 16-16 16l-96 0c-8.8 0-16-7.2-16-16l0-96zm320 80c0-17.7 14.3-32 32-32l0-48c0-44.2 35.8-80 80-80s80 35.8 80 80l0 48c17.7 0 32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32l0-128zm80-80l0 48 64 0 0-48c0-17.7-14.3-32-32-32s-32 14.3-32 32z\"/></svg>",
|
|
1295
1297
|
"regular_cart_flatbed_boxes_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48c16 0 32 0 48 0c4.4 0 8 3.6 8 8c0 117.4 0 234.7 0 352c0 30.9 25.1 56 56 56c8 0 16 0 24 0c0 26.5 21.5 48 48 48s48-21.5 48-48c30.8 0 61.7 0 92.5 0c-9.6-14.6-17-30.8-21.9-48c-39.5 0-79.1 0-118.6 0c-24 0-48 0-72 0c-4.4 0-8-3.6-8-8c0-117.4 0-234.7 0-352c0-30.9-25.1-56-56-56C56 0 40 0 24 0zM240 80l128 0c0 55.7 0 111.5 0 167.2c13.8-14.6 30-26.8 48-36c0-43.7 0-87.5 0-131.2c0-26.5-21.5-48-48-48c-42.7 0-85.3 0-128 0c-26.5 0-48 21.5-48 48c0 74.7 0 149.3 0 224c0 26.5 21.5 48 48 48c26.9 0 53.8 0 80.7 0c1.5-16.8 5.4-32.9 11.3-48c-30.7 0-61.3 0-92 0c0-74.7 0-149.3 0-224zm320 0l0 64c-21.3 0-42.7 0-64 0c0-21.3 0-42.7 0-64c21.3 0 42.7 0 64 0zM496 32c-26.5 0-48 21.5-48 48c0 21.3 0 42.7 0 64c0 26.5 21.5 48 48 48c21.3 0 42.7 0 64 0c26.5 0 48-21.5 48-48c0-21.3 0-42.7 0-64c0-26.5-21.5-48-48-48c-21.3 0-42.7 0-64 0zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm211.3-20.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-20.2 20.2-40.5 40.5-60.7 60.7c-9.6-9.6-19.1-19.1-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6c13.3 13.3 26.7 26.7 40 40c6.2 6.2 16.4 6.2 22.6 0c24-24 48-48 72-72z\"/></svg>",
|
|
1296
1298
|
"regular_cart_shopping_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 24C0 10.7 10.7 0 24 0L69.5 0C91.6 0 111 12.8 120.1 32l411 0c26.3 0 45.5 25 38.6 50.4L538.8 197.2c-13.7-3.4-28-5.2-42.8-5.2-1.8 0-3.7 0-5.5 .1l30.2-112.1-389.6 0 30.5 160 213.6 0c-14.6 13.8-26.8 30-36 48l-168.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5l123.2 0c-1.9 10.4-2.9 21.1-2.9 32 0 5.4 .2 10.7 .7 16l-121 0c-34.5 0-64.2-24.5-70.7-58.5L77.4 54.5c-.8-3.8-4.1-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM128 464c0-26.5 21.5-48 48-48s48 21.5 48 48-21.5 48-48 48-48-21.5-48-48zm224-96c0-79.5 64.5-144 144-144s144 64.5 144 144-64.5 144-144 144-144-64.5-144-144zm76.7-11.3c-6.2 6.2-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-60.7 60.7-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0z\"/></svg>",
|
|
@@ -15942,7 +15944,7 @@ class TransactionButtonBarButtonComponent extends TransactionButtonBarButtonBase
|
|
|
15942
15944
|
this._checkAndCreateComponent();
|
|
15943
15945
|
}
|
|
15944
15946
|
ngOnDestroy() {
|
|
15945
|
-
if (this._componentRef && this._componentRef.instance) {
|
|
15947
|
+
if (this._componentRef && this._componentRef.instance && this._componentRef.instance.ngOnDestroy) {
|
|
15946
15948
|
this._componentRef.instance.ngOnDestroy();
|
|
15947
15949
|
}
|
|
15948
15950
|
}
|
|
@@ -49172,7 +49174,7 @@ class TransactionReceiveGoodsLineComponent extends TransactionReceiveGoodsLineBa
|
|
|
49172
49174
|
[screenConfigurationObject]="cfgNames.LineWarehouse"
|
|
49173
49175
|
[inputLabel]="true"
|
|
49174
49176
|
></co-transaction-line-warehouse-button>
|
|
49175
|
-
@if (!
|
|
49177
|
+
@if (!transactionLine.preReceive) {
|
|
49176
49178
|
<co-transaction-line-warehouse-location-button
|
|
49177
49179
|
class="transaction-field-wrapper medium"
|
|
49178
49180
|
[screenConfigurationObject]="cfgNames.LineWarehouseLocationReceived"
|
|
@@ -49308,7 +49310,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
49308
49310
|
[screenConfigurationObject]="cfgNames.LineWarehouse"
|
|
49309
49311
|
[inputLabel]="true"
|
|
49310
49312
|
></co-transaction-line-warehouse-button>
|
|
49311
|
-
@if (!
|
|
49313
|
+
@if (!transactionLine.preReceive) {
|
|
49312
49314
|
<co-transaction-line-warehouse-location-button
|
|
49313
49315
|
class="transaction-field-wrapper medium"
|
|
49314
49316
|
[screenConfigurationObject]="cfgNames.LineWarehouseLocationReceived"
|
|
@@ -52617,7 +52619,6 @@ class TransactionButtonBarModule {
|
|
|
52617
52619
|
{ title: 'ORDERING_STICKER', icon: Icon.PrintPriceTag, category: TransactionTypeCategory.PurchaseOrderSticker, cfgName: TransactionCfgName.RubricOrdering },
|
|
52618
52620
|
{ title: 'TRANSPORT', icon: Icon.TruckContainerSolid, category: TransactionTypeCategory.PurchaseOrderTransport, cfgName: TransactionCfgName.RubricTransport },
|
|
52619
52621
|
{ title: 'RECEIVED', icon: Icon.CartFlatbedBoxesSolid, category: TransactionTypeCategory.PurchaseOrderReceivedGoods, component: TransactionPurchaseReceiveGoodsButtonBarButtonComponent, cfgName: TransactionCfgName.RubricReceived },
|
|
52620
|
-
{ title: 'INVOICE_CHECK', icon: Icon.Invoice, category: TransactionTypeCategory.PurchaseOrderInvoiceCheck, component: TransactionPurchaseInvoiceButtonBarButtonComponent, cfgName: TransactionCfgName.RubricInvoiceCheck }
|
|
52621
52622
|
]],
|
|
52622
52623
|
[TransactionKind.SalesOrder, [
|
|
52623
52624
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.SalesOrderOverview, component: TransactionSalesOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
|
|
@@ -52628,6 +52629,7 @@ class TransactionButtonBarModule {
|
|
|
52628
52629
|
{ title: 'ACTIVITIES', icon: Icon.UserRegular, category: TransactionTypeCategory.SalesOrderActivities, component: TransactionActivitiesButtonBarButtonComponent, cfgName: TransactionCfgName.RubricActivities },
|
|
52629
52630
|
{ title: 'PLANNING', icon: Icon.TruckMovingRegular, category: TransactionTypeCategory.SalesOrderPlanning, component: TransactionSalesPlanningButtonBarButtonComponent, cfgName: TransactionCfgName.RubricPlanning },
|
|
52630
52631
|
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckRegular, category: TransactionTypeCategory.SalesOrderDeliveryNote, component: TransactionSalesDeliveryButtonBarButtonComponent, cfgName: TransactionCfgName.RubricDelivery },
|
|
52632
|
+
{ title: 'INVOICE', icon: Icon.Invoice, category: TransactionTypeCategory.SalesOrderInvoice, component: TransactionSalesInvoiceButtonBarButtonComponent, cfgName: TransactionCfgName.RubricInvoice }
|
|
52631
52633
|
]],
|
|
52632
52634
|
[TransactionKind.SalesQuotation, [
|
|
52633
52635
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.SalesOrderQuotation, component: TransactionSalesQuotationButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
|
|
@@ -52643,6 +52645,7 @@ class TransactionButtonBarModule {
|
|
|
52643
52645
|
{ title: 'LOGISTICS', icon: Icon.BoxesPackingRegular, category: TransactionTypeCategory.ServiceOrderLogistics, component: TransactionSalesPickingButtonBarButtonComponent, customClick: true, cfgName: TransactionCfgName.RubricLogistics, isVisibleFn: (transactionService) => transactionService.logisticsButtonVisible() },
|
|
52644
52646
|
{ title: 'PLANNING', icon: Icon.TruckMovingRegular, category: TransactionTypeCategory.ServiceOrderPlanning, cfgName: TransactionCfgName.RubricPlanning },
|
|
52645
52647
|
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckRegular, category: TransactionTypeCategory.ServiceOrderDeliveryNote, component: TransactionSalesDeliveryButtonBarButtonComponent, cfgName: TransactionCfgName.RubricDelivery },
|
|
52648
|
+
{ title: 'INVOICE', icon: Icon.Invoice, category: TransactionTypeCategory.ServiceOrderInvoice, component: TransactionSalesInvoiceButtonBarButtonComponent, cfgName: TransactionCfgName.RubricInvoice }
|
|
52646
52649
|
]],
|
|
52647
52650
|
[TransactionKind.InternalDelivery, [
|
|
52648
52651
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.InterbranchOrderOverview, component: TransactionSalesOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
|
|
@@ -52706,7 +52709,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
52706
52709
|
{ title: 'ORDERING_STICKER', icon: Icon.PrintPriceTag, category: TransactionTypeCategory.PurchaseOrderSticker, cfgName: TransactionCfgName.RubricOrdering },
|
|
52707
52710
|
{ title: 'TRANSPORT', icon: Icon.TruckContainerSolid, category: TransactionTypeCategory.PurchaseOrderTransport, cfgName: TransactionCfgName.RubricTransport },
|
|
52708
52711
|
{ title: 'RECEIVED', icon: Icon.CartFlatbedBoxesSolid, category: TransactionTypeCategory.PurchaseOrderReceivedGoods, component: TransactionPurchaseReceiveGoodsButtonBarButtonComponent, cfgName: TransactionCfgName.RubricReceived },
|
|
52709
|
-
{ title: 'INVOICE_CHECK', icon: Icon.Invoice, category: TransactionTypeCategory.PurchaseOrderInvoiceCheck, component: TransactionPurchaseInvoiceButtonBarButtonComponent, cfgName: TransactionCfgName.RubricInvoiceCheck }
|
|
52710
52712
|
]],
|
|
52711
52713
|
[TransactionKind.SalesOrder, [
|
|
52712
52714
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.SalesOrderOverview, component: TransactionSalesOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
|
|
@@ -52717,6 +52719,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
52717
52719
|
{ title: 'ACTIVITIES', icon: Icon.UserRegular, category: TransactionTypeCategory.SalesOrderActivities, component: TransactionActivitiesButtonBarButtonComponent, cfgName: TransactionCfgName.RubricActivities },
|
|
52718
52720
|
{ title: 'PLANNING', icon: Icon.TruckMovingRegular, category: TransactionTypeCategory.SalesOrderPlanning, component: TransactionSalesPlanningButtonBarButtonComponent, cfgName: TransactionCfgName.RubricPlanning },
|
|
52719
52721
|
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckRegular, category: TransactionTypeCategory.SalesOrderDeliveryNote, component: TransactionSalesDeliveryButtonBarButtonComponent, cfgName: TransactionCfgName.RubricDelivery },
|
|
52722
|
+
{ title: 'INVOICE', icon: Icon.Invoice, category: TransactionTypeCategory.SalesOrderInvoice, component: TransactionSalesInvoiceButtonBarButtonComponent, cfgName: TransactionCfgName.RubricInvoice }
|
|
52720
52723
|
]],
|
|
52721
52724
|
[TransactionKind.SalesQuotation, [
|
|
52722
52725
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.SalesOrderQuotation, component: TransactionSalesQuotationButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
|
|
@@ -52732,6 +52735,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
52732
52735
|
{ title: 'LOGISTICS', icon: Icon.BoxesPackingRegular, category: TransactionTypeCategory.ServiceOrderLogistics, component: TransactionSalesPickingButtonBarButtonComponent, customClick: true, cfgName: TransactionCfgName.RubricLogistics, isVisibleFn: (transactionService) => transactionService.logisticsButtonVisible() },
|
|
52733
52736
|
{ title: 'PLANNING', icon: Icon.TruckMovingRegular, category: TransactionTypeCategory.ServiceOrderPlanning, cfgName: TransactionCfgName.RubricPlanning },
|
|
52734
52737
|
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckRegular, category: TransactionTypeCategory.ServiceOrderDeliveryNote, component: TransactionSalesDeliveryButtonBarButtonComponent, cfgName: TransactionCfgName.RubricDelivery },
|
|
52738
|
+
{ title: 'INVOICE', icon: Icon.Invoice, category: TransactionTypeCategory.ServiceOrderInvoice, component: TransactionSalesInvoiceButtonBarButtonComponent, cfgName: TransactionCfgName.RubricInvoice }
|
|
52735
52739
|
]],
|
|
52736
52740
|
[TransactionKind.InternalDelivery, [
|
|
52737
52741
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.InterbranchOrderOverview, component: TransactionSalesOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
|
|
@@ -71224,6 +71228,643 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
71224
71228
|
}]
|
|
71225
71229
|
}] });
|
|
71226
71230
|
|
|
71231
|
+
class TransactionInterbranchReceiveGoodsLineBaseComponent extends TransactionLineBaseComponent {
|
|
71232
|
+
icons = Icon;
|
|
71233
|
+
transactionTypeCategory = TransactionTypeCategory;
|
|
71234
|
+
warehouseLocationButtonDisabled = false;
|
|
71235
|
+
showCheckboxForLine = false;
|
|
71236
|
+
returnStockMode = false;
|
|
71237
|
+
calculatedStickerAmount = 0;
|
|
71238
|
+
_subscriptions = [];
|
|
71239
|
+
async ngOnInit() {
|
|
71240
|
+
super.ngOnInit();
|
|
71241
|
+
this.expanded = false;
|
|
71242
|
+
this._subscriptions.push(this.transactionEventService.selectAllOrderLinesForReceiveGoods.subscribe((value) => {
|
|
71243
|
+
this.selected = value && this.showCheckboxForLine;
|
|
71244
|
+
this.detectChanges();
|
|
71245
|
+
}), this.transactionEventService.globalReceiveLocationSet.subscribe((value) => {
|
|
71246
|
+
if (this.transactionLine.quantityToReceive !== 0) {
|
|
71247
|
+
this.transactionLine.locationNr = value;
|
|
71248
|
+
this.detectChanges();
|
|
71249
|
+
}
|
|
71250
|
+
}), this.transactionEventService.setColliStickerAmount.subscribe((value) => {
|
|
71251
|
+
if (value) {
|
|
71252
|
+
this.transactionLine.stickerAmount = 0;
|
|
71253
|
+
}
|
|
71254
|
+
else {
|
|
71255
|
+
this.transactionLine.stickerAmount = this.transactionLine.quantityToReceive;
|
|
71256
|
+
}
|
|
71257
|
+
this.detectChanges();
|
|
71258
|
+
}), this.transactionEventService.transactionLineChanged.subscribe((transLine) => {
|
|
71259
|
+
if (transLine.lineNr === this.transactionLine.lineNr) {
|
|
71260
|
+
this._handleTransactionLineSet(transLine);
|
|
71261
|
+
}
|
|
71262
|
+
}));
|
|
71263
|
+
}
|
|
71264
|
+
ngOnDestroy() {
|
|
71265
|
+
this._subscriptions.forEach(s => s.unsubscribe());
|
|
71266
|
+
super.ngOnDestroy();
|
|
71267
|
+
}
|
|
71268
|
+
changeLineAmount(amount) {
|
|
71269
|
+
if (this.transactionLine.articleLineStatus) {
|
|
71270
|
+
this.transactionLine.articleLineStatus.quantityToReceive = amount;
|
|
71271
|
+
this.transactionLine.stickerAmount = amount;
|
|
71272
|
+
}
|
|
71273
|
+
this.calcStickerAmount();
|
|
71274
|
+
}
|
|
71275
|
+
calcStickerAmount() {
|
|
71276
|
+
if (this.transactionLine) {
|
|
71277
|
+
let collie = this.transactionLine.chosenPackageAmount ? this.transactionLine.chosenPackageAmount : 1;
|
|
71278
|
+
let receive = (!isNaN(this.transactionLine.stickerAmount)) ? this.transactionLine.stickerAmount : 1;
|
|
71279
|
+
if (this.transactionLine.purchasePackageCode === 'B' || this.transactionLine.purchasePackageCode === 'E') {
|
|
71280
|
+
this.calculatedStickerAmount = Math.ceil(collie * receive);
|
|
71281
|
+
}
|
|
71282
|
+
else if (this.transactionLine.purchasePackageCode === 'R') {
|
|
71283
|
+
this.calculatedStickerAmount = Math.ceil(collie);
|
|
71284
|
+
}
|
|
71285
|
+
else {
|
|
71286
|
+
this.calculatedStickerAmount = 0;
|
|
71287
|
+
}
|
|
71288
|
+
}
|
|
71289
|
+
this.detectChanges();
|
|
71290
|
+
}
|
|
71291
|
+
transactionLineSet() {
|
|
71292
|
+
super.transactionLineSet();
|
|
71293
|
+
this._handleTransactionLineSet(this.transactionLine);
|
|
71294
|
+
this.returnStockMode = this.transactionLine.amount < 0;
|
|
71295
|
+
}
|
|
71296
|
+
_handleTransactionLineSet(transLine) {
|
|
71297
|
+
this.warehouseLocationButtonDisabled = transLine.articleLineStatus.quantityReceived === transLine.amount ||
|
|
71298
|
+
!transLine.isLocationRequired || transLine.isBatchNrRequired || transLine.isSerialNrRequired || this.transactionService.internalParameterReceiveGoodsWithDataTerminal;
|
|
71299
|
+
this.showCheckboxForLine = transLine.articleLineStatus.quantityReceived !== transLine.amount || transLine.articleLineStatus.quantityToReceive > 0;
|
|
71300
|
+
this.transactionLine.chosenPackageAmount = transLine.packagesAmountForTransport;
|
|
71301
|
+
this.transactionLine.stickerAmount = transLine.articleLineStatus.quantityToReceive;
|
|
71302
|
+
this.calcStickerAmount();
|
|
71303
|
+
this.detectChanges();
|
|
71304
|
+
}
|
|
71305
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
71306
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: TransactionInterbranchReceiveGoodsLineBaseComponent, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
71307
|
+
}
|
|
71308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineBaseComponent, decorators: [{
|
|
71309
|
+
type: Directive
|
|
71310
|
+
}] });
|
|
71311
|
+
|
|
71312
|
+
class TransactionLineInterbranchWarehouseLocationButtonComponent extends TransactionLineBaseComponent {
|
|
71313
|
+
transactionHeaderService;
|
|
71314
|
+
transactionLineService;
|
|
71315
|
+
transactionEventService;
|
|
71316
|
+
service;
|
|
71317
|
+
iconCacheService;
|
|
71318
|
+
transactionScreenConfigurationService;
|
|
71319
|
+
dictionaryService;
|
|
71320
|
+
imageService;
|
|
71321
|
+
changeDetector;
|
|
71322
|
+
_dialogService;
|
|
71323
|
+
_articleService;
|
|
71324
|
+
icons = Icon;
|
|
71325
|
+
showDialogLocation = false;
|
|
71326
|
+
inputLabel = false;
|
|
71327
|
+
showClass() {
|
|
71328
|
+
return true;
|
|
71329
|
+
}
|
|
71330
|
+
constructor(transactionHeaderService, transactionLineService, transactionEventService, service, iconCacheService, transactionScreenConfigurationService, dictionaryService, imageService, changeDetector, _dialogService, _articleService) {
|
|
71331
|
+
super(transactionHeaderService, transactionLineService, transactionEventService, iconCacheService, transactionScreenConfigurationService, imageService, dictionaryService, service, changeDetector);
|
|
71332
|
+
this.transactionHeaderService = transactionHeaderService;
|
|
71333
|
+
this.transactionLineService = transactionLineService;
|
|
71334
|
+
this.transactionEventService = transactionEventService;
|
|
71335
|
+
this.service = service;
|
|
71336
|
+
this.iconCacheService = iconCacheService;
|
|
71337
|
+
this.transactionScreenConfigurationService = transactionScreenConfigurationService;
|
|
71338
|
+
this.dictionaryService = dictionaryService;
|
|
71339
|
+
this.imageService = imageService;
|
|
71340
|
+
this.changeDetector = changeDetector;
|
|
71341
|
+
this._dialogService = _dialogService;
|
|
71342
|
+
this._articleService = _articleService;
|
|
71343
|
+
}
|
|
71344
|
+
async openWarehouseLocationDialog(event) {
|
|
71345
|
+
if (!this.readonly) {
|
|
71346
|
+
event.preventDefault();
|
|
71347
|
+
event.stopPropagation();
|
|
71348
|
+
if (!this.readonly && await this.lockTransaction()) {
|
|
71349
|
+
this.showDialogLocation = true;
|
|
71350
|
+
}
|
|
71351
|
+
this.detectChanges();
|
|
71352
|
+
}
|
|
71353
|
+
}
|
|
71354
|
+
transactionLineSet() {
|
|
71355
|
+
super.transactionLineSet();
|
|
71356
|
+
this._checkLocationValidity();
|
|
71357
|
+
}
|
|
71358
|
+
_checkLocationValidity() {
|
|
71359
|
+
if (this.transactionLine.warehouseNumber != undefined && this.transactionLine.isLocationRequired) {
|
|
71360
|
+
this._articleService.getWarehouseLocations(this.transactionLine.warehouseNumber).then((locations) => {
|
|
71361
|
+
if ((this.transactionLine.locationNr && !this._locationExistInWarehouse(locations, this.transactionLine.locationNr))
|
|
71362
|
+
|| !(this.transactionLine.locationNr)) {
|
|
71363
|
+
this._setDefaultLocationIfExistInWarehouse(locations);
|
|
71364
|
+
}
|
|
71365
|
+
});
|
|
71366
|
+
}
|
|
71367
|
+
}
|
|
71368
|
+
_setDefaultLocationIfExistInWarehouse(locationCollection) {
|
|
71369
|
+
if (this.transactionLine.defaultLocationNr && this._locationExistInWarehouse(locationCollection, this.transactionLine.defaultLocationNr)) {
|
|
71370
|
+
this.transactionLine.locationNr = this.transactionLine.defaultLocationNr;
|
|
71371
|
+
}
|
|
71372
|
+
else {
|
|
71373
|
+
this.transactionLine.locationNr = undefined;
|
|
71374
|
+
}
|
|
71375
|
+
this.detectChanges();
|
|
71376
|
+
}
|
|
71377
|
+
_locationExistInWarehouse(locationCollection, location) {
|
|
71378
|
+
return (locationCollection.findIndex(l => l.locationNo === location) > -1);
|
|
71379
|
+
}
|
|
71380
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineInterbranchWarehouseLocationButtonComponent, deps: [{ token: TransactionHeaderService }, { token: TransactionLineService }, { token: TransactionEventService }, { token: TransactionService }, { token: IconCacheService }, { token: TransactionScreenConfigurationService }, { token: DictionaryService }, { token: TransactionImageService }, { token: i0.ChangeDetectorRef }, { token: TransactionDialogService }, { token: ArticleService }], target: i0.ɵɵFactoryTarget.Component });
|
|
71381
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionLineInterbranchWarehouseLocationButtonComponent, isStandalone: false, selector: "co-transaction-line-interbranch-warehouse-location-button", inputs: { inputLabel: "inputLabel" }, host: { properties: { "class.co-transaction-line-warehouse-location-button": "this.showClass" } }, providers: [{
|
|
71382
|
+
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
71383
|
+
useExisting: forwardRef(() => TransactionLineInterbranchWarehouseLocationButtonComponent)
|
|
71384
|
+
}
|
|
71385
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
71386
|
+
<div class="inside-field">
|
|
71387
|
+
@if (inputLabel) {
|
|
71388
|
+
<co-transaction-line-label [insideLabel]="'WAREHOUSE_LOCATION'"></co-transaction-line-label>
|
|
71389
|
+
}
|
|
71390
|
+
<co-transaction-button
|
|
71391
|
+
[hidden]="hidden"
|
|
71392
|
+
[readonly]="readonly"
|
|
71393
|
+
[label]="transactionLine.locationNr ? transactionLine.locationNr : '-'"
|
|
71394
|
+
[iconData]="iconCacheService.getIcon(icons.ShelvesLight)"
|
|
71395
|
+
(click)="openWarehouseLocationDialog($event)"
|
|
71396
|
+
></co-transaction-button>
|
|
71397
|
+
</div>
|
|
71398
|
+
@if (showDialogLocation && !readonly) {
|
|
71399
|
+
<co-dialog-transaction-line-warehouse-location
|
|
71400
|
+
[autoClose]="true"
|
|
71401
|
+
[useModel]="true"
|
|
71402
|
+
[warehouseNr]="transactionInfo.targetWarehouseNumber"
|
|
71403
|
+
(close)="showDialogLocation = false"
|
|
71404
|
+
></co-dialog-transaction-line-warehouse-location>
|
|
71405
|
+
}
|
|
71406
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTransactionLineWarehouseLocationComponent, selector: "co-dialog-transaction-line-warehouse-location", inputs: ["warehouseNr", "showClose"] }, { kind: "component", type: TransactionButtonComponent, selector: "co-transaction-button", inputs: ["label", "title", "statusColor", "readonly", "hidden", "forceReadonly", "iconData", "rightIconData", "showCheckMarkLoader", "checkMarkOverlayVisible", "inputLabel", "insideLabel"], outputs: ["iconClicked"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
71407
|
+
}
|
|
71408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineInterbranchWarehouseLocationButtonComponent, decorators: [{
|
|
71409
|
+
type: Component,
|
|
71410
|
+
args: [{
|
|
71411
|
+
selector: "co-transaction-line-interbranch-warehouse-location-button",
|
|
71412
|
+
template: `
|
|
71413
|
+
<div class="inside-field">
|
|
71414
|
+
@if (inputLabel) {
|
|
71415
|
+
<co-transaction-line-label [insideLabel]="'WAREHOUSE_LOCATION'"></co-transaction-line-label>
|
|
71416
|
+
}
|
|
71417
|
+
<co-transaction-button
|
|
71418
|
+
[hidden]="hidden"
|
|
71419
|
+
[readonly]="readonly"
|
|
71420
|
+
[label]="transactionLine.locationNr ? transactionLine.locationNr : '-'"
|
|
71421
|
+
[iconData]="iconCacheService.getIcon(icons.ShelvesLight)"
|
|
71422
|
+
(click)="openWarehouseLocationDialog($event)"
|
|
71423
|
+
></co-transaction-button>
|
|
71424
|
+
</div>
|
|
71425
|
+
@if (showDialogLocation && !readonly) {
|
|
71426
|
+
<co-dialog-transaction-line-warehouse-location
|
|
71427
|
+
[autoClose]="true"
|
|
71428
|
+
[useModel]="true"
|
|
71429
|
+
[warehouseNr]="transactionInfo.targetWarehouseNumber"
|
|
71430
|
+
(close)="showDialogLocation = false"
|
|
71431
|
+
></co-dialog-transaction-line-warehouse-location>
|
|
71432
|
+
}
|
|
71433
|
+
`,
|
|
71434
|
+
providers: [{
|
|
71435
|
+
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
71436
|
+
useExisting: forwardRef(() => TransactionLineInterbranchWarehouseLocationButtonComponent)
|
|
71437
|
+
}
|
|
71438
|
+
],
|
|
71439
|
+
encapsulation: ViewEncapsulation.None,
|
|
71440
|
+
standalone: false
|
|
71441
|
+
}]
|
|
71442
|
+
}], ctorParameters: () => [{ type: TransactionHeaderService }, { type: TransactionLineService }, { type: TransactionEventService }, { type: TransactionService }, { type: IconCacheService }, { type: TransactionScreenConfigurationService }, { type: DictionaryService }, { type: TransactionImageService }, { type: i0.ChangeDetectorRef }, { type: TransactionDialogService }, { type: ArticleService }], propDecorators: { inputLabel: [{
|
|
71443
|
+
type: Input
|
|
71444
|
+
}], showClass: [{
|
|
71445
|
+
type: HostBinding,
|
|
71446
|
+
args: ["class.co-transaction-line-warehouse-location-button"]
|
|
71447
|
+
}] } });
|
|
71448
|
+
|
|
71449
|
+
class TransactionInterbranchReceiveGoodsLineComponent extends TransactionInterbranchReceiveGoodsLineBaseComponent {
|
|
71450
|
+
cfgNames = TransactionCfgName;
|
|
71451
|
+
showClass() {
|
|
71452
|
+
return true;
|
|
71453
|
+
}
|
|
71454
|
+
statusBarConfigNames = {
|
|
71455
|
+
statusBarBT: this.cfgNames.StatusBarBT,
|
|
71456
|
+
statusBarIB: this.cfgNames.StatusBarIB,
|
|
71457
|
+
statusBarNT: this.cfgNames.StatusBarNT,
|
|
71458
|
+
statusBarBN: this.cfgNames.StatusBarBN,
|
|
71459
|
+
statusBarBG: this.cfgNames.StatusBarBG,
|
|
71460
|
+
statusBarFC: this.cfgNames.StatusBarFC,
|
|
71461
|
+
statusBarTG: this.cfgNames.StatusBarTG,
|
|
71462
|
+
statusBarTP: this.cfgNames.StatusBarTP,
|
|
71463
|
+
statusBarGT: this.cfgNames.StatusBarGT,
|
|
71464
|
+
statusBarGL: this.cfgNames.StatusBarGL,
|
|
71465
|
+
};
|
|
71466
|
+
changeNrPackagesNotAllowed() {
|
|
71467
|
+
if (!this.transactionLine || !this.transactionLine.selected) {
|
|
71468
|
+
return true;
|
|
71469
|
+
}
|
|
71470
|
+
else if (this.transactionLine.purchasePackageCode === 'E' || this.transactionLine.purchasePackageCode === 'G') {
|
|
71471
|
+
return true;
|
|
71472
|
+
}
|
|
71473
|
+
else {
|
|
71474
|
+
return false;
|
|
71475
|
+
}
|
|
71476
|
+
}
|
|
71477
|
+
changeAmountPerUnitNotAllowed() {
|
|
71478
|
+
if (!this.transactionLine || !this.transactionLine.selected) {
|
|
71479
|
+
return true;
|
|
71480
|
+
}
|
|
71481
|
+
else if (this.transactionLine.purchasePackageCode === 'E' || this.transactionLine.purchasePackageCode === 'G' || this.transactionLine.purchasePackageCode === 'R') {
|
|
71482
|
+
return true;
|
|
71483
|
+
}
|
|
71484
|
+
else {
|
|
71485
|
+
return false;
|
|
71486
|
+
}
|
|
71487
|
+
}
|
|
71488
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
71489
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionInterbranchReceiveGoodsLineComponent, isStandalone: false, selector: "co-transaction-interbranch-receive-goods-line", host: { properties: { "class.co-transaction-receive-goods-line": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
71490
|
+
<co-transaction-base-line
|
|
71491
|
+
[transactionInfo]="transactionInfo"
|
|
71492
|
+
[transactionLine]="transactionLine"
|
|
71493
|
+
[preview]="preview"
|
|
71494
|
+
[isFirst]="isFirst"
|
|
71495
|
+
[checkbox]="showCheckboxForLine"
|
|
71496
|
+
[checkboxValue]="transactionLine.selected"
|
|
71497
|
+
(checkboxValueChanged)="transactionLine.selected = $event"
|
|
71498
|
+
>
|
|
71499
|
+
<div class="transaction-line-wrapper">
|
|
71500
|
+
<div class="transaction-line-extended-wrapper">
|
|
71501
|
+
<div class="column-full align-right">
|
|
71502
|
+
<co-transaction-line-statusbar
|
|
71503
|
+
[screenConfigurationObject]="cfgNames.StatusBar"
|
|
71504
|
+
[configNames]="statusBarConfigNames"
|
|
71505
|
+
[activeCategory]="transactionTypeCategory.PurchaseOrderReceivedGoods">
|
|
71506
|
+
</co-transaction-line-statusbar>
|
|
71507
|
+
<co-transaction-line-warehouse-button
|
|
71508
|
+
class="transaction-field-wrapper medium"
|
|
71509
|
+
[screenConfigurationObject]="cfgNames.LineWarehouse"
|
|
71510
|
+
[inputLabel]="true"
|
|
71511
|
+
></co-transaction-line-warehouse-button>
|
|
71512
|
+
@if (!transactionLine.preReceive) {
|
|
71513
|
+
<co-transaction-line-interbranch-warehouse-location-button
|
|
71514
|
+
class="transaction-field-wrapper medium"
|
|
71515
|
+
[screenConfigurationObject]="cfgNames.LineWarehouseLocationReceived"
|
|
71516
|
+
[readonly]="warehouseLocationButtonDisabled"
|
|
71517
|
+
[inputLabel]="true">
|
|
71518
|
+
</co-transaction-line-interbranch-warehouse-location-button>
|
|
71519
|
+
}
|
|
71520
|
+
<div class="transaction-field-wrapper small">
|
|
71521
|
+
<div class="inside-field">
|
|
71522
|
+
<co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
|
|
71523
|
+
<co-input-text
|
|
71524
|
+
[model]="transactionLine.amount"
|
|
71525
|
+
[readonly]="true"
|
|
71526
|
+
[customHeight]="true"
|
|
71527
|
+
></co-input-text>
|
|
71528
|
+
</div>
|
|
71529
|
+
</div>
|
|
71530
|
+
<div class="transaction-field-wrapper medium">
|
|
71531
|
+
<div class="inside-field">
|
|
71532
|
+
<co-transaction-line-label [insideLabel]="'QUANTITY_ACCEPTED'"></co-transaction-line-label>
|
|
71533
|
+
<co-input-text
|
|
71534
|
+
[model]="transactionLine.articleLineStatus.quantityReceived"
|
|
71535
|
+
[leftIconData]="iconCacheService.getIcon(icons.RegularCartFlatbedBoxesCircleCheck)"
|
|
71536
|
+
[readonly]="true"
|
|
71537
|
+
[customHeight]="true"
|
|
71538
|
+
></co-input-text>
|
|
71539
|
+
</div>
|
|
71540
|
+
</div>
|
|
71541
|
+
@if (transactionLine.isBatchNrRequired && !this.transactionLine.preReceive) {
|
|
71542
|
+
<div class="transaction-field-wrapper medium">
|
|
71543
|
+
<div class="inside-field">
|
|
71544
|
+
<co-transaction-line-label [insideLabel]="'BATCH_NUMBER'"></co-transaction-line-label>
|
|
71545
|
+
<co-input-text class="side-panel-input"
|
|
71546
|
+
[(model)]="transactionLine.batchNr"
|
|
71547
|
+
[hideArrowButtons]="true"
|
|
71548
|
+
[readonly]="this.returnStockMode || readonly"
|
|
71549
|
+
[required]="true"
|
|
71550
|
+
[customHeight]="true"
|
|
71551
|
+
></co-input-text>
|
|
71552
|
+
</div>
|
|
71553
|
+
</div>
|
|
71554
|
+
}
|
|
71555
|
+
<div class="transaction-field-wrapper">
|
|
71556
|
+
<div class="inside-field">
|
|
71557
|
+
<co-transaction-line-label [insideLabel]="'QUANTITY_TO_RECEIVE'"></co-transaction-line-label>
|
|
71558
|
+
<co-input-number-picker class="amount-number-picker"
|
|
71559
|
+
[screenConfigurationObject]="cfgNames.LineQuantityToReceive"
|
|
71560
|
+
[model]="transactionLine.articleLineStatus?.quantityToReceive"
|
|
71561
|
+
[decimals]="decimals"
|
|
71562
|
+
[min]="1"
|
|
71563
|
+
[max]="transactionLine.amount - lineQuantityReceived"
|
|
71564
|
+
[forceReadonly]="readonly || lineQuantityReceived === transactionLine.amount || transactionLine.selected === false"
|
|
71565
|
+
(modelChange)="changeLineAmount($event)">
|
|
71566
|
+
</co-input-number-picker>
|
|
71567
|
+
</div>
|
|
71568
|
+
</div>
|
|
71569
|
+
<div class="transaction-field-wrapper">
|
|
71570
|
+
<div class="inside-field">
|
|
71571
|
+
<co-transaction-line-label [insideLabel]="'NUMBER_PACKAGES'"></co-transaction-line-label>
|
|
71572
|
+
<co-input-number-picker class="amount-number-picker"
|
|
71573
|
+
[(model)]="transactionLine.chosenPackageAmount"
|
|
71574
|
+
[screenConfigurationObject]="cfgNames.CollieAmount"
|
|
71575
|
+
[decimals]="decimals"
|
|
71576
|
+
[min]="1"
|
|
71577
|
+
[forceReadonly] = "readonly || changeNrPackagesNotAllowed() || lineQuantityReceived === transactionLine.amount"
|
|
71578
|
+
(modelChange)="calcStickerAmount()">
|
|
71579
|
+
</co-input-number-picker>
|
|
71580
|
+
<!-- [screenConfigurationObject]="cfgNames.LineQuantityToReceive"-->
|
|
71581
|
+
</div>
|
|
71582
|
+
</div>
|
|
71583
|
+
<div class="transaction-field-wrapper">
|
|
71584
|
+
<div class="inside-field">
|
|
71585
|
+
<co-transaction-line-label [insideLabel]="'AMOUNT_PER_UNIT'"></co-transaction-line-label>
|
|
71586
|
+
<co-input-number-picker class="amount-number-picker"
|
|
71587
|
+
[(model)]="transactionLine.stickerAmount"
|
|
71588
|
+
[screenConfigurationObject]="cfgNames.CollieAmount"
|
|
71589
|
+
[decimals]="decimals"
|
|
71590
|
+
[min]="0"
|
|
71591
|
+
[forceReadonly] = "readonly || changeAmountPerUnitNotAllowed() || lineQuantityReceived === transactionLine.amount"
|
|
71592
|
+
(modelChange)="calcStickerAmount()">
|
|
71593
|
+
</co-input-number-picker>
|
|
71594
|
+
</div>
|
|
71595
|
+
</div>
|
|
71596
|
+
<div class="transaction-field-wrapper small">
|
|
71597
|
+
<div class="inside-field">
|
|
71598
|
+
<co-transaction-print-package-sticker
|
|
71599
|
+
[forceReadonly]="true"
|
|
71600
|
+
[screenConfigurationObject]="cfgNames.StickerAmount"
|
|
71601
|
+
[inputLabel]="true"
|
|
71602
|
+
[stickerAmount]="calculatedStickerAmount"
|
|
71603
|
+
></co-transaction-print-package-sticker>
|
|
71604
|
+
</div>
|
|
71605
|
+
</div>
|
|
71606
|
+
<co-editable-label
|
|
71607
|
+
class="transaction-field-wrapper small transaction-line-totals-total price"
|
|
71608
|
+
[model]="transactionLine.displayNetLineTotal | coCurrency: true"
|
|
71609
|
+
[editModel]="transactionLine.displayNetLineTotal"
|
|
71610
|
+
[commit]="!readonly"
|
|
71611
|
+
[readonly]="true"
|
|
71612
|
+
[editMode]="false"
|
|
71613
|
+
[inputLabel]="true"
|
|
71614
|
+
></co-editable-label>
|
|
71615
|
+
</div>
|
|
71616
|
+
</div>
|
|
71617
|
+
</div>
|
|
71618
|
+
</co-transaction-base-line>
|
|
71619
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TransactionBaseLineComponent, selector: "co-transaction-base-line", inputs: ["lineIndex", "transaction", "transactionInfo", "transactionLine", "selected", "preview", "isFirst", "checkboxValue", "showColorIndicator", "colorIndicatorColor", "checkboxReadonly", "checkbox", "actionButtons", "showPurchaseDescAndPrice", "customerPortal"], outputs: ["checkboxValueChanged", "waitingForUserAction"] }, { kind: "component", type: TransactionLineWarehouseButtonComponent, selector: "co-transaction-line-warehouse-button", inputs: ["inputLabel"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: i1$1.InputNumberPickerComponent, selector: "co-input-number-picker", inputs: ["model", "modelChangeOnEnter", "showPermanentLabel", "leftIconData", "min", "step", "max", "ngModelOptions", "minusIcon", "plusIcon", "buttonShowMode", "noValidation", "decimals"], outputs: ["modelChange", "iconClick"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: i1$1.InputTextComponent, selector: "co-input-text", inputs: ["useContent", "placeholder", "align", "type", "formatPipe", "min", "max", "pattern", "digitsOnly", "excludePlusMinus", "showClearButton", "keyDownWhiteList", "showPlaceholderOnFocus", "leftIcon", "rightIcon", "leftIconData", "rightIconData", "selectOnFocus", "emptyPlace", "firstDayOfWeek", "noStyle", "hideArrowButtons", "model"], outputs: ["leftIconClick", "leftIconMouseDown", "leftIconMouseUp", "rightIconClick", "rightIconMouseDown", "rightIconMouseUp", "clearIconClick", "isFocused"] }, { kind: "component", type: TransactionPrintPackageStickerComponent, selector: "co-transaction-print-package-sticker", inputs: ["inputLabel", "stickerAmount"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "component", type: TransactionLineInterbranchWarehouseLocationButtonComponent, selector: "co-transaction-line-interbranch-warehouse-location-button", inputs: ["inputLabel"] }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
71620
|
+
}
|
|
71621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineComponent, decorators: [{
|
|
71622
|
+
type: Component,
|
|
71623
|
+
args: [{
|
|
71624
|
+
selector: "co-transaction-interbranch-receive-goods-line",
|
|
71625
|
+
template: `
|
|
71626
|
+
<co-transaction-base-line
|
|
71627
|
+
[transactionInfo]="transactionInfo"
|
|
71628
|
+
[transactionLine]="transactionLine"
|
|
71629
|
+
[preview]="preview"
|
|
71630
|
+
[isFirst]="isFirst"
|
|
71631
|
+
[checkbox]="showCheckboxForLine"
|
|
71632
|
+
[checkboxValue]="transactionLine.selected"
|
|
71633
|
+
(checkboxValueChanged)="transactionLine.selected = $event"
|
|
71634
|
+
>
|
|
71635
|
+
<div class="transaction-line-wrapper">
|
|
71636
|
+
<div class="transaction-line-extended-wrapper">
|
|
71637
|
+
<div class="column-full align-right">
|
|
71638
|
+
<co-transaction-line-statusbar
|
|
71639
|
+
[screenConfigurationObject]="cfgNames.StatusBar"
|
|
71640
|
+
[configNames]="statusBarConfigNames"
|
|
71641
|
+
[activeCategory]="transactionTypeCategory.PurchaseOrderReceivedGoods">
|
|
71642
|
+
</co-transaction-line-statusbar>
|
|
71643
|
+
<co-transaction-line-warehouse-button
|
|
71644
|
+
class="transaction-field-wrapper medium"
|
|
71645
|
+
[screenConfigurationObject]="cfgNames.LineWarehouse"
|
|
71646
|
+
[inputLabel]="true"
|
|
71647
|
+
></co-transaction-line-warehouse-button>
|
|
71648
|
+
@if (!transactionLine.preReceive) {
|
|
71649
|
+
<co-transaction-line-interbranch-warehouse-location-button
|
|
71650
|
+
class="transaction-field-wrapper medium"
|
|
71651
|
+
[screenConfigurationObject]="cfgNames.LineWarehouseLocationReceived"
|
|
71652
|
+
[readonly]="warehouseLocationButtonDisabled"
|
|
71653
|
+
[inputLabel]="true">
|
|
71654
|
+
</co-transaction-line-interbranch-warehouse-location-button>
|
|
71655
|
+
}
|
|
71656
|
+
<div class="transaction-field-wrapper small">
|
|
71657
|
+
<div class="inside-field">
|
|
71658
|
+
<co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
|
|
71659
|
+
<co-input-text
|
|
71660
|
+
[model]="transactionLine.amount"
|
|
71661
|
+
[readonly]="true"
|
|
71662
|
+
[customHeight]="true"
|
|
71663
|
+
></co-input-text>
|
|
71664
|
+
</div>
|
|
71665
|
+
</div>
|
|
71666
|
+
<div class="transaction-field-wrapper medium">
|
|
71667
|
+
<div class="inside-field">
|
|
71668
|
+
<co-transaction-line-label [insideLabel]="'QUANTITY_ACCEPTED'"></co-transaction-line-label>
|
|
71669
|
+
<co-input-text
|
|
71670
|
+
[model]="transactionLine.articleLineStatus.quantityReceived"
|
|
71671
|
+
[leftIconData]="iconCacheService.getIcon(icons.RegularCartFlatbedBoxesCircleCheck)"
|
|
71672
|
+
[readonly]="true"
|
|
71673
|
+
[customHeight]="true"
|
|
71674
|
+
></co-input-text>
|
|
71675
|
+
</div>
|
|
71676
|
+
</div>
|
|
71677
|
+
@if (transactionLine.isBatchNrRequired && !this.transactionLine.preReceive) {
|
|
71678
|
+
<div class="transaction-field-wrapper medium">
|
|
71679
|
+
<div class="inside-field">
|
|
71680
|
+
<co-transaction-line-label [insideLabel]="'BATCH_NUMBER'"></co-transaction-line-label>
|
|
71681
|
+
<co-input-text class="side-panel-input"
|
|
71682
|
+
[(model)]="transactionLine.batchNr"
|
|
71683
|
+
[hideArrowButtons]="true"
|
|
71684
|
+
[readonly]="this.returnStockMode || readonly"
|
|
71685
|
+
[required]="true"
|
|
71686
|
+
[customHeight]="true"
|
|
71687
|
+
></co-input-text>
|
|
71688
|
+
</div>
|
|
71689
|
+
</div>
|
|
71690
|
+
}
|
|
71691
|
+
<div class="transaction-field-wrapper">
|
|
71692
|
+
<div class="inside-field">
|
|
71693
|
+
<co-transaction-line-label [insideLabel]="'QUANTITY_TO_RECEIVE'"></co-transaction-line-label>
|
|
71694
|
+
<co-input-number-picker class="amount-number-picker"
|
|
71695
|
+
[screenConfigurationObject]="cfgNames.LineQuantityToReceive"
|
|
71696
|
+
[model]="transactionLine.articleLineStatus?.quantityToReceive"
|
|
71697
|
+
[decimals]="decimals"
|
|
71698
|
+
[min]="1"
|
|
71699
|
+
[max]="transactionLine.amount - lineQuantityReceived"
|
|
71700
|
+
[forceReadonly]="readonly || lineQuantityReceived === transactionLine.amount || transactionLine.selected === false"
|
|
71701
|
+
(modelChange)="changeLineAmount($event)">
|
|
71702
|
+
</co-input-number-picker>
|
|
71703
|
+
</div>
|
|
71704
|
+
</div>
|
|
71705
|
+
<div class="transaction-field-wrapper">
|
|
71706
|
+
<div class="inside-field">
|
|
71707
|
+
<co-transaction-line-label [insideLabel]="'NUMBER_PACKAGES'"></co-transaction-line-label>
|
|
71708
|
+
<co-input-number-picker class="amount-number-picker"
|
|
71709
|
+
[(model)]="transactionLine.chosenPackageAmount"
|
|
71710
|
+
[screenConfigurationObject]="cfgNames.CollieAmount"
|
|
71711
|
+
[decimals]="decimals"
|
|
71712
|
+
[min]="1"
|
|
71713
|
+
[forceReadonly] = "readonly || changeNrPackagesNotAllowed() || lineQuantityReceived === transactionLine.amount"
|
|
71714
|
+
(modelChange)="calcStickerAmount()">
|
|
71715
|
+
</co-input-number-picker>
|
|
71716
|
+
<!-- [screenConfigurationObject]="cfgNames.LineQuantityToReceive"-->
|
|
71717
|
+
</div>
|
|
71718
|
+
</div>
|
|
71719
|
+
<div class="transaction-field-wrapper">
|
|
71720
|
+
<div class="inside-field">
|
|
71721
|
+
<co-transaction-line-label [insideLabel]="'AMOUNT_PER_UNIT'"></co-transaction-line-label>
|
|
71722
|
+
<co-input-number-picker class="amount-number-picker"
|
|
71723
|
+
[(model)]="transactionLine.stickerAmount"
|
|
71724
|
+
[screenConfigurationObject]="cfgNames.CollieAmount"
|
|
71725
|
+
[decimals]="decimals"
|
|
71726
|
+
[min]="0"
|
|
71727
|
+
[forceReadonly] = "readonly || changeAmountPerUnitNotAllowed() || lineQuantityReceived === transactionLine.amount"
|
|
71728
|
+
(modelChange)="calcStickerAmount()">
|
|
71729
|
+
</co-input-number-picker>
|
|
71730
|
+
</div>
|
|
71731
|
+
</div>
|
|
71732
|
+
<div class="transaction-field-wrapper small">
|
|
71733
|
+
<div class="inside-field">
|
|
71734
|
+
<co-transaction-print-package-sticker
|
|
71735
|
+
[forceReadonly]="true"
|
|
71736
|
+
[screenConfigurationObject]="cfgNames.StickerAmount"
|
|
71737
|
+
[inputLabel]="true"
|
|
71738
|
+
[stickerAmount]="calculatedStickerAmount"
|
|
71739
|
+
></co-transaction-print-package-sticker>
|
|
71740
|
+
</div>
|
|
71741
|
+
</div>
|
|
71742
|
+
<co-editable-label
|
|
71743
|
+
class="transaction-field-wrapper small transaction-line-totals-total price"
|
|
71744
|
+
[model]="transactionLine.displayNetLineTotal | coCurrency: true"
|
|
71745
|
+
[editModel]="transactionLine.displayNetLineTotal"
|
|
71746
|
+
[commit]="!readonly"
|
|
71747
|
+
[readonly]="true"
|
|
71748
|
+
[editMode]="false"
|
|
71749
|
+
[inputLabel]="true"
|
|
71750
|
+
></co-editable-label>
|
|
71751
|
+
</div>
|
|
71752
|
+
</div>
|
|
71753
|
+
</div>
|
|
71754
|
+
</co-transaction-base-line>
|
|
71755
|
+
`,
|
|
71756
|
+
encapsulation: ViewEncapsulation.None,
|
|
71757
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
71758
|
+
standalone: false
|
|
71759
|
+
}]
|
|
71760
|
+
}], propDecorators: { showClass: [{
|
|
71761
|
+
type: HostBinding,
|
|
71762
|
+
args: ["class.co-transaction-receive-goods-line"]
|
|
71763
|
+
}] } });
|
|
71764
|
+
|
|
71765
|
+
class TransactionLineInterbranchWarehouseLocationButtonModule {
|
|
71766
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineInterbranchWarehouseLocationButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
71767
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineInterbranchWarehouseLocationButtonModule, declarations: [TransactionLineInterbranchWarehouseLocationButtonComponent], imports: [CommonModule,
|
|
71768
|
+
IconModule,
|
|
71769
|
+
DialogTransactionLineWarehouseLocationModule,
|
|
71770
|
+
CatalogFilterModule,
|
|
71771
|
+
TransactionButtonModule,
|
|
71772
|
+
TransactionLineWarehouseLocationModule,
|
|
71773
|
+
TransactionLineLabelModule], exports: [TransactionLineInterbranchWarehouseLocationButtonComponent] });
|
|
71774
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineInterbranchWarehouseLocationButtonModule, imports: [CommonModule,
|
|
71775
|
+
IconModule,
|
|
71776
|
+
DialogTransactionLineWarehouseLocationModule,
|
|
71777
|
+
CatalogFilterModule,
|
|
71778
|
+
TransactionButtonModule,
|
|
71779
|
+
TransactionLineWarehouseLocationModule,
|
|
71780
|
+
TransactionLineLabelModule] });
|
|
71781
|
+
}
|
|
71782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineInterbranchWarehouseLocationButtonModule, decorators: [{
|
|
71783
|
+
type: NgModule,
|
|
71784
|
+
args: [{
|
|
71785
|
+
imports: [
|
|
71786
|
+
CommonModule,
|
|
71787
|
+
IconModule,
|
|
71788
|
+
DialogTransactionLineWarehouseLocationModule,
|
|
71789
|
+
CatalogFilterModule,
|
|
71790
|
+
TransactionButtonModule,
|
|
71791
|
+
TransactionLineWarehouseLocationModule,
|
|
71792
|
+
TransactionLineLabelModule
|
|
71793
|
+
],
|
|
71794
|
+
declarations: [
|
|
71795
|
+
TransactionLineInterbranchWarehouseLocationButtonComponent
|
|
71796
|
+
],
|
|
71797
|
+
exports: [
|
|
71798
|
+
TransactionLineInterbranchWarehouseLocationButtonComponent
|
|
71799
|
+
]
|
|
71800
|
+
}]
|
|
71801
|
+
}] });
|
|
71802
|
+
|
|
71803
|
+
class TransactionInterbranchReceiveGoodsLineModule {
|
|
71804
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
71805
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineModule, declarations: [TransactionInterbranchReceiveGoodsLineComponent], imports: [CommonModule,
|
|
71806
|
+
TransactionBaseLineModule,
|
|
71807
|
+
TransactionLineWarehouseButtonModule,
|
|
71808
|
+
TransactionLineWarehouseLocationModule,
|
|
71809
|
+
EditableLabelModule,
|
|
71810
|
+
InputNumberPickerModule,
|
|
71811
|
+
InputCheckboxModule,
|
|
71812
|
+
IconModule,
|
|
71813
|
+
TransactionLineStatusbarModule,
|
|
71814
|
+
InputTextModule,
|
|
71815
|
+
TransactionPrintPackageStickerModule,
|
|
71816
|
+
ObserveVisibilityModule,
|
|
71817
|
+
ScreenConfigurationModule,
|
|
71818
|
+
PipeModule,
|
|
71819
|
+
TransactionLineLabelModule,
|
|
71820
|
+
TransactionLineInterbranchWarehouseLocationButtonModule], exports: [TransactionInterbranchReceiveGoodsLineComponent] });
|
|
71821
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineModule, imports: [CommonModule,
|
|
71822
|
+
TransactionBaseLineModule,
|
|
71823
|
+
TransactionLineWarehouseButtonModule,
|
|
71824
|
+
TransactionLineWarehouseLocationModule,
|
|
71825
|
+
EditableLabelModule,
|
|
71826
|
+
InputNumberPickerModule,
|
|
71827
|
+
InputCheckboxModule,
|
|
71828
|
+
IconModule,
|
|
71829
|
+
TransactionLineStatusbarModule,
|
|
71830
|
+
InputTextModule,
|
|
71831
|
+
TransactionPrintPackageStickerModule,
|
|
71832
|
+
ObserveVisibilityModule,
|
|
71833
|
+
ScreenConfigurationModule,
|
|
71834
|
+
PipeModule,
|
|
71835
|
+
TransactionLineLabelModule,
|
|
71836
|
+
TransactionLineInterbranchWarehouseLocationButtonModule] });
|
|
71837
|
+
}
|
|
71838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInterbranchReceiveGoodsLineModule, decorators: [{
|
|
71839
|
+
type: NgModule,
|
|
71840
|
+
args: [{
|
|
71841
|
+
imports: [
|
|
71842
|
+
CommonModule,
|
|
71843
|
+
TransactionBaseLineModule,
|
|
71844
|
+
TransactionLineWarehouseButtonModule,
|
|
71845
|
+
TransactionLineWarehouseLocationModule,
|
|
71846
|
+
EditableLabelModule,
|
|
71847
|
+
InputNumberPickerModule,
|
|
71848
|
+
InputCheckboxModule,
|
|
71849
|
+
IconModule,
|
|
71850
|
+
TransactionLineStatusbarModule,
|
|
71851
|
+
InputTextModule,
|
|
71852
|
+
TransactionPrintPackageStickerModule,
|
|
71853
|
+
ObserveVisibilityModule,
|
|
71854
|
+
ScreenConfigurationModule,
|
|
71855
|
+
PipeModule,
|
|
71856
|
+
TransactionLineLabelModule,
|
|
71857
|
+
TransactionLineInterbranchWarehouseLocationButtonModule
|
|
71858
|
+
],
|
|
71859
|
+
declarations: [
|
|
71860
|
+
TransactionInterbranchReceiveGoodsLineComponent
|
|
71861
|
+
],
|
|
71862
|
+
exports: [
|
|
71863
|
+
TransactionInterbranchReceiveGoodsLineComponent
|
|
71864
|
+
]
|
|
71865
|
+
}]
|
|
71866
|
+
}] });
|
|
71867
|
+
|
|
71227
71868
|
class TransactionLineModule {
|
|
71228
71869
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
71229
71870
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineModule, declarations: [TransactionLineComponent], imports: [CommonModule,
|
|
@@ -71238,6 +71879,7 @@ class TransactionLineModule {
|
|
|
71238
71879
|
TransactionToBePickedLineModule,
|
|
71239
71880
|
TransactionPurchaseOverviewLineModule,
|
|
71240
71881
|
TransactionReceiveGoodsLineModule,
|
|
71882
|
+
TransactionInterbranchReceiveGoodsLineModule,
|
|
71241
71883
|
TransactionPurchaseOrderLineModule,
|
|
71242
71884
|
TransactionCashRegisterOrderLineModule,
|
|
71243
71885
|
TransactionSalesOrderQuotationLineModule,
|
|
@@ -71285,7 +71927,7 @@ class TransactionLineModule {
|
|
|
71285
71927
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderPurchase }, TransactionPurchaseLineComponent],
|
|
71286
71928
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderAllocation }, TransactionGoodsAllocationLineComponent],
|
|
71287
71929
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderReserve }, TransactionReserveGoodsLineComponent],
|
|
71288
|
-
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderReceivedGoods },
|
|
71930
|
+
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderReceivedGoods }, TransactionInterbranchReceiveGoodsLineComponent],
|
|
71289
71931
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderDeliveryNote }, TransactionOrderDeliveryLineComponent],
|
|
71290
71932
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderToBePicked }, TransactionToBePickedLineComponent],
|
|
71291
71933
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderPicked }, TransactionPickedLineComponent],
|
|
@@ -71304,6 +71946,7 @@ class TransactionLineModule {
|
|
|
71304
71946
|
TransactionToBePickedLineModule,
|
|
71305
71947
|
TransactionPurchaseOverviewLineModule,
|
|
71306
71948
|
TransactionReceiveGoodsLineModule,
|
|
71949
|
+
TransactionInterbranchReceiveGoodsLineModule,
|
|
71307
71950
|
TransactionPurchaseOrderLineModule,
|
|
71308
71951
|
TransactionCashRegisterOrderLineModule,
|
|
71309
71952
|
TransactionSalesOrderQuotationLineModule,
|
|
@@ -71332,6 +71975,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
71332
71975
|
TransactionToBePickedLineModule,
|
|
71333
71976
|
TransactionPurchaseOverviewLineModule,
|
|
71334
71977
|
TransactionReceiveGoodsLineModule,
|
|
71978
|
+
TransactionInterbranchReceiveGoodsLineModule,
|
|
71335
71979
|
TransactionPurchaseOrderLineModule,
|
|
71336
71980
|
TransactionCashRegisterOrderLineModule,
|
|
71337
71981
|
TransactionSalesOrderQuotationLineModule,
|
|
@@ -71383,7 +72027,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
71383
72027
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderPurchase }, TransactionPurchaseLineComponent],
|
|
71384
72028
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderAllocation }, TransactionGoodsAllocationLineComponent],
|
|
71385
72029
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderReserve }, TransactionReserveGoodsLineComponent],
|
|
71386
|
-
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderReceivedGoods },
|
|
72030
|
+
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderReceivedGoods }, TransactionInterbranchReceiveGoodsLineComponent],
|
|
71387
72031
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderDeliveryNote }, TransactionOrderDeliveryLineComponent],
|
|
71388
72032
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderToBePicked }, TransactionToBePickedLineComponent],
|
|
71389
72033
|
[{ type: TransactionKind.InternalDelivery, category: TransactionTypeCategory.InterbranchOrderPicked }, TransactionPickedLineComponent],
|
|
@@ -73934,6 +74578,82 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
73934
74578
|
args: ['input', { read: InputDatePickerComponent }]
|
|
73935
74579
|
}] } });
|
|
73936
74580
|
|
|
74581
|
+
class TransactionHeaderTargetWarehouseComponent extends TransactionFilterPopupHeaderBaseComponent {
|
|
74582
|
+
transactionHeaderService;
|
|
74583
|
+
transactionEventService;
|
|
74584
|
+
service;
|
|
74585
|
+
iconCacheService;
|
|
74586
|
+
transactionScreenConfigurationService;
|
|
74587
|
+
dictionaryService;
|
|
74588
|
+
imageService;
|
|
74589
|
+
changeDetector;
|
|
74590
|
+
fields = { text: 'description', value: 'warehouseNo' };
|
|
74591
|
+
warehouseModel;
|
|
74592
|
+
codeField = 'warehouseNo';
|
|
74593
|
+
checkField = 'targetWarehouseNumber';
|
|
74594
|
+
propsForLabel = [{ label: 'warehouseNo' }, { label: 'description' }];
|
|
74595
|
+
constructor(transactionHeaderService, transactionEventService, service, iconCacheService, transactionScreenConfigurationService, dictionaryService, imageService, changeDetector) {
|
|
74596
|
+
super(transactionHeaderService, transactionEventService, iconCacheService, transactionScreenConfigurationService, imageService, dictionaryService, service, changeDetector);
|
|
74597
|
+
this.transactionHeaderService = transactionHeaderService;
|
|
74598
|
+
this.transactionEventService = transactionEventService;
|
|
74599
|
+
this.service = service;
|
|
74600
|
+
this.iconCacheService = iconCacheService;
|
|
74601
|
+
this.transactionScreenConfigurationService = transactionScreenConfigurationService;
|
|
74602
|
+
this.dictionaryService = dictionaryService;
|
|
74603
|
+
this.imageService = imageService;
|
|
74604
|
+
this.changeDetector = changeDetector;
|
|
74605
|
+
}
|
|
74606
|
+
ngOnInit() {
|
|
74607
|
+
this.transactionService.getWarehouses().then((warehouses) => {
|
|
74608
|
+
this.collection = warehouses;
|
|
74609
|
+
this._setWarehouseModel();
|
|
74610
|
+
});
|
|
74611
|
+
}
|
|
74612
|
+
_setWarehouseModel() {
|
|
74613
|
+
this.warehouseModel = this.collection.find(w => w.warehouseNo === (isNaN(this.transactionInfo.targetWarehouseNumber) ? null : this.transactionInfo.targetWarehouseNumber));
|
|
74614
|
+
}
|
|
74615
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderTargetWarehouseComponent, deps: [{ token: TransactionHeaderService }, { token: TransactionEventService }, { token: TransactionService }, { token: IconCacheService }, { token: TransactionScreenConfigurationService }, { token: DictionaryService }, { token: TransactionImageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
74616
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TransactionHeaderTargetWarehouseComponent, isStandalone: false, selector: "co-transaction-header-target-warehouse", providers: [{
|
|
74617
|
+
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
74618
|
+
useExisting: forwardRef(() => TransactionHeaderTargetWarehouseComponent)
|
|
74619
|
+
}], usesInheritance: true, ngImport: i0, template: `
|
|
74620
|
+
<co-list-of-values
|
|
74621
|
+
[hidden]="hidden"
|
|
74622
|
+
[readonly]="true"
|
|
74623
|
+
[disabled]="true"
|
|
74624
|
+
[label]="'TARGET_WAREHOUSE' | localize"
|
|
74625
|
+
[collection]="collection"
|
|
74626
|
+
[displayField]="'description'"
|
|
74627
|
+
[model]="warehouseModel"
|
|
74628
|
+
[tooltip]="tooltipMessage"
|
|
74629
|
+
></co-list-of-values>
|
|
74630
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip"] }, { kind: "component", type: i1$1.ListOfValuesComponent, selector: "co-list-of-values", inputs: ["model", "multiselect", "showToggleAll", "largeCollection", "displayField", "optionIcon", "collection", "collectionLoadFn", "collectionLoadFnProp", "leftIconData", "searchPlaceholder", "searchDisabled", "showChips"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
74631
|
+
}
|
|
74632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderTargetWarehouseComponent, decorators: [{
|
|
74633
|
+
type: Component,
|
|
74634
|
+
args: [{
|
|
74635
|
+
selector: 'co-transaction-header-target-warehouse',
|
|
74636
|
+
template: `
|
|
74637
|
+
<co-list-of-values
|
|
74638
|
+
[hidden]="hidden"
|
|
74639
|
+
[readonly]="true"
|
|
74640
|
+
[disabled]="true"
|
|
74641
|
+
[label]="'TARGET_WAREHOUSE' | localize"
|
|
74642
|
+
[collection]="collection"
|
|
74643
|
+
[displayField]="'description'"
|
|
74644
|
+
[model]="warehouseModel"
|
|
74645
|
+
[tooltip]="tooltipMessage"
|
|
74646
|
+
></co-list-of-values>
|
|
74647
|
+
`,
|
|
74648
|
+
providers: [{
|
|
74649
|
+
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
74650
|
+
useExisting: forwardRef(() => TransactionHeaderTargetWarehouseComponent)
|
|
74651
|
+
}],
|
|
74652
|
+
encapsulation: ViewEncapsulation.None,
|
|
74653
|
+
standalone: false
|
|
74654
|
+
}]
|
|
74655
|
+
}], ctorParameters: () => [{ type: TransactionHeaderService }, { type: TransactionEventService }, { type: TransactionService }, { type: IconCacheService }, { type: TransactionScreenConfigurationService }, { type: DictionaryService }, { type: TransactionImageService }, { type: i0.ChangeDetectorRef }] });
|
|
74656
|
+
|
|
73937
74657
|
class ProjectCodeyModalComponent {
|
|
73938
74658
|
iconCacheService;
|
|
73939
74659
|
transactionService;
|
|
@@ -74182,6 +74902,9 @@ class TransactionHeaderPopupOrderComponent extends TransactionHeaderPopupBaseCom
|
|
|
74182
74902
|
>
|
|
74183
74903
|
</co-button>
|
|
74184
74904
|
</div>
|
|
74905
|
+
@if (transactionInfo.transactionKind === transKind.InternalDelivery) {
|
|
74906
|
+
<co-transaction-header-target-warehouse></co-transaction-header-target-warehouse>
|
|
74907
|
+
}
|
|
74185
74908
|
</div>
|
|
74186
74909
|
</div>
|
|
74187
74910
|
@if (transactionInfo.transactionKind === transKind.SalesQuotation) {
|
|
@@ -74205,7 +74928,7 @@ class TransactionHeaderPopupOrderComponent extends TransactionHeaderPopupBaseCom
|
|
|
74205
74928
|
</co-project-code-modal>
|
|
74206
74929
|
}
|
|
74207
74930
|
</div>
|
|
74208
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.FormComponent, selector: "co-form", inputs: ["readonly", "keepInView"], outputs: ["onChange", "validSubmit", "anySubmit", "validityChange", "readonlyChange", "invalidSubmit"] }, { kind: "component", type: TransactionHeaderBranchComponent, selector: "co-transaction-header-branch", inputs: ["simple", "readonlyOverride"] }, { kind: "component", type: TransactionHeaderSalesPersonComponent, selector: "co-transaction-header-sales-person", inputs: ["label"] }, { kind: "component", type: TransactionHeaderAdministrativeRelationComponent, selector: "co-transaction-header-administrative-relation" }, { kind: "component", type: TransactionHeaderPriceKindComponent, selector: "co-transaction-header-price-kind" }, { kind: "component", type: TransactionHeaderCurrencyComponent, selector: "co-transaction-header-currency" }, { kind: "component", type: TransactionHeaderTypeComponent, selector: "co-transaction-header-type" }, { kind: "component", type: TransactionHeaderPaymentConditionComponent, selector: "co-transaction-header-payment-condition" }, { kind: "component", type: TransactionHeaderHoldCodesComponent, selector: "co-transaction-header-hold-codes" }, { kind: "component", type: TransactionHeaderMarketingComponent, selector: "co-transaction-header-marketing" }, { kind: "component", type: i1$1.ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }, { kind: "component", type: TransactionHeaderDefinitiveComponent, selector: "co-transaction-header-definitive", inputs: ["onlyIcon"] }, { kind: "component", type: TransactionHeaderScoringChanceComponent, selector: "co-transaction-header-scoring-chance" }, { kind: "component", type: TransactionHeaderRetailStadiumComponent, selector: "co-transaction-header-retail-stadium" }, { kind: "component", type: TransactionHeaderScoringDateComponent, selector: "co-transaction-header-scoring-date" }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionHeaderProjectCodeComponent, selector: "co-transaction-header-project-code" }, { kind: "component", type: TransactionHeaderRelationDateComponent, selector: "co-transaction-header-relation-date" }, { kind: "component", type: ProjectCodeyModalComponent, selector: "co-project-code-modal", outputs: ["showProjectCodeModal", "projectCodeAdded"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
74931
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.FormComponent, selector: "co-form", inputs: ["readonly", "keepInView"], outputs: ["onChange", "validSubmit", "anySubmit", "validityChange", "readonlyChange", "invalidSubmit"] }, { kind: "component", type: TransactionHeaderBranchComponent, selector: "co-transaction-header-branch", inputs: ["simple", "readonlyOverride"] }, { kind: "component", type: TransactionHeaderSalesPersonComponent, selector: "co-transaction-header-sales-person", inputs: ["label"] }, { kind: "component", type: TransactionHeaderAdministrativeRelationComponent, selector: "co-transaction-header-administrative-relation" }, { kind: "component", type: TransactionHeaderPriceKindComponent, selector: "co-transaction-header-price-kind" }, { kind: "component", type: TransactionHeaderCurrencyComponent, selector: "co-transaction-header-currency" }, { kind: "component", type: TransactionHeaderTypeComponent, selector: "co-transaction-header-type" }, { kind: "component", type: TransactionHeaderPaymentConditionComponent, selector: "co-transaction-header-payment-condition" }, { kind: "component", type: TransactionHeaderHoldCodesComponent, selector: "co-transaction-header-hold-codes" }, { kind: "component", type: TransactionHeaderMarketingComponent, selector: "co-transaction-header-marketing" }, { kind: "component", type: i1$1.ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }, { kind: "component", type: TransactionHeaderDefinitiveComponent, selector: "co-transaction-header-definitive", inputs: ["onlyIcon"] }, { kind: "component", type: TransactionHeaderScoringChanceComponent, selector: "co-transaction-header-scoring-chance" }, { kind: "component", type: TransactionHeaderRetailStadiumComponent, selector: "co-transaction-header-retail-stadium" }, { kind: "component", type: TransactionHeaderScoringDateComponent, selector: "co-transaction-header-scoring-date" }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionHeaderProjectCodeComponent, selector: "co-transaction-header-project-code" }, { kind: "component", type: TransactionHeaderRelationDateComponent, selector: "co-transaction-header-relation-date" }, { kind: "component", type: TransactionHeaderTargetWarehouseComponent, selector: "co-transaction-header-target-warehouse" }, { kind: "component", type: ProjectCodeyModalComponent, selector: "co-project-code-modal", outputs: ["showProjectCodeModal", "projectCodeAdded"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
74209
74932
|
}
|
|
74210
74933
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderPopupOrderComponent, decorators: [{
|
|
74211
74934
|
type: Component,
|
|
@@ -74252,6 +74975,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
74252
74975
|
>
|
|
74253
74976
|
</co-button>
|
|
74254
74977
|
</div>
|
|
74978
|
+
@if (transactionInfo.transactionKind === transKind.InternalDelivery) {
|
|
74979
|
+
<co-transaction-header-target-warehouse></co-transaction-header-target-warehouse>
|
|
74980
|
+
}
|
|
74255
74981
|
</div>
|
|
74256
74982
|
</div>
|
|
74257
74983
|
@if (transactionInfo.transactionKind === transKind.SalesQuotation) {
|
|
@@ -79656,6 +80382,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
79656
80382
|
}]
|
|
79657
80383
|
}] });
|
|
79658
80384
|
|
|
80385
|
+
class TransactionHeaderTargetWarehouseModule {
|
|
80386
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderTargetWarehouseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
80387
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderTargetWarehouseModule, declarations: [TransactionHeaderTargetWarehouseComponent], imports: [CommonModule,
|
|
80388
|
+
PipeModule,
|
|
80389
|
+
InputCheckboxModule,
|
|
80390
|
+
TransactionLineCheckboxModule,
|
|
80391
|
+
TooltipDirectiveModule,
|
|
80392
|
+
ListOfValuesModule,
|
|
80393
|
+
ScreenConfigurationModule], exports: [TransactionHeaderTargetWarehouseComponent] });
|
|
80394
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderTargetWarehouseModule, imports: [CommonModule,
|
|
80395
|
+
PipeModule,
|
|
80396
|
+
InputCheckboxModule,
|
|
80397
|
+
TransactionLineCheckboxModule,
|
|
80398
|
+
TooltipDirectiveModule,
|
|
80399
|
+
ListOfValuesModule,
|
|
80400
|
+
ScreenConfigurationModule] });
|
|
80401
|
+
}
|
|
80402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderTargetWarehouseModule, decorators: [{
|
|
80403
|
+
type: NgModule,
|
|
80404
|
+
args: [{
|
|
80405
|
+
imports: [
|
|
80406
|
+
CommonModule,
|
|
80407
|
+
PipeModule,
|
|
80408
|
+
InputCheckboxModule,
|
|
80409
|
+
TransactionLineCheckboxModule,
|
|
80410
|
+
TooltipDirectiveModule,
|
|
80411
|
+
ListOfValuesModule,
|
|
80412
|
+
ScreenConfigurationModule
|
|
80413
|
+
],
|
|
80414
|
+
declarations: [
|
|
80415
|
+
TransactionHeaderTargetWarehouseComponent
|
|
80416
|
+
],
|
|
80417
|
+
exports: [
|
|
80418
|
+
TransactionHeaderTargetWarehouseComponent
|
|
80419
|
+
]
|
|
80420
|
+
}]
|
|
80421
|
+
}] });
|
|
80422
|
+
|
|
79659
80423
|
class TransactionHeaderPopupModule {
|
|
79660
80424
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
79661
80425
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderPopupModule, declarations: [TransactionHeaderPopupComponent,
|
|
@@ -79730,7 +80494,8 @@ class TransactionHeaderPopupModule {
|
|
|
79730
80494
|
TransactionHeaderAssemblyDateModule,
|
|
79731
80495
|
TransactionHeaderTotalAssemblyTimeModule,
|
|
79732
80496
|
TransactionHeaderDistrictModule,
|
|
79733
|
-
TransactionHeaderRelationDateModule
|
|
80497
|
+
TransactionHeaderRelationDateModule,
|
|
80498
|
+
TransactionHeaderTargetWarehouseModule], exports: [TransactionHeaderPopupComponent,
|
|
79734
80499
|
TransactionHeaderPopupRelationComponent] });
|
|
79735
80500
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderPopupModule, imports: [CommonModule,
|
|
79736
80501
|
CoDialogModule,
|
|
@@ -79798,7 +80563,8 @@ class TransactionHeaderPopupModule {
|
|
|
79798
80563
|
TransactionHeaderAssemblyDateModule,
|
|
79799
80564
|
TransactionHeaderTotalAssemblyTimeModule,
|
|
79800
80565
|
TransactionHeaderDistrictModule,
|
|
79801
|
-
TransactionHeaderRelationDateModule
|
|
80566
|
+
TransactionHeaderRelationDateModule,
|
|
80567
|
+
TransactionHeaderTargetWarehouseModule] });
|
|
79802
80568
|
}
|
|
79803
80569
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderPopupModule, decorators: [{
|
|
79804
80570
|
type: NgModule,
|
|
@@ -79870,7 +80636,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
79870
80636
|
TransactionHeaderAssemblyDateModule,
|
|
79871
80637
|
TransactionHeaderTotalAssemblyTimeModule,
|
|
79872
80638
|
TransactionHeaderDistrictModule,
|
|
79873
|
-
TransactionHeaderRelationDateModule
|
|
80639
|
+
TransactionHeaderRelationDateModule,
|
|
80640
|
+
TransactionHeaderTargetWarehouseModule
|
|
79874
80641
|
],
|
|
79875
80642
|
declarations: [
|
|
79876
80643
|
TransactionHeaderPopupComponent,
|
|
@@ -90793,39 +91560,31 @@ class TransactionQuickAccessInterbranchReceivedGoodsComponent extends Transactio
|
|
|
90793
91560
|
transactionInfoSet() {
|
|
90794
91561
|
super.transactionInfoSet();
|
|
90795
91562
|
this.internalParamMLocat = this.transactionService.internalParameterMLocat;
|
|
90796
|
-
this.
|
|
91563
|
+
this.getLocations(this.transactionInfo.targetWarehouseNumber);
|
|
90797
91564
|
this.checkAndSetNoColliStickers();
|
|
90798
91565
|
}
|
|
90799
91566
|
combinedDocument(request, localPrint) { }
|
|
90800
|
-
|
|
90801
|
-
|
|
90802
|
-
if (warehouse !== null) {
|
|
90803
|
-
this.locationSelectVisible = true;
|
|
90804
|
-
this.getLocations(warehouse);
|
|
90805
|
-
}
|
|
90806
|
-
else {
|
|
90807
|
-
this.locationSelectVisible = false;
|
|
90808
|
-
}
|
|
91567
|
+
setLocations() {
|
|
91568
|
+
this.getLocations(this.transactionInfo.targetWarehouseNumber);
|
|
90809
91569
|
}
|
|
90810
91570
|
//check if there is only one warehouse set to all of the article lines and return it if so.
|
|
90811
|
-
getIsSingleLineWarehouse() {
|
|
90812
|
-
|
|
91571
|
+
/*private getIsSingleLineWarehouse(): number {
|
|
91572
|
+
if (!(this.transactionLines) || this.transactionLines.length === 0) {
|
|
91573
|
+
return null;
|
|
91574
|
+
}
|
|
91575
|
+
|
|
91576
|
+
let warehouseNr: number;
|
|
91577
|
+
for (const l of this.transactionLines) {
|
|
91578
|
+
if (l.lineType === TransactionLineType.ArticleLine && l.quantityToReceive !== 0) {
|
|
91579
|
+
if (!isNaN(warehouseNr) && warehouseNr !== l.warehouseNumber) {
|
|
90813
91580
|
return null;
|
|
91581
|
+
} else {
|
|
91582
|
+
warehouseNr = l.warehouseNumber;
|
|
91583
|
+
}
|
|
90814
91584
|
}
|
|
90815
|
-
|
|
90816
|
-
|
|
90817
|
-
|
|
90818
|
-
if (!isNaN(warehouseNr) && warehouseNr !== l.warehouseNumber) {
|
|
90819
|
-
return null;
|
|
90820
|
-
}
|
|
90821
|
-
else {
|
|
90822
|
-
warehouseNr = l.warehouseNumber;
|
|
90823
|
-
}
|
|
90824
|
-
}
|
|
90825
|
-
}
|
|
90826
|
-
;
|
|
90827
|
-
return warehouseNr;
|
|
90828
|
-
}
|
|
91585
|
+
};
|
|
91586
|
+
return warehouseNr;
|
|
91587
|
+
}*/
|
|
90829
91588
|
async getLocations(warehouse) {
|
|
90830
91589
|
this.locationCollection = await this.articleService.getWarehouseLocations(warehouse);
|
|
90831
91590
|
}
|
|
@@ -90866,14 +91625,12 @@ class TransactionQuickAccessInterbranchReceivedGoodsComponent extends Transactio
|
|
|
90866
91625
|
[placeholder]="'PACKING_SLIP' | localize"
|
|
90867
91626
|
[(model)]="packingSlipNr"
|
|
90868
91627
|
></co-input-text>
|
|
90869
|
-
|
|
90870
|
-
|
|
90871
|
-
|
|
90872
|
-
|
|
90873
|
-
|
|
90874
|
-
|
|
90875
|
-
></co-list-of-values>
|
|
90876
|
-
}
|
|
91628
|
+
<co-list-of-values [model]="location"
|
|
91629
|
+
[collection]="locationCollection"
|
|
91630
|
+
[displayField]="'locationNo'"
|
|
91631
|
+
[label]="'LOCATION' | localize"
|
|
91632
|
+
(modelChange)="locationChanged($event)"
|
|
91633
|
+
></co-list-of-values>
|
|
90877
91634
|
<co-quick-send-button
|
|
90878
91635
|
[showSendMethodIcon]="false"
|
|
90879
91636
|
[icon]="icons.CheckDuotone"
|
|
@@ -90937,14 +91694,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
90937
91694
|
[placeholder]="'PACKING_SLIP' | localize"
|
|
90938
91695
|
[(model)]="packingSlipNr"
|
|
90939
91696
|
></co-input-text>
|
|
90940
|
-
|
|
90941
|
-
|
|
90942
|
-
|
|
90943
|
-
|
|
90944
|
-
|
|
90945
|
-
|
|
90946
|
-
></co-list-of-values>
|
|
90947
|
-
}
|
|
91697
|
+
<co-list-of-values [model]="location"
|
|
91698
|
+
[collection]="locationCollection"
|
|
91699
|
+
[displayField]="'locationNo'"
|
|
91700
|
+
[label]="'LOCATION' | localize"
|
|
91701
|
+
(modelChange)="locationChanged($event)"
|
|
91702
|
+
></co-list-of-values>
|
|
90948
91703
|
<co-quick-send-button
|
|
90949
91704
|
[showSendMethodIcon]="false"
|
|
90950
91705
|
[icon]="icons.CheckDuotone"
|