@colijnit/sharedcomponents 1.0.41 → 1.0.43
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-sharedcomponents.umd.js +298 -134
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +58 -56
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +59 -57
- package/esm2015/lib/components/statusbar/statusbar.component.js +3 -3
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +14 -14
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +14 -14
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +14 -14
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +7 -7
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +14 -14
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +9 -9
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +14 -14
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +29 -18
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +8 -9
- package/esm2015/lib/components/stock/localization/localize.pipe.js +26 -0
- package/esm2015/lib/components/stock/localization/localize.service.js +30 -0
- package/esm2015/lib/components/stock/localization/translation.js +55 -0
- package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +6 -7
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +9 -12
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +61 -61
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +26 -18
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +5 -5
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +12 -12
- package/esm2015/lib/components/stock/stock.component.js +11 -3
- package/esm2015/lib/components/stock/stock.module.js +10 -5
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +54 -13
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +4 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/colijnit-sharedcomponents.js +405 -234
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/statusbar/statusbar.component.d.ts +1 -0
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +4 -0
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +0 -1
- package/lib/components/stock/localization/localize.pipe.d.ts +7 -0
- package/lib/components/stock/localization/localize.service.d.ts +7 -0
- package/lib/components/stock/localization/translation.d.ts +52 -0
- package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +0 -1
- package/lib/components/stock/stock-information/stock-information.component.d.ts +0 -1
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +8 -13
- package/lib/components/stock/stock.component.d.ts +5 -1
- package/lib/components/stock/style/_layout.scss +13 -4
- package/lib/components/stock/style/_material-definition.scss +3 -0
- package/lib/components/stock-statusbar/style/_layout.scss +2 -3
- package/lib/components/tab-bar/style/_layout.scss +20 -1
- package/lib/components/tab-bar/tab-bar.component.d.ts +16 -1
- package/lib/style/_variables.scss +1 -1
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, Component, ViewEncapsulation, ViewChild, ElementRef, Input, Output, HostBinding, NgModule, Injectable, ChangeDetectorRef, HostListener,
|
|
3
|
+
import { EventEmitter, Component, ViewEncapsulation, ViewChild, ElementRef, Input, Output, HostBinding, NgModule, Injectable, ChangeDetectorRef, HostListener, Pipe, Renderer2, Inject, LOCALE_ID, NgZone, Directive } from '@angular/core';
|
|
4
4
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
5
5
|
import { PDFDocument } from 'pdf-lib';
|
|
6
6
|
import * as PDFJS from 'pdfjs-dist/legacy/build/pdf';
|
|
@@ -23,7 +23,7 @@ import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/factory/bus
|
|
|
23
23
|
import { SendMethod as SendMethod$1 } from '@colijnit/mainapi/build/model/send-method.bo';
|
|
24
24
|
import { PrintStockStickers } from '@colijnit/sharedapi/build/model/print-stock-stickers';
|
|
25
25
|
import { ArticleStock as ArticleStock$1 } from '@colijnit/articleapi/build/model/article-stock';
|
|
26
|
-
import { InputCheckboxModule, IconModule, CoDialogModule, ButtonModule, OverlayService, ClickoutsideModule, OverlayModule, InputComboBoxModule, CoGridModule, InputRadioButtonModule,
|
|
26
|
+
import { InputCheckboxModule, IconModule, CoDialogModule, ButtonModule, DropDownModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputComboBoxModule, CoGridModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, InputDatePickerModule } from '@colijnit/corecomponents_v12';
|
|
27
27
|
import * as i1 from '@angular/platform-browser';
|
|
28
28
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
29
29
|
import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
|
|
@@ -991,12 +991,96 @@ StockService.ctorParameters = () => [
|
|
|
991
991
|
{ type: SharedConnectorService }
|
|
992
992
|
];
|
|
993
993
|
|
|
994
|
+
class Translation {
|
|
995
|
+
constructor() {
|
|
996
|
+
this.ALLOCATED = 'ALLOCATED';
|
|
997
|
+
this.ALLOCATION = 'ALLOCATION';
|
|
998
|
+
this.ALREADY_IN_ORDER = 'ALREADY_IN_ORDER';
|
|
999
|
+
this.AMOUNT = 'AMOUNT';
|
|
1000
|
+
this.AMOUNT_AVAILABLE = 'AMOUNT_AVAILABLE';
|
|
1001
|
+
this.AMOUNT_IN_STOCK = 'AMOUNT_IN_STOCK';
|
|
1002
|
+
this.AMOUNT_LATER_AVAILABLE = 'AMOUNT_LATER_AVAILABLE';
|
|
1003
|
+
this.AVAILABLE_STOCK = 'AVAILABLE_STOCK';
|
|
1004
|
+
this.BACK_TO_STOCK_LINES = 'BACK_TO_STOCK_LINES';
|
|
1005
|
+
this.BATCH = 'BATCH';
|
|
1006
|
+
this.CANCEL = 'CANCEL';
|
|
1007
|
+
this.CHOICES = 'CHOICES';
|
|
1008
|
+
this.CUSTOMER = 'CUSTOMER';
|
|
1009
|
+
this.DATE = 'DATE';
|
|
1010
|
+
this.DELIVERY_DATE = 'DELIVERY_DATE';
|
|
1011
|
+
this.DESCRIPTION = 'DESCRIPTION';
|
|
1012
|
+
this.DOCUMENT_NUMBER = 'DOCUMENT_NUMBER';
|
|
1013
|
+
this.ECONOMICAL_STOCK = 'ECONOMICAL_STOCK';
|
|
1014
|
+
this.FREE_STOCK = 'FREE_STOCK';
|
|
1015
|
+
this.HISTORY = 'HISTORY';
|
|
1016
|
+
this.IN_ORDER = 'IN_ORDER';
|
|
1017
|
+
this.LINE = 'LINE';
|
|
1018
|
+
this.LOCATION = 'LOCATION';
|
|
1019
|
+
this.LOOK_AT = 'LOOK_AT';
|
|
1020
|
+
this.MUTATION_DATE = 'MUTATION_DATE';
|
|
1021
|
+
this.MUTATION_TIME = 'MUTATION_TIME';
|
|
1022
|
+
this.MUTATION_TYPE = 'MUTATION_TYPE';
|
|
1023
|
+
this.OK = 'OK';
|
|
1024
|
+
this.ORDER = 'ORDER';
|
|
1025
|
+
this.ORDER_COMMISSION = 'ORDER_COMMISSION';
|
|
1026
|
+
this.ORDER_STOCK = 'ORDER_STOCK';
|
|
1027
|
+
this.OVERVIEW = 'OVERVIEW';
|
|
1028
|
+
this.PURCHASE_ORDER_NR = 'PURCHASE_ORDER_NR';
|
|
1029
|
+
this.PURCHASE_PRICE = 'PURCHASE_PRICE';
|
|
1030
|
+
this.RELATION_ID = 'RELATION_ID';
|
|
1031
|
+
this.RELATION_NR = 'RELATION_NR';
|
|
1032
|
+
this.RESERVED = 'RESERVED';
|
|
1033
|
+
this.SEARCH = 'SEARCH';
|
|
1034
|
+
this.SERIAL_NO = 'SERIAL_NO';
|
|
1035
|
+
this.STICKER = 'STICKER';
|
|
1036
|
+
this.STOCK = 'STOCK';
|
|
1037
|
+
this.STOCK_DETAILS = 'STOCK_DETAILS';
|
|
1038
|
+
this.STOCK_REMARK = 'STOCK_REMARK';
|
|
1039
|
+
this.STOCK_STATE = 'STOCK_STATE';
|
|
1040
|
+
this.STOCK_STATUS = 'STOCK_STATUS';
|
|
1041
|
+
this.SUPPLIER_NUMBER = 'SUPPLIER_NUMBER';
|
|
1042
|
+
this.TRANSFER = 'TRANSFER';
|
|
1043
|
+
this.USER = 'USER';
|
|
1044
|
+
this.VALUTA = 'VALUTA';
|
|
1045
|
+
this.WAREHOUSE = 'WAREHOUSE';
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
class LocalizeService {
|
|
1050
|
+
constructor() {
|
|
1051
|
+
this._translation = new Translation();
|
|
1052
|
+
}
|
|
1053
|
+
set translation(value) {
|
|
1054
|
+
this._translation = Object.assign(new Translation(), value);
|
|
1055
|
+
}
|
|
1056
|
+
get translation() {
|
|
1057
|
+
return this._translation;
|
|
1058
|
+
}
|
|
1059
|
+
get(key, upperCaseFirst = true, ...replacementTexts) {
|
|
1060
|
+
let text = key;
|
|
1061
|
+
if (this.translation.hasOwnProperty(key)) {
|
|
1062
|
+
text = this.translation[key].toLowerCase();
|
|
1063
|
+
if (upperCaseFirst) {
|
|
1064
|
+
text = text.charAt(0).toUpperCase() + text.slice(1);
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
else {
|
|
1068
|
+
console.log('not found', key);
|
|
1069
|
+
}
|
|
1070
|
+
return text;
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
LocalizeService.decorators = [
|
|
1074
|
+
{ type: Injectable }
|
|
1075
|
+
];
|
|
1076
|
+
|
|
994
1077
|
class StockComponent {
|
|
995
|
-
constructor(stockService, _optionsService, _dictionary, _changeDetector) {
|
|
1078
|
+
constructor(stockService, _optionsService, _dictionary, _changeDetector, _localizeService) {
|
|
996
1079
|
this.stockService = stockService;
|
|
997
1080
|
this._optionsService = _optionsService;
|
|
998
1081
|
this._dictionary = _dictionary;
|
|
999
1082
|
this._changeDetector = _changeDetector;
|
|
1083
|
+
this._localizeService = _localizeService;
|
|
1000
1084
|
this.handleStickerClicked = new EventEmitter();
|
|
1001
1085
|
this.okButtonClicked = new EventEmitter();
|
|
1002
1086
|
this.cancelButtonClicked = new EventEmitter();
|
|
@@ -1008,6 +1092,10 @@ class StockComponent {
|
|
|
1008
1092
|
this._subscriptions = [];
|
|
1009
1093
|
this._subscriptions.push(this._optionsService.optionsLoaded.subscribe(loaded => this._handleSettingsLoaded(loaded)));
|
|
1010
1094
|
}
|
|
1095
|
+
set translation(value) {
|
|
1096
|
+
this._localizeService.translation = value;
|
|
1097
|
+
this._changeDetector.markForCheck();
|
|
1098
|
+
}
|
|
1011
1099
|
set article(article) {
|
|
1012
1100
|
this.articleExtended = article;
|
|
1013
1101
|
this.getStockInformation(article);
|
|
@@ -1120,10 +1208,12 @@ StockComponent.ctorParameters = () => [
|
|
|
1120
1208
|
{ type: StockService },
|
|
1121
1209
|
{ type: OptionsService },
|
|
1122
1210
|
{ type: DictionaryService },
|
|
1123
|
-
{ type: ChangeDetectorRef }
|
|
1211
|
+
{ type: ChangeDetectorRef },
|
|
1212
|
+
{ type: LocalizeService }
|
|
1124
1213
|
];
|
|
1125
1214
|
StockComponent.propDecorators = {
|
|
1126
1215
|
stock: [{ type: ViewChild, args: [StockComponent,] }],
|
|
1216
|
+
translation: [{ type: Input }],
|
|
1127
1217
|
handleStickerClicked: [{ type: Output }],
|
|
1128
1218
|
article: [{ type: Input }],
|
|
1129
1219
|
articleWarehouse: [{ type: Input }],
|
|
@@ -1134,8 +1224,6 @@ StockComponent.propDecorators = {
|
|
|
1134
1224
|
};
|
|
1135
1225
|
|
|
1136
1226
|
class StockInformationComponent {
|
|
1137
|
-
constructor() {
|
|
1138
|
-
}
|
|
1139
1227
|
}
|
|
1140
1228
|
StockInformationComponent.decorators = [
|
|
1141
1229
|
{ type: Component, args: [{
|
|
@@ -1158,28 +1246,27 @@ StockInformationComponent.decorators = [
|
|
|
1158
1246
|
</div>
|
|
1159
1247
|
</div>
|
|
1160
1248
|
<div class="stock-status">
|
|
1161
|
-
<label [textContent]="'STOCK_STATUS'"></label>
|
|
1162
|
-
<span [textContent]="article.stockStatus"></span>
|
|
1249
|
+
<label class="stock-label" [textContent]="'STOCK_STATUS' | localize"></label>
|
|
1250
|
+
<span class="stock-span" [textContent]="article.stockStatus"></span>
|
|
1163
1251
|
<co-stock-statusbar [value]="articleStockState"></co-stock-statusbar>
|
|
1164
1252
|
</div>
|
|
1165
1253
|
<div class="stock-status">
|
|
1166
|
-
<label [textContent]="'AMOUNT_IN_STOCK'"></label>
|
|
1167
|
-
<span [textContent]="allTechnicalStockInformation"></span>
|
|
1254
|
+
<label class="stock-label" [textContent]="'AMOUNT_IN_STOCK' | localize"></label>
|
|
1255
|
+
<span class="stock-span" [textContent]="allTechnicalStockInformation"></span>
|
|
1168
1256
|
</div>
|
|
1169
1257
|
<div class="stock-status">
|
|
1170
|
-
<label [textContent]="'AMOUNT_AVAILABLE'"></label>
|
|
1171
|
-
<span [textContent]="allAvailableStockInformation"></span>
|
|
1258
|
+
<label class="stock-label" [textContent]="'AMOUNT_AVAILABLE' | localize"></label>
|
|
1259
|
+
<span class="stock-span" [textContent]="allAvailableStockInformation"></span>
|
|
1172
1260
|
</div>
|
|
1173
1261
|
<div class="stock-status">
|
|
1174
|
-
<label [textContent]="'AMOUNT_LATER_AVAILABLE'"></label>
|
|
1175
|
-
<span [textContent]=""></span>
|
|
1262
|
+
<label class="stock-label" [textContent]="'AMOUNT_LATER_AVAILABLE' | localize"></label>
|
|
1263
|
+
<span class="stock-span" [textContent]=""></span>
|
|
1176
1264
|
</div>
|
|
1177
1265
|
</div>
|
|
1178
1266
|
`,
|
|
1179
1267
|
encapsulation: ViewEncapsulation.None
|
|
1180
1268
|
},] }
|
|
1181
1269
|
];
|
|
1182
|
-
StockInformationComponent.ctorParameters = () => [];
|
|
1183
1270
|
StockInformationComponent.propDecorators = {
|
|
1184
1271
|
article: [{ type: Input }],
|
|
1185
1272
|
articleStockState: [{ type: Input }],
|
|
@@ -1484,14 +1571,14 @@ StockInformationGridComponent.decorators = [
|
|
|
1484
1571
|
class="simple-grid"
|
|
1485
1572
|
[rowsPerPage]="20"
|
|
1486
1573
|
>
|
|
1487
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'warehouseNo'" [order]="10"></co-simple-grid-column>
|
|
1488
|
-
<co-simple-grid-column [headerText]="'DESCRIPTION'" [field]="'warehouseName'" [order]="11"></co-simple-grid-column>
|
|
1489
|
-
<co-simple-grid-column [headerText]="'STOCK'" [field]="'technicalStock'" [order]="12"></co-simple-grid-column>
|
|
1490
|
-
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'availableStock'" [order]="13"></co-simple-grid-column>
|
|
1491
|
-
<co-simple-grid-column [headerText]="'ECONOMICAL_STOCK'" [field]="'economicalStock'" [order]="14"></co-simple-grid-column>
|
|
1492
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNo'" [order]="15">
|
|
1574
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNo'" [order]="10"></co-simple-grid-column>
|
|
1575
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [field]="'warehouseName'" [order]="11"></co-simple-grid-column>
|
|
1576
|
+
<co-simple-grid-column [headerText]="'STOCK' | localize" [field]="'technicalStock'" [order]="12"></co-simple-grid-column>
|
|
1577
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK' | localize" [field]="'availableStock'" [order]="13"></co-simple-grid-column>
|
|
1578
|
+
<co-simple-grid-column [headerText]="'ECONOMICAL_STOCK' | localize" [field]="'economicalStock'" [order]="14"></co-simple-grid-column>
|
|
1579
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'" [order]="15">
|
|
1493
1580
|
<ng-template #template let-row="row">
|
|
1494
|
-
<span class="location-link" [textContent]="'
|
|
1581
|
+
<span class="location-link" [textContent]="'LOOK_AT' | localize" (click)="onLocationClick(row)"></span>
|
|
1495
1582
|
</ng-template>
|
|
1496
1583
|
</co-simple-grid-column>
|
|
1497
1584
|
</co-simple-grid>
|
|
@@ -1501,22 +1588,22 @@ StockInformationGridComponent.decorators = [
|
|
|
1501
1588
|
class="simple-grid"
|
|
1502
1589
|
[rowsPerPage]="20"
|
|
1503
1590
|
>
|
|
1504
|
-
<co-simple-grid-column [headerText]="'
|
|
1505
|
-
<co-simple-grid-column [headerText]="'CUSTOMER'" [field]="'customerName'"></co-simple-grid-column>
|
|
1506
|
-
<co-simple-grid-column [headerText]="'DATE'">
|
|
1591
|
+
<co-simple-grid-column [headerText]="'IN_ORDER' | localize" [field]="'transactionNr'"></co-simple-grid-column>
|
|
1592
|
+
<co-simple-grid-column [headerText]="'CUSTOMER' | localize" [field]="'customerName'"></co-simple-grid-column>
|
|
1593
|
+
<co-simple-grid-column [headerText]="'DATE' | localize">
|
|
1507
1594
|
<ng-template #template let-row="row">
|
|
1508
1595
|
<span [textContent]="row.transactionDate | date:'dd-MM-yyyy'"></span>
|
|
1509
1596
|
</ng-template>
|
|
1510
1597
|
</co-simple-grid-column>
|
|
1511
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
1512
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'warehouseNumber'"></co-simple-grid-column>
|
|
1513
|
-
<co-simple-grid-column [headerText]="'DESCRIPTION'" [field]="'warehouseDescription'"></co-simple-grid-column>
|
|
1514
|
-
<co-simple-grid-column [headerText]="'TRANSFER'" [field]="'transfer'">
|
|
1598
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
1599
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNumber'"></co-simple-grid-column>
|
|
1600
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [field]="'warehouseDescription'"></co-simple-grid-column>
|
|
1601
|
+
<co-simple-grid-column [headerText]="'TRANSFER' | localize" [field]="'transfer'">
|
|
1515
1602
|
<ng-template #template let-row="row">
|
|
1516
1603
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)" (click)="handleStockTransferClick($event)"></co-icon>
|
|
1517
1604
|
</ng-template>
|
|
1518
1605
|
</co-simple-grid-column>
|
|
1519
|
-
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
1606
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
1520
1607
|
<ng-template #template let-row="row">
|
|
1521
1608
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog(row)"></co-icon>
|
|
1522
1609
|
</ng-template>
|
|
@@ -1528,16 +1615,16 @@ StockInformationGridComponent.decorators = [
|
|
|
1528
1615
|
class="simple-grid"
|
|
1529
1616
|
[rowsPerPage]="20"
|
|
1530
1617
|
>
|
|
1531
|
-
<co-simple-grid-column [headerText]="'PURCHASE_ORDER_NR'" [field]="'transactionNr'"></co-simple-grid-column>
|
|
1532
|
-
<co-simple-grid-column [headerText]="'DATE'">
|
|
1618
|
+
<co-simple-grid-column [headerText]="'PURCHASE_ORDER_NR' | localize" [field]="'transactionNr'"></co-simple-grid-column>
|
|
1619
|
+
<co-simple-grid-column [headerText]="'DATE' | localize">
|
|
1533
1620
|
<ng-template #template let-row="row">
|
|
1534
1621
|
<span [textContent]="row.transactionDate | date:'dd-MM-yyyy'"></span>
|
|
1535
1622
|
</ng-template>
|
|
1536
1623
|
</co-simple-grid-column>
|
|
1537
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
1538
|
-
<co-simple-grid-column [headerText]="'RESERVED'" [field]="'reserved'"></co-simple-grid-column>
|
|
1539
|
-
<co-simple-grid-column [headerText]="'FREE_STOCK'" [field]="'InOrderForStock'"></co-simple-grid-column>
|
|
1540
|
-
<co-simple-grid-column [headerText]="'
|
|
1624
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
1625
|
+
<co-simple-grid-column [headerText]="'RESERVED' | localize" [field]="'reserved'"></co-simple-grid-column>
|
|
1626
|
+
<co-simple-grid-column [headerText]="'FREE_STOCK' | localize" [field]="'InOrderForStock'"></co-simple-grid-column>
|
|
1627
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize">
|
|
1541
1628
|
<ng-template #template let-row="row">
|
|
1542
1629
|
<span [textContent]="row.deliveryDate | date:'dd-MM-yyyy'"></span>
|
|
1543
1630
|
</ng-template>
|
|
@@ -1548,13 +1635,13 @@ StockInformationGridComponent.decorators = [
|
|
|
1548
1635
|
<div class="stock-grid" *ngIf="hideOrShowLocationTab">
|
|
1549
1636
|
<div class="stock-location-group">
|
|
1550
1637
|
<div class="stock-location-left-group">
|
|
1551
|
-
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES'" (click)="handleBackToStockClick()"></span>
|
|
1638
|
+
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES' | localize" (click)="handleBackToStockClick()"></span>
|
|
1552
1639
|
</div>
|
|
1553
1640
|
<div class="stock-location-right-group">
|
|
1554
1641
|
<co-drop-down-list [(model)]="selectedWarehouse"
|
|
1555
1642
|
[collection]="dataWareHouseCode"
|
|
1556
1643
|
[fields]="dataWareHouseFields"
|
|
1557
|
-
[placeholder]="'WAREHOUSE'"
|
|
1644
|
+
[placeholder]="'WAREHOUSE' | localize"
|
|
1558
1645
|
(modelChange)="onSelectWarehouse($event)"
|
|
1559
1646
|
[required]="true"
|
|
1560
1647
|
></co-drop-down-list>
|
|
@@ -1573,73 +1660,73 @@ StockInformationGridComponent.decorators = [
|
|
|
1573
1660
|
>
|
|
1574
1661
|
<div class="stock-location-group">
|
|
1575
1662
|
<div class="stock-location-left-group">
|
|
1576
|
-
<co-button class="stock-lines-button" [textContent]="'BACK_TO_STOCK_LINES'" (click)="handleBackToStockClick()"></co-button>
|
|
1663
|
+
<co-button class="stock-lines-button" [textContent]="'BACK_TO_STOCK_LINES' | localize" (click)="handleBackToStockClick()"></co-button>
|
|
1577
1664
|
</div>
|
|
1578
1665
|
</div>
|
|
1579
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNo'">
|
|
1666
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'">
|
|
1580
1667
|
<ng-template #editTemplate let-row="row">
|
|
1581
1668
|
<co-drop-down-list [(model)]="row.locationNo"
|
|
1582
1669
|
[collection]="stockLocations"
|
|
1583
1670
|
[fields]="dataLocationFields"
|
|
1584
|
-
[placeholder]="'LOCATION'"
|
|
1671
|
+
[placeholder]="'LOCATION' | localize"
|
|
1585
1672
|
(click)="onLocationDropdownClick()"
|
|
1586
1673
|
[required]="true"
|
|
1587
1674
|
></co-drop-down-list>
|
|
1588
1675
|
</ng-template>
|
|
1589
1676
|
</co-simple-grid-column>
|
|
1590
|
-
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'BATCH'" [field]="'batchNo'">
|
|
1677
|
+
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'BATCH' | localize" [field]="'batchNo'">
|
|
1591
1678
|
<ng-template #editTemplate let-row="row">
|
|
1592
1679
|
<co-input-text [(model)]="row.batchNo"
|
|
1593
|
-
[placeholder]="'BATCH'"
|
|
1680
|
+
[placeholder]="'BATCH' | localize"
|
|
1594
1681
|
></co-input-text>
|
|
1595
1682
|
</ng-template>
|
|
1596
1683
|
</co-simple-grid-column>
|
|
1597
|
-
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'SERIAL_NO'" [field]="'serialNo'">
|
|
1684
|
+
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'SERIAL_NO' | localize" [field]="'serialNo'">
|
|
1598
1685
|
<ng-template #editTemplate let-row="row">
|
|
1599
1686
|
<co-input-text [(model)]="row.serialNo"
|
|
1600
|
-
[placeholder]="'SERIAL_NO'"
|
|
1687
|
+
[placeholder]="'SERIAL_NO' | localize"
|
|
1601
1688
|
></co-input-text>
|
|
1602
1689
|
</ng-template>
|
|
1603
1690
|
</co-simple-grid-column>
|
|
1604
|
-
<co-simple-grid-column [headerText]="'STOCK'" [field]="'amountInStock'">
|
|
1691
|
+
<co-simple-grid-column [headerText]="'STOCK' | localize" [field]="'amountInStock'">
|
|
1605
1692
|
<ng-template #editTemplate let-row="row">
|
|
1606
1693
|
<co-input-text [(model)]="row.amountInStock"
|
|
1607
|
-
[label]="'STOCK'"
|
|
1694
|
+
[label]="'STOCK' | localize"
|
|
1608
1695
|
(modelChange)="amountInStockChanged($event)"
|
|
1609
1696
|
></co-input-text>
|
|
1610
1697
|
</ng-template>
|
|
1611
1698
|
</co-simple-grid-column>
|
|
1612
|
-
<co-simple-grid-column [headerText]="'ALLOCATED'" [field]="'stockAssigned'">
|
|
1699
|
+
<co-simple-grid-column [headerText]="'ALLOCATED' | localize" [field]="'stockAssigned'">
|
|
1613
1700
|
<ng-template #editTemplate let-row="row">
|
|
1614
1701
|
<span [textContent]="row.stockAssigned"></span>
|
|
1615
1702
|
</ng-template>
|
|
1616
1703
|
</co-simple-grid-column>
|
|
1617
|
-
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'amountInStockFree'">
|
|
1704
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK' | localize" [field]="'amountInStockFree'">
|
|
1618
1705
|
<ng-template #editTemplate let-row="row">
|
|
1619
1706
|
<span [textContent]="row.amountInStockFree"></span>
|
|
1620
1707
|
</ng-template>
|
|
1621
1708
|
</co-simple-grid-column>
|
|
1622
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currency'">
|
|
1709
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currency'">
|
|
1623
1710
|
<ng-template #editTemplate let-row="row">
|
|
1624
1711
|
<span [textContent]="row.currency"></span>
|
|
1625
1712
|
</ng-template>
|
|
1626
1713
|
</co-simple-grid-column>
|
|
1627
|
-
<co-simple-grid-column [headerText]="'PURCHASE_PRICE'" [field]="'purchasePrice'">
|
|
1714
|
+
<co-simple-grid-column [headerText]="'PURCHASE_PRICE' | localize" [field]="'purchasePrice'">
|
|
1628
1715
|
<ng-template #editTemplate let-row="row">
|
|
1629
1716
|
<span [textContent]="row.purchasePrice"></span>
|
|
1630
1717
|
</ng-template>
|
|
1631
1718
|
</co-simple-grid-column>
|
|
1632
|
-
<co-simple-grid-column [headerText]="'SUPPLIER_NUMBER'" [field]="'supplierNo'">
|
|
1719
|
+
<co-simple-grid-column [headerText]="'SUPPLIER_NUMBER' | localize" [field]="'supplierNo'">
|
|
1633
1720
|
<ng-template #editTemplate let-row="row">
|
|
1634
1721
|
<span [textContent]="row.supplierNo"></span>
|
|
1635
1722
|
</ng-template>
|
|
1636
1723
|
</co-simple-grid-column>
|
|
1637
|
-
<co-simple-grid-column [headerText]="'TRANSFER'" [field]="'transfer'">
|
|
1724
|
+
<co-simple-grid-column [headerText]="'TRANSFER' | localize" [field]="'transfer'">
|
|
1638
1725
|
<ng-template #template let-row="row">
|
|
1639
1726
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)" (click)="handleStockTransferClick(row)"></co-icon>
|
|
1640
1727
|
</ng-template>
|
|
1641
1728
|
</co-simple-grid-column>
|
|
1642
|
-
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
1729
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
1643
1730
|
<ng-template #template let-row="row">
|
|
1644
1731
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog(row)"></co-icon>
|
|
1645
1732
|
</ng-template>
|
|
@@ -1655,31 +1742,31 @@ StockInformationGridComponent.decorators = [
|
|
|
1655
1742
|
|
|
1656
1743
|
<div class="stock-grid" *ngIf="showStockHistory">
|
|
1657
1744
|
<div class="stock-button-left-group">
|
|
1658
|
-
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES'" (click)="backToStockInformation()"></span>
|
|
1745
|
+
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES' | localize" (click)="backToStockInformation()"></span>
|
|
1659
1746
|
</div>
|
|
1660
1747
|
<co-simple-grid [data]="stockHistoryInformation"
|
|
1661
1748
|
class="simple-grid"
|
|
1662
1749
|
[rowsPerPage]="20"
|
|
1663
1750
|
>
|
|
1664
|
-
<co-simple-grid-column [headerText]="'MUTATION_DATE'">
|
|
1751
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
1665
1752
|
<ng-template #template let-row="row">
|
|
1666
1753
|
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
1667
1754
|
</ng-template>
|
|
1668
1755
|
</co-simple-grid-column>
|
|
1669
|
-
<co-simple-grid-column [headerText]="'MUTATION_TIME'" [field]="'mutationTime'"></co-simple-grid-column>
|
|
1670
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amount'"></co-simple-grid-column>
|
|
1671
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
1672
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNr'"></co-simple-grid-column>
|
|
1673
|
-
<co-simple-grid-column [headerText]="'TRANSACTION_TYPE'" [field]="'transType'"></co-simple-grid-column>
|
|
1674
|
-
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER'" [field]="'docNr'"></co-simple-grid-column>
|
|
1675
|
-
<co-simple-grid-column [headerText]="'LINE'" [field]="'posLineNr'"></co-simple-grid-column>
|
|
1676
|
-
<co-simple-grid-column [headerText]="'STOCK_STATE'" [field]="'stockStateId'"></co-simple-grid-column>
|
|
1677
|
-
<co-simple-grid-column [headerText]="'STOCK_REMARK'" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
1678
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currencyCode'"></co-simple-grid-column>
|
|
1679
|
-
<co-simple-grid-column [headerText]="'RELATION_ID'" [field]="'relationId'"></co-simple-grid-column>
|
|
1680
|
-
<co-simple-grid-column [headerText]="'USER'" [field]="'user'"></co-simple-grid-column>
|
|
1681
|
-
<co-simple-grid-column [headerText]="'MUTATION_TYPE'" [field]="'mutationType'"></co-simple-grid-column>
|
|
1682
|
-
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
1756
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
1757
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
1758
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
1759
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
1760
|
+
<co-simple-grid-column [headerText]="'TRANSACTION_TYPE' | localize" [field]="'transType'"></co-simple-grid-column>
|
|
1761
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
1762
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'posLineNr'"></co-simple-grid-column>
|
|
1763
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
1764
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
1765
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
1766
|
+
<co-simple-grid-column [headerText]="'RELATION_ID' | localize" [field]="'relationId'"></co-simple-grid-column>
|
|
1767
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
1768
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
1769
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
1683
1770
|
<ng-template #template let-row="row">
|
|
1684
1771
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog(row)"></co-icon>
|
|
1685
1772
|
</ng-template>
|
|
@@ -1689,23 +1776,23 @@ StockInformationGridComponent.decorators = [
|
|
|
1689
1776
|
|
|
1690
1777
|
<div class="stock-button-toolbar">
|
|
1691
1778
|
<div class="stock-button-left-group">
|
|
1692
|
-
<co-button *ngIf="activeTab === tabs[0]" [label]="'HISTORY'" (click)="handleHistoryClick()"></co-button>
|
|
1779
|
+
<co-button *ngIf="activeTab === tabs[0]" [label]="'HISTORY' | localize" (click)="handleHistoryClick()"></co-button>
|
|
1693
1780
|
</div>
|
|
1694
1781
|
<div class="stock-button-middle-group" *ngIf="activeTab !== tabs[0]">
|
|
1695
1782
|
<div class="button-left">
|
|
1696
|
-
<co-button [textContent]="'
|
|
1783
|
+
<co-button [textContent]="'OK' | localize" (click)="onOkClick()"></co-button>
|
|
1697
1784
|
</div>
|
|
1698
1785
|
<div class="button-right">
|
|
1699
|
-
<co-button [textContent]="'
|
|
1786
|
+
<co-button [textContent]="'CANCEL' | localize" (click)="onCancelClick()"></co-button>
|
|
1700
1787
|
</div>
|
|
1701
1788
|
</div>
|
|
1702
1789
|
|
|
1703
1790
|
<div class="stock-button-middle-group" *ngIf="hideOrShowLocationTab">
|
|
1704
1791
|
<div class="button-left">
|
|
1705
|
-
<co-button [textContent]="'
|
|
1792
|
+
<co-button [textContent]="'OK' | localize" (click)="onOkClickSendLocations()"></co-button>
|
|
1706
1793
|
</div>
|
|
1707
1794
|
<div class="button-right">
|
|
1708
|
-
<co-button [textContent]="'
|
|
1795
|
+
<co-button [textContent]="'CANCEL' | localize" (click)="onCancelClickSendLocations()"></co-button>
|
|
1709
1796
|
</div>
|
|
1710
1797
|
</div>
|
|
1711
1798
|
</div>
|
|
@@ -1792,16 +1879,16 @@ StockTransferComponent.decorators = [
|
|
|
1792
1879
|
<div class="stock-transfer-columns">
|
|
1793
1880
|
<div *ngIf="articleToTransfer" class="stock-transfer-left-column">
|
|
1794
1881
|
<co-input-text disabled
|
|
1795
|
-
[label]="'Standaard magazijn'"
|
|
1882
|
+
[label]="'Standaard magazijn' | localize"
|
|
1796
1883
|
[(model)]="articleToTransfer.warehouseDescription"
|
|
1797
1884
|
[textContent]="articleToTransfer.warehouseDescription"
|
|
1798
|
-
[placeholder]="'Standaard magazijn'"
|
|
1885
|
+
[placeholder]="'Standaard magazijn' | localize"
|
|
1799
1886
|
>
|
|
1800
1887
|
</co-input-text>
|
|
1801
1888
|
<co-input-text disabled
|
|
1802
1889
|
[(model)]="articleToTransfer.locationNo"
|
|
1803
1890
|
[textContent]="articleToTransfer.locationNo"
|
|
1804
|
-
[placeholder]="'Standaard locatie'">
|
|
1891
|
+
[placeholder]="'Standaard locatie' | localize">
|
|
1805
1892
|
</co-input-text>
|
|
1806
1893
|
<!-- <co-input-text disabled-->
|
|
1807
1894
|
<!-- [(model)]="stockSticker.batch"-->
|
|
@@ -1813,7 +1900,7 @@ StockTransferComponent.decorators = [
|
|
|
1813
1900
|
<!-- </co-input-text>-->
|
|
1814
1901
|
<co-input-text
|
|
1815
1902
|
[(model)]="articleToTransfer.amountTransfer"
|
|
1816
|
-
[placeholder]="'Aantal'">
|
|
1903
|
+
[placeholder]="'Aantal' | localize">
|
|
1817
1904
|
</co-input-text>
|
|
1818
1905
|
</div>
|
|
1819
1906
|
|
|
@@ -1821,31 +1908,31 @@ StockTransferComponent.decorators = [
|
|
|
1821
1908
|
<co-drop-down-list [collection]="warehouses"
|
|
1822
1909
|
[fields]="allWarehousesDropdownFields"
|
|
1823
1910
|
(modelChange)="handleSelectedWarehouse($event)"
|
|
1824
|
-
[placeholder]="'Magazijn'"
|
|
1911
|
+
[placeholder]="'Magazijn' | localize"
|
|
1825
1912
|
[(model)]="articleToTransfer.targetWarehouse">
|
|
1826
1913
|
</co-drop-down-list>
|
|
1827
1914
|
<co-drop-down-list [collection]="locations"
|
|
1828
1915
|
[fields]="allLocationDropdownFields"
|
|
1829
1916
|
[(model)]="articleToTransfer.targetLocation"
|
|
1830
|
-
[placeholder]="'Locatie'"
|
|
1917
|
+
[placeholder]="'Locatie' | localize"
|
|
1831
1918
|
>
|
|
1832
1919
|
</co-drop-down-list>
|
|
1833
1920
|
<co-drop-down-list [collection]="stockState"
|
|
1834
1921
|
[fields]="stockStateDropdownField"
|
|
1835
|
-
[placeholder]="'Voorraadstatus'"
|
|
1922
|
+
[placeholder]="'Voorraadstatus' | localize"
|
|
1836
1923
|
[(model)]="articleToTransfer.stockStateId"
|
|
1837
1924
|
>
|
|
1838
1925
|
</co-drop-down-list>
|
|
1839
|
-
<co-input-text [placeholder]="'Omschrijving'"
|
|
1926
|
+
<co-input-text [placeholder]="'Omschrijving' | localize"
|
|
1840
1927
|
[(model)]="articleToTransfer.stockStateRemark">
|
|
1841
1928
|
</co-input-text>
|
|
1842
1929
|
</div>
|
|
1843
1930
|
</div>
|
|
1844
1931
|
|
|
1845
1932
|
<div class="ok-cancel-buttons">
|
|
1846
|
-
<co-button [textContent]="'
|
|
1847
|
-
<co-button [textContent]="'
|
|
1848
|
-
<co-button [textContent]="'
|
|
1933
|
+
<co-button [textContent]="'OK' | localize" (click)="handleOkClick(articleToTransfer)"></co-button>
|
|
1934
|
+
<co-button [textContent]="'CANCEL' | localize" (click)="handleCancelClick()"></co-button>
|
|
1935
|
+
<co-button [textContent]="'STICKER' | localize" (click)="handleStickerClick()"></co-button>
|
|
1849
1936
|
</div>
|
|
1850
1937
|
</div>
|
|
1851
1938
|
`,
|
|
@@ -2552,12 +2639,12 @@ StockChangeAmountComponent.decorators = [
|
|
|
2552
2639
|
<div class="stock-transfer">
|
|
2553
2640
|
<co-dialog-wizard [showCloseIcon]="true" (closeClick)="closeDialogClick()">
|
|
2554
2641
|
<ng-container header>
|
|
2555
|
-
<span [textContent]="'STOCK_CHANGE_REASON'"></span>
|
|
2642
|
+
<span [textContent]="'STOCK_CHANGE_REASON' | localize"></span>
|
|
2556
2643
|
</ng-container>
|
|
2557
2644
|
<div class="popup-wrapper">
|
|
2558
2645
|
<co-drop-down-list [collection]="stockState"
|
|
2559
2646
|
[fields]="stockStateDropdownField"
|
|
2560
|
-
[placeholder]="'STOCK_STATE'"
|
|
2647
|
+
[placeholder]="'STOCK_STATE' | localize"
|
|
2561
2648
|
[(model)]="selectedArticleDetailsData.stockStateId"
|
|
2562
2649
|
></co-drop-down-list>
|
|
2563
2650
|
|
|
@@ -2565,8 +2652,8 @@ StockChangeAmountComponent.decorators = [
|
|
|
2565
2652
|
|
|
2566
2653
|
></co-input-textarea>
|
|
2567
2654
|
<div class="ok-cancel-buttons">
|
|
2568
|
-
<co-button [textContent]="'
|
|
2569
|
-
<co-button [textContent]="'
|
|
2655
|
+
<co-button [textContent]="'OK' | localize" (click)="handleOkClick(selectedArticleDetailsData)"></co-button>
|
|
2656
|
+
<co-button [textContent]="'CANCEL' | localize" (click)="handleCancelClick()"></co-button>
|
|
2570
2657
|
</div>
|
|
2571
2658
|
</div>
|
|
2572
2659
|
</co-dialog-wizard>
|
|
@@ -2599,14 +2686,14 @@ StockTabComponent.decorators = [
|
|
|
2599
2686
|
class="simple-grid"
|
|
2600
2687
|
[rowsPerPage]="20"
|
|
2601
2688
|
>
|
|
2602
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'warehouseNo'" [order]="10"></co-simple-grid-column>
|
|
2603
|
-
<co-simple-grid-column [headerText]="'DESCRIPTION'" [field]="'warehouseName'" [order]="11"></co-simple-grid-column>
|
|
2604
|
-
<co-simple-grid-column [headerText]="'STOCK'" [field]="'technicalStock'" [order]="12"></co-simple-grid-column>
|
|
2605
|
-
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'availableStock'" [order]="13"></co-simple-grid-column>
|
|
2606
|
-
<co-simple-grid-column [headerText]="'ECONOMICAL_STOCK'" [field]="'economicalStock'" [order]="14"></co-simple-grid-column>
|
|
2607
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNo'" [order]="15">
|
|
2689
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNo'" [order]="10"></co-simple-grid-column>
|
|
2690
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [field]="'warehouseName'" [order]="11"></co-simple-grid-column>
|
|
2691
|
+
<co-simple-grid-column [headerText]="'STOCK' | localize" [field]="'technicalStock'" [order]="12"></co-simple-grid-column>
|
|
2692
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK' | localize" [field]="'availableStock'" [order]="13"></co-simple-grid-column>
|
|
2693
|
+
<co-simple-grid-column [headerText]="'ECONOMICAL_STOCK' | localize" [field]="'economicalStock'" [order]="14"></co-simple-grid-column>
|
|
2694
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'" [order]="15">
|
|
2608
2695
|
<ng-template #template let-row="row">
|
|
2609
|
-
<span class="location-link" [textContent]="'
|
|
2696
|
+
<span class="location-link" [textContent]="'LOOK_AT' | localize" (click)="onLocationClick(row)"></span>
|
|
2610
2697
|
</ng-template>
|
|
2611
2698
|
</co-simple-grid-column>
|
|
2612
2699
|
</co-simple-grid>
|
|
@@ -2614,7 +2701,6 @@ StockTabComponent.decorators = [
|
|
|
2614
2701
|
encapsulation: ViewEncapsulation.None
|
|
2615
2702
|
},] }
|
|
2616
2703
|
];
|
|
2617
|
-
StockTabComponent.ctorParameters = () => [];
|
|
2618
2704
|
StockTabComponent.propDecorators = {
|
|
2619
2705
|
articleStockInformation: [{ type: Input }],
|
|
2620
2706
|
locationClicked: [{ type: Output }]
|
|
@@ -2644,22 +2730,22 @@ OrderTabComponent.decorators = [
|
|
|
2644
2730
|
class="simple-grid"
|
|
2645
2731
|
[rowsPerPage]="20"
|
|
2646
2732
|
>
|
|
2647
|
-
<co-simple-grid-column [headerText]="'
|
|
2648
|
-
<co-simple-grid-column [headerText]="'CUSTOMER'" [field]="'customerName'"></co-simple-grid-column>
|
|
2649
|
-
<co-simple-grid-column [headerText]="'DATE'">
|
|
2733
|
+
<co-simple-grid-column [headerText]="'IN_ORDER' | localize" [field]="'transactionNr'"></co-simple-grid-column>
|
|
2734
|
+
<co-simple-grid-column [headerText]="'CUSTOMER' | localize" [field]="'customerName'"></co-simple-grid-column>
|
|
2735
|
+
<co-simple-grid-column [headerText]="'DATE' | localize">
|
|
2650
2736
|
<ng-template #template let-row="row">
|
|
2651
2737
|
<span [textContent]="row.transactionDate | date:'dd-MM-yyyy'"></span>
|
|
2652
2738
|
</ng-template>
|
|
2653
2739
|
</co-simple-grid-column>
|
|
2654
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
2655
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'warehouseNumber'"></co-simple-grid-column>
|
|
2656
|
-
<co-simple-grid-column [headerText]="'DESCRIPTION'" [field]="'warehouseDescription'"></co-simple-grid-column>
|
|
2657
|
-
<co-simple-grid-column [headerText]="'TRANSFER'" [field]="'transfer'">
|
|
2740
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
2741
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNumber'"></co-simple-grid-column>
|
|
2742
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [field]="'warehouseDescription'"></co-simple-grid-column>
|
|
2743
|
+
<co-simple-grid-column [headerText]="'TRANSFER' | localize" [field]="'transfer'">
|
|
2658
2744
|
<ng-template #template let-row="row">
|
|
2659
2745
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)" (click)="handleStockTransferClick(row)"></co-icon>
|
|
2660
2746
|
</ng-template>
|
|
2661
2747
|
</co-simple-grid-column>
|
|
2662
|
-
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
2748
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
2663
2749
|
<ng-template #template let-row="row">
|
|
2664
2750
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog(row)"></co-icon>
|
|
2665
2751
|
</ng-template>
|
|
@@ -2682,28 +2768,33 @@ OrderTabComponent.propDecorators = {
|
|
|
2682
2768
|
};
|
|
2683
2769
|
|
|
2684
2770
|
class StockTabsComponent {
|
|
2685
|
-
constructor(_stockService) {
|
|
2771
|
+
constructor(_stockService, _localizeService) {
|
|
2686
2772
|
this._stockService = _stockService;
|
|
2773
|
+
this._localizeService = _localizeService;
|
|
2687
2774
|
this.icons = Icon;
|
|
2688
2775
|
this.transferIconClicked = new EventEmitter();
|
|
2689
2776
|
this.sendMethodDialogClicked = new EventEmitter();
|
|
2777
|
+
this.tabs = [];
|
|
2778
|
+
this.historyTabs = [];
|
|
2779
|
+
}
|
|
2780
|
+
ngOnInit() {
|
|
2690
2781
|
this.tabs = [
|
|
2691
|
-
{ title: '
|
|
2692
|
-
{ title: '
|
|
2693
|
-
{ title: '
|
|
2694
|
-
{ title: '
|
|
2695
|
-
{ title: '
|
|
2782
|
+
{ title: this._localizeService.get('OVERVIEW'), active: true },
|
|
2783
|
+
{ title: this._localizeService.get('STOCK_DETAILS'), active: false },
|
|
2784
|
+
{ title: this._localizeService.get('ALREADY_IN_ORDER'), active: false, clickHandler: () => this.getInOrderData() },
|
|
2785
|
+
{ title: this._localizeService.get('IN_ORDER'), active: false, clickHandler: () => this.getOrderData() },
|
|
2786
|
+
{ title: this._localizeService.get('HISTORY'), active: false },
|
|
2696
2787
|
];
|
|
2697
2788
|
this.historyTabs = [
|
|
2698
|
-
{ title: '
|
|
2699
|
-
{ title: '
|
|
2700
|
-
{ title: '
|
|
2701
|
-
{ title: '
|
|
2702
|
-
{ title: '
|
|
2789
|
+
{ title: this._localizeService.get('STOCK'), active: true, clickHandler: () => this.getStockHistory() },
|
|
2790
|
+
{ title: this._localizeService.get('ORDER_STOCK'), active: false, clickHandler: () => this.getOrderSupplyStockHistory() },
|
|
2791
|
+
{ title: this._localizeService.get('ORDER_COMMISSION'), active: false, clickHandler: () => this.getOrderCommissionStockHistory() },
|
|
2792
|
+
{ title: this._localizeService.get('ORDER'), active: false, clickHandler: () => this.getOrderStockHistory() },
|
|
2793
|
+
{ title: this._localizeService.get('ALLOCATION'), active: false, clickHandler: () => this.getAllocationStockHistory() },
|
|
2703
2794
|
];
|
|
2704
2795
|
}
|
|
2705
2796
|
handleLocationClicked(data) {
|
|
2706
|
-
this.
|
|
2797
|
+
this.selectedLocation = data.warehouseNo;
|
|
2707
2798
|
this.tabs[0].active = false;
|
|
2708
2799
|
this.tabs[1].active = true;
|
|
2709
2800
|
}
|
|
@@ -2782,7 +2873,8 @@ StockTabsComponent.decorators = [
|
|
|
2782
2873
|
{ type: Component, args: [{
|
|
2783
2874
|
selector: "co-stock-tabs",
|
|
2784
2875
|
template: `
|
|
2785
|
-
<co-tab-bar [
|
|
2876
|
+
<co-tab-bar [wareHouseLabel]="'CHOICES' | localize" [wareHouseSearchLabel]="'SEARCH' | localize"
|
|
2877
|
+
[tabs]="tabs" [dataWareHouseCode]="warehouses" [secondaryTabs]="historyTabs" [ActivateSecondaryTabs]="tabs[4].active"></co-tab-bar>
|
|
2786
2878
|
|
|
2787
2879
|
<co-stock-tab *ngIf="tabs[0].active"
|
|
2788
2880
|
[articleStockInformation]="stockInformation"
|
|
@@ -2792,7 +2884,7 @@ StockTabsComponent.decorators = [
|
|
|
2792
2884
|
<co-stock-location *ngIf="tabs[1].active"
|
|
2793
2885
|
[articleStockInformation]="stockInformation"
|
|
2794
2886
|
[article]="article"
|
|
2795
|
-
[clickedLocation]="
|
|
2887
|
+
[clickedLocation]="selectedLocation"
|
|
2796
2888
|
[dataWareHouseCode]="warehouses"
|
|
2797
2889
|
(transferIconClicked)="transferIconClicked.emit($event)"
|
|
2798
2890
|
(sendMethodDialogClicked)="sendMethodDialogClicked.emit($event)"
|
|
@@ -2814,7 +2906,7 @@ StockTabsComponent.decorators = [
|
|
|
2814
2906
|
></co-stock-history>
|
|
2815
2907
|
|
|
2816
2908
|
<co-order-supply-stock-history *ngIf="historyTabs[1].active && tabs[4].active"
|
|
2817
|
-
|
|
2909
|
+
[orderSupplyStockHistory]="orderSupplyStockHistory"
|
|
2818
2910
|
></co-order-supply-stock-history>
|
|
2819
2911
|
|
|
2820
2912
|
<co-order-stock-commission-history *ngIf="historyTabs[2].active && tabs[4].active"
|
|
@@ -2834,7 +2926,8 @@ StockTabsComponent.decorators = [
|
|
|
2834
2926
|
},] }
|
|
2835
2927
|
];
|
|
2836
2928
|
StockTabsComponent.ctorParameters = () => [
|
|
2837
|
-
{ type: StockService }
|
|
2929
|
+
{ type: StockService },
|
|
2930
|
+
{ type: LocalizeService }
|
|
2838
2931
|
];
|
|
2839
2932
|
StockTabsComponent.propDecorators = {
|
|
2840
2933
|
stockInformation: [{ type: Input }],
|
|
@@ -2857,11 +2950,11 @@ StockHistoryTabsComponent.decorators = [
|
|
|
2857
2950
|
<div class="stock-history-tabs-wrapper">
|
|
2858
2951
|
<div class="tab-container">
|
|
2859
2952
|
<div class="tab-header">
|
|
2860
|
-
<button class="tab-button" (click)="selectedTab = 0" [class.active]="selectedTab === 0">
|
|
2861
|
-
<button class="tab-button" (click)="selectedTab = 1" [class.active]="selectedTab === 1">
|
|
2862
|
-
<button class="tab-button" (click)="selectedTab = 2" [class.active]="selectedTab === 2">
|
|
2863
|
-
<button class="tab-button" (click)="selectedTab = 3" [class.active]="selectedTab === 3">
|
|
2864
|
-
<button class="tab-button" (click)="selectedTab = 4" [class.active]="selectedTab === 4">
|
|
2953
|
+
<button class="tab-button" (click)="selectedTab = 0" [class.active]="selectedTab === 0">{{ 'STOCK' | localize }}</button>
|
|
2954
|
+
<button class="tab-button" (click)="selectedTab = 1" [class.active]="selectedTab === 1">{{ 'ORDER_STOCK' | localize }}</button>
|
|
2955
|
+
<button class="tab-button" (click)="selectedTab = 2" [class.active]="selectedTab === 2">{{ 'ORDER_COMMISSION' | localize }}</button>
|
|
2956
|
+
<button class="tab-button" (click)="selectedTab = 3" [class.active]="selectedTab === 3">{{ 'ORDER' | localize }}</button>
|
|
2957
|
+
<button class="tab-button" (click)="selectedTab = 4" [class.active]="selectedTab === 4">{{ 'ALLOCATION' | localize }}</button>
|
|
2865
2958
|
</div>
|
|
2866
2959
|
</div>
|
|
2867
2960
|
</div>
|
|
@@ -2871,7 +2964,6 @@ StockHistoryTabsComponent.decorators = [
|
|
|
2871
2964
|
encapsulation: ViewEncapsulation.None
|
|
2872
2965
|
},] }
|
|
2873
2966
|
];
|
|
2874
|
-
StockHistoryTabsComponent.ctorParameters = () => [];
|
|
2875
2967
|
StockHistoryTabsComponent.propDecorators = {
|
|
2876
2968
|
stockInformation: [{ type: Input }]
|
|
2877
2969
|
};
|
|
@@ -2891,16 +2983,16 @@ OrderStockTabComponent.decorators = [
|
|
|
2891
2983
|
class="simple-grid"
|
|
2892
2984
|
[rowsPerPage]="20"
|
|
2893
2985
|
>
|
|
2894
|
-
<co-simple-grid-column [headerText]="'PURCHASE_ORDER_NR'" [field]="'transactionNr'"></co-simple-grid-column>
|
|
2895
|
-
<co-simple-grid-column [headerText]="'DATE'">
|
|
2986
|
+
<co-simple-grid-column [headerText]="'PURCHASE_ORDER_NR' | localize" [field]="'transactionNr'"></co-simple-grid-column>
|
|
2987
|
+
<co-simple-grid-column [headerText]="'DATE' | localize">
|
|
2896
2988
|
<ng-template #template let-row="row">
|
|
2897
2989
|
<span [textContent]="row.transactionDate | date:'dd-MM-yyyy'"></span>
|
|
2898
2990
|
</ng-template>
|
|
2899
2991
|
</co-simple-grid-column>
|
|
2900
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
2901
|
-
<co-simple-grid-column [headerText]="'RESERVED'" [field]="'reserved'"></co-simple-grid-column>
|
|
2902
|
-
<co-simple-grid-column [headerText]="'FREE_STOCK'" [field]="'InOrderForStock'"></co-simple-grid-column>
|
|
2903
|
-
<co-simple-grid-column [headerText]="'
|
|
2992
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
2993
|
+
<co-simple-grid-column [headerText]="'RESERVED' | localize" [field]="'reserved'"></co-simple-grid-column>
|
|
2994
|
+
<co-simple-grid-column [headerText]="'FREE_STOCK' | localize" [field]="'InOrderForStock'"></co-simple-grid-column>
|
|
2995
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize">
|
|
2904
2996
|
<ng-template #template let-row="row">
|
|
2905
2997
|
<span [textContent]="row.deliveryDate | date:'dd-MM-yyyy'"></span>
|
|
2906
2998
|
</ng-template>
|
|
@@ -2990,10 +3082,22 @@ StockLocationComponent.decorators = [
|
|
|
2990
3082
|
<co-drop-down-list [(model)]="selectedWarehouse"
|
|
2991
3083
|
[collection]="dataWareHouseCode"
|
|
2992
3084
|
[fields]="dataWareHouseFields"
|
|
2993
|
-
[placeholder]="'WAREHOUSE'"
|
|
3085
|
+
[placeholder]="'WAREHOUSE' | localize"
|
|
2994
3086
|
(modelChange)="onSelectWarehouse($event)"
|
|
2995
3087
|
[required]="true"
|
|
2996
3088
|
></co-drop-down-list>
|
|
3089
|
+
<co-list-of-values [label]="'CHOICES' | localize"
|
|
3090
|
+
[displayField]="'warehouseDescription'"
|
|
3091
|
+
[collection]="dataWareHouseCode"
|
|
3092
|
+
[model]="selectedWarehouseModel"
|
|
3093
|
+
[multiselect]="false"
|
|
3094
|
+
[required]="false"
|
|
3095
|
+
[readonly]="true"
|
|
3096
|
+
[customCssClass]="'mini-scrollbar'"
|
|
3097
|
+
[searchPlaceholder]="'SEARCH' | localize"
|
|
3098
|
+
(modelChange)="onSelectWarehouse($event)"
|
|
3099
|
+
>
|
|
3100
|
+
</co-list-of-values>
|
|
2997
3101
|
</div>
|
|
2998
3102
|
</div>
|
|
2999
3103
|
|
|
@@ -3003,76 +3107,75 @@ StockLocationComponent.decorators = [
|
|
|
3003
3107
|
[showAdd]="true"
|
|
3004
3108
|
[inlineEdit]="true"
|
|
3005
3109
|
(dblClickRow)="lockSelectedRow($event)"
|
|
3006
|
-
[rightToolbar]="true"
|
|
3007
3110
|
[showToolbar]="true"
|
|
3008
3111
|
(keydown.enter)="onOkClickSendLocations()"
|
|
3009
3112
|
>
|
|
3010
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNo'">
|
|
3113
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'">
|
|
3011
3114
|
<ng-template #editTemplate let-row="row">
|
|
3012
3115
|
<co-drop-down-list [(model)]="row.locationNo"
|
|
3013
3116
|
[collection]="stockLocations"
|
|
3014
3117
|
[fields]="dataLocationFields"
|
|
3015
|
-
[placeholder]="'LOCATION'"
|
|
3118
|
+
[placeholder]="'LOCATION' | localize"
|
|
3016
3119
|
(click)="onLocationDropdownClick()"
|
|
3017
3120
|
[required]="true"
|
|
3018
3121
|
(modelChange)="locationChanged($event)"
|
|
3019
3122
|
></co-drop-down-list>
|
|
3020
3123
|
</ng-template>
|
|
3021
3124
|
</co-simple-grid-column>
|
|
3022
|
-
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'BATCH'" [field]="'batchNo'">
|
|
3125
|
+
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'BATCH' | localize" [field]="'batchNo'">
|
|
3023
3126
|
<ng-template #editTemplate let-row="row">
|
|
3024
3127
|
<co-input-text [(model)]="row.batchNo"
|
|
3025
|
-
[placeholder]="'BATCH'"
|
|
3128
|
+
[placeholder]="'BATCH' | localize"
|
|
3026
3129
|
></co-input-text>
|
|
3027
3130
|
</ng-template>
|
|
3028
3131
|
</co-simple-grid-column>
|
|
3029
|
-
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'SERIAL_NO'" [field]="'serialNo'">
|
|
3132
|
+
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'SERIAL_NO' | localize" [field]="'serialNo'">
|
|
3030
3133
|
<ng-template #editTemplate let-row="row">
|
|
3031
3134
|
<co-input-text [(model)]="row.serialNo"
|
|
3032
|
-
[placeholder]="'SERIAL_NO'"
|
|
3135
|
+
[placeholder]="'SERIAL_NO' | localize"
|
|
3033
3136
|
></co-input-text>
|
|
3034
3137
|
</ng-template>
|
|
3035
3138
|
</co-simple-grid-column>
|
|
3036
|
-
<co-simple-grid-column [headerText]="'STOCK'" [field]="'amountInStock'">
|
|
3139
|
+
<co-simple-grid-column [headerText]="'STOCK' | localize" [field]="'amountInStock'">
|
|
3037
3140
|
<ng-template #editTemplate let-row="row">
|
|
3038
3141
|
<co-input-text [(model)]="row.amountInStock"
|
|
3039
|
-
[label]="'STOCK'"
|
|
3142
|
+
[label]="'STOCK' | localize"
|
|
3040
3143
|
(modelChange)="amountInStockChanged($event)"
|
|
3041
3144
|
></co-input-text>
|
|
3042
3145
|
</ng-template>
|
|
3043
3146
|
</co-simple-grid-column>
|
|
3044
|
-
<co-simple-grid-column [headerText]="'ALLOCATED'" [field]="'stockAssigned'">
|
|
3147
|
+
<co-simple-grid-column [headerText]="'ALLOCATED' | localize" [field]="'stockAssigned'">
|
|
3045
3148
|
<ng-template #editTemplate let-row="row">
|
|
3046
3149
|
<span [textContent]="row.stockAssigned"></span>
|
|
3047
3150
|
</ng-template>
|
|
3048
3151
|
</co-simple-grid-column>
|
|
3049
|
-
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK'" [field]="'amountInStockFree'">
|
|
3152
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK' | localize" [field]="'amountInStockFree'">
|
|
3050
3153
|
<ng-template #editTemplate let-row="row">
|
|
3051
3154
|
<span [textContent]="row.amountInStockFree"></span>
|
|
3052
3155
|
</ng-template>
|
|
3053
3156
|
</co-simple-grid-column>
|
|
3054
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currency'">
|
|
3157
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currency'">
|
|
3055
3158
|
<ng-template #editTemplate let-row="row">
|
|
3056
3159
|
<span [textContent]="row.currency"></span>
|
|
3057
3160
|
</ng-template>
|
|
3058
3161
|
</co-simple-grid-column>
|
|
3059
|
-
<co-simple-grid-column [headerText]="'PURCHASE_PRICE'" [field]="'purchasePrice'">
|
|
3162
|
+
<co-simple-grid-column [headerText]="'PURCHASE_PRICE' | localize" [field]="'purchasePrice'">
|
|
3060
3163
|
<ng-template #editTemplate let-row="row">
|
|
3061
3164
|
<span [textContent]="row.purchasePrice"></span>
|
|
3062
3165
|
</ng-template>
|
|
3063
3166
|
</co-simple-grid-column>
|
|
3064
|
-
<co-simple-grid-column [headerText]="'SUPPLIER_NUMBER'" [field]="'supplierNo'">
|
|
3167
|
+
<co-simple-grid-column [headerText]="'SUPPLIER_NUMBER' | localize" [field]="'supplierNo'">
|
|
3065
3168
|
<ng-template #editTemplate let-row="row">
|
|
3066
3169
|
<span [textContent]="row.supplierNo"></span>
|
|
3067
3170
|
</ng-template>
|
|
3068
3171
|
</co-simple-grid-column>
|
|
3069
|
-
<co-simple-grid-column [headerText]="'TRANSFER'" [field]="'transfer'">
|
|
3172
|
+
<co-simple-grid-column [headerText]="'TRANSFER' | localize" [field]="'transfer'">
|
|
3070
3173
|
<ng-template #template let-row="row">
|
|
3071
3174
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)"
|
|
3072
3175
|
(click)="handleStockTransferClick(row)"></co-icon>
|
|
3073
3176
|
</ng-template>
|
|
3074
3177
|
</co-simple-grid-column>
|
|
3075
|
-
<co-simple-grid-column [headerText]="'STICKER'" [field]="'sticker'">
|
|
3178
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
3076
3179
|
<ng-template #template let-row="row">
|
|
3077
3180
|
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)"
|
|
3078
3181
|
(click)="openSendMethodDialog(row)"></co-icon>
|
|
@@ -3113,23 +3216,23 @@ StockHistoryComponent.decorators = [
|
|
|
3113
3216
|
class="simple-grid"
|
|
3114
3217
|
[rowsPerPage]="20"
|
|
3115
3218
|
>
|
|
3116
|
-
<co-simple-grid-column [headerText]="'MUTATION_DATE'">
|
|
3219
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
3117
3220
|
<ng-template #template let-row="row">
|
|
3118
3221
|
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
3119
3222
|
</ng-template>
|
|
3120
3223
|
</co-simple-grid-column>
|
|
3121
|
-
<co-simple-grid-column [headerText]="'MUTATION_TIME'" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3122
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amount'"></co-simple-grid-column>
|
|
3123
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3124
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNr'"></co-simple-grid-column>
|
|
3125
|
-
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER'" [field]="'docNr'"></co-simple-grid-column>
|
|
3126
|
-
<co-simple-grid-column [headerText]="'LINE'" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3127
|
-
<co-simple-grid-column [headerText]="'STOCK_STATE'" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3128
|
-
<co-simple-grid-column [headerText]="'STOCK_REMARK'" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3129
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3130
|
-
<co-simple-grid-column [headerText]="'RELATION_NR'" [field]="'relationNr'"></co-simple-grid-column>
|
|
3131
|
-
<co-simple-grid-column [headerText]="'USER'" [field]="'user'"></co-simple-grid-column>
|
|
3132
|
-
<co-simple-grid-column [headerText]="'MUTATION_TYPE'" [field]="'mutationType'"></co-simple-grid-column>
|
|
3224
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3225
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
3226
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3227
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
3228
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
3229
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3230
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3231
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3232
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3233
|
+
<co-simple-grid-column [headerText]="'RELATION_NR' | localize" [field]="'relationNr'"></co-simple-grid-column>
|
|
3234
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
3235
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
3133
3236
|
</co-simple-grid>
|
|
3134
3237
|
`,
|
|
3135
3238
|
encapsulation: ViewEncapsulation.None
|
|
@@ -3146,8 +3249,11 @@ StockHistoryComponent.propDecorators = {
|
|
|
3146
3249
|
};
|
|
3147
3250
|
|
|
3148
3251
|
class TabBarComponent {
|
|
3149
|
-
constructor() {
|
|
3252
|
+
constructor(_stockService) {
|
|
3253
|
+
this._stockService = _stockService;
|
|
3150
3254
|
this.ActivateSecondaryTabs = false;
|
|
3255
|
+
this.dataWareHouseFields = { text: "warehouseDescription", value: "warehouseNo" };
|
|
3256
|
+
this.articleDetailsInformation = new ArticleStockManagement();
|
|
3151
3257
|
}
|
|
3152
3258
|
selectTab(tab) {
|
|
3153
3259
|
if (tab.clickHandler) {
|
|
@@ -3163,30 +3269,66 @@ class TabBarComponent {
|
|
|
3163
3269
|
this.secondaryTabs.forEach(t => t.active = false);
|
|
3164
3270
|
secondaryTab.active = true;
|
|
3165
3271
|
}
|
|
3272
|
+
onSelectWarehouse(event) {
|
|
3273
|
+
this.articleDetailsInformation.warehouseNumber = event;
|
|
3274
|
+
this.articleDetailsInformation.goodId = this.article.goodId;
|
|
3275
|
+
if (this.selectedWarehouse || this.selectedWarehouse === 0) {
|
|
3276
|
+
this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
3277
|
+
this.articleDetails = details;
|
|
3278
|
+
});
|
|
3279
|
+
}
|
|
3280
|
+
}
|
|
3166
3281
|
}
|
|
3167
3282
|
TabBarComponent.decorators = [
|
|
3168
3283
|
{ type: Component, args: [{
|
|
3169
3284
|
selector: "co-tab-bar",
|
|
3170
3285
|
template: `
|
|
3171
|
-
<div class="tab-bar">
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3286
|
+
<div class="tab-bar-wrapper">
|
|
3287
|
+
<div class="tab-bar-warehouse-wrapper">
|
|
3288
|
+
<div class="stock-location-group">
|
|
3289
|
+
<div class="stock-location-right-group">
|
|
3290
|
+
<co-list-of-values [label]="wareHouseLabel"
|
|
3291
|
+
[displayField]="'warehouseDescription'"
|
|
3292
|
+
[collection]="dataWareHouseCode"
|
|
3293
|
+
[multiselect]="false"
|
|
3294
|
+
[required]="false"
|
|
3295
|
+
[readonly]="true"
|
|
3296
|
+
[customCssClass]="'mini-scrollbar'"
|
|
3297
|
+
[searchPlaceholder]="wareHouseSearchLabel"
|
|
3298
|
+
(modelChange)="onSelectWarehouse($event)"
|
|
3299
|
+
>
|
|
3300
|
+
</co-list-of-values>
|
|
3301
|
+
</div>
|
|
3302
|
+
</div>
|
|
3303
|
+
</div>
|
|
3304
|
+
<div class="tab-bar">
|
|
3305
|
+
<div class="tab-bar-primary">
|
|
3306
|
+
<button *ngFor="let tab of tabs" [class.active]="tab.active" (click)="selectTab(tab)">
|
|
3307
|
+
{{tab.title}}
|
|
3308
|
+
</button>
|
|
3309
|
+
</div>
|
|
3310
|
+
<div class="secondary-tab-bar" *ngIf="ActivateSecondaryTabs">
|
|
3311
|
+
<button *ngFor="let tab of secondaryTabs" [class.active]="tab.active" (click)="selectSecondaryTab(tab)">
|
|
3312
|
+
{{tab.title}}
|
|
3313
|
+
</button>
|
|
3314
|
+
</div>
|
|
3315
|
+
</div>
|
|
3180
3316
|
</div>
|
|
3181
3317
|
`,
|
|
3182
3318
|
encapsulation: ViewEncapsulation.None
|
|
3183
3319
|
},] }
|
|
3184
3320
|
];
|
|
3185
|
-
TabBarComponent.ctorParameters = () => [
|
|
3321
|
+
TabBarComponent.ctorParameters = () => [
|
|
3322
|
+
{ type: StockService }
|
|
3323
|
+
];
|
|
3186
3324
|
TabBarComponent.propDecorators = {
|
|
3325
|
+
wareHouseLabel: [{ type: Input }],
|
|
3326
|
+
wareHouseSearchLabel: [{ type: Input }],
|
|
3187
3327
|
tabs: [{ type: Input }],
|
|
3188
3328
|
secondaryTabs: [{ type: Input }],
|
|
3189
|
-
ActivateSecondaryTabs: [{ type: Input }]
|
|
3329
|
+
ActivateSecondaryTabs: [{ type: Input }],
|
|
3330
|
+
dataWareHouseCode: [{ type: Input }],
|
|
3331
|
+
article: [{ type: Input }]
|
|
3190
3332
|
};
|
|
3191
3333
|
|
|
3192
3334
|
class TabBarModule {
|
|
@@ -3195,6 +3337,8 @@ TabBarModule.decorators = [
|
|
|
3195
3337
|
{ type: NgModule, args: [{
|
|
3196
3338
|
imports: [
|
|
3197
3339
|
CommonModule,
|
|
3340
|
+
DropDownModule,
|
|
3341
|
+
ListOfValuesModule,
|
|
3198
3342
|
],
|
|
3199
3343
|
declarations: [
|
|
3200
3344
|
TabBarComponent
|
|
@@ -3219,23 +3363,23 @@ OrderSupplyStockHistoryComponent.decorators = [
|
|
|
3219
3363
|
class="simple-grid"
|
|
3220
3364
|
[rowsPerPage]="20"
|
|
3221
3365
|
>
|
|
3222
|
-
<co-simple-grid-column [headerText]="'MUTATION_DATE'">
|
|
3366
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
3223
3367
|
<ng-template #template let-row="row">
|
|
3224
3368
|
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
3225
3369
|
</ng-template>
|
|
3226
3370
|
</co-simple-grid-column>
|
|
3227
|
-
<co-simple-grid-column [headerText]="'MUTATION_TIME'" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3228
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amount'"></co-simple-grid-column>
|
|
3229
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3230
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNr'"></co-simple-grid-column>
|
|
3231
|
-
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER'" [field]="'docNr'"></co-simple-grid-column>
|
|
3232
|
-
<co-simple-grid-column [headerText]="'LINE'" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3233
|
-
<co-simple-grid-column [headerText]="'STOCK_STATE'" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3234
|
-
<co-simple-grid-column [headerText]="'STOCK_REMARK'" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3235
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3236
|
-
<co-simple-grid-column [headerText]="'RELATION_NR'" [field]="'relationNr'"></co-simple-grid-column>
|
|
3237
|
-
<co-simple-grid-column [headerText]="'USER'" [field]="'user'"></co-simple-grid-column>
|
|
3238
|
-
<co-simple-grid-column [headerText]="'MUTATION_TYPE'" [field]="'mutationType'"></co-simple-grid-column>
|
|
3371
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3372
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
3373
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3374
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
3375
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
3376
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3377
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3378
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3379
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3380
|
+
<co-simple-grid-column [headerText]="'RELATION_NR' | localize" [field]="'relationNr'"></co-simple-grid-column>
|
|
3381
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
3382
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
3239
3383
|
</co-simple-grid>
|
|
3240
3384
|
`,
|
|
3241
3385
|
encapsulation: ViewEncapsulation.None
|
|
@@ -3262,23 +3406,23 @@ OrderCommissionStockHistoryComponent.decorators = [
|
|
|
3262
3406
|
class="simple-grid"
|
|
3263
3407
|
[rowsPerPage]="20"
|
|
3264
3408
|
>
|
|
3265
|
-
<co-simple-grid-column [headerText]="'MUTATION_DATE'">
|
|
3409
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
3266
3410
|
<ng-template #template let-row="row">
|
|
3267
3411
|
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
3268
3412
|
</ng-template>
|
|
3269
3413
|
</co-simple-grid-column>
|
|
3270
|
-
<co-simple-grid-column [headerText]="'MUTATION_TIME'" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3271
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amount'"></co-simple-grid-column>
|
|
3272
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3273
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNr'"></co-simple-grid-column>
|
|
3274
|
-
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER'" [field]="'docNr'"></co-simple-grid-column>
|
|
3275
|
-
<co-simple-grid-column [headerText]="'LINE'" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3276
|
-
<co-simple-grid-column [headerText]="'STOCK_STATE'" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3277
|
-
<co-simple-grid-column [headerText]="'STOCK_REMARK'" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3278
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3279
|
-
<co-simple-grid-column [headerText]="'RELATION_NR'" [field]="'relationNr'"></co-simple-grid-column>
|
|
3280
|
-
<co-simple-grid-column [headerText]="'USER'" [field]="'user'"></co-simple-grid-column>
|
|
3281
|
-
<co-simple-grid-column [headerText]="'MUTATION_TYPE'" [field]="'mutationType'"></co-simple-grid-column>
|
|
3414
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3415
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
3416
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3417
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
3418
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
3419
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3420
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3421
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3422
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3423
|
+
<co-simple-grid-column [headerText]="'RELATION_NR' | localize" [field]="'relationNr'"></co-simple-grid-column>
|
|
3424
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
3425
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
3282
3426
|
</co-simple-grid>
|
|
3283
3427
|
`,
|
|
3284
3428
|
encapsulation: ViewEncapsulation.None
|
|
@@ -3305,23 +3449,23 @@ OrderStockHistoryComponent.decorators = [
|
|
|
3305
3449
|
class="simple-grid"
|
|
3306
3450
|
[rowsPerPage]="20"
|
|
3307
3451
|
>
|
|
3308
|
-
<co-simple-grid-column [headerText]="'MUTATION_DATE'">
|
|
3452
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
3309
3453
|
<ng-template #template let-row="row">
|
|
3310
3454
|
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
3311
3455
|
</ng-template>
|
|
3312
3456
|
</co-simple-grid-column>
|
|
3313
|
-
<co-simple-grid-column [headerText]="'MUTATION_TIME'" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3314
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amount'"></co-simple-grid-column>
|
|
3315
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3316
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNr'"></co-simple-grid-column>
|
|
3317
|
-
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER'" [field]="'docNr'"></co-simple-grid-column>
|
|
3318
|
-
<co-simple-grid-column [headerText]="'LINE'" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3319
|
-
<co-simple-grid-column [headerText]="'STOCK_STATE'" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3320
|
-
<co-simple-grid-column [headerText]="'STOCK_REMARK'" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3321
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3322
|
-
<co-simple-grid-column [headerText]="'RELATION_NR'" [field]="'relationNr'"></co-simple-grid-column>
|
|
3323
|
-
<co-simple-grid-column [headerText]="'USER'" [field]="'user'"></co-simple-grid-column>
|
|
3324
|
-
<co-simple-grid-column [headerText]="'MUTATION_TYPE'" [field]="'mutationType'"></co-simple-grid-column>
|
|
3457
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3458
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
3459
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3460
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
3461
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
3462
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3463
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3464
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3465
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3466
|
+
<co-simple-grid-column [headerText]="'RELATION_NR' | localize" [field]="'relationNr'"></co-simple-grid-column>
|
|
3467
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
3468
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
3325
3469
|
</co-simple-grid>
|
|
3326
3470
|
`,
|
|
3327
3471
|
encapsulation: ViewEncapsulation.None
|
|
@@ -3348,23 +3492,23 @@ AllocationStockHistoryComponent.decorators = [
|
|
|
3348
3492
|
class="simple-grid"
|
|
3349
3493
|
[rowsPerPage]="20"
|
|
3350
3494
|
>
|
|
3351
|
-
<co-simple-grid-column [headerText]="'MUTATION_DATE'">
|
|
3495
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
3352
3496
|
<ng-template #template let-row="row">
|
|
3353
3497
|
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
3354
3498
|
</ng-template>
|
|
3355
3499
|
</co-simple-grid-column>
|
|
3356
|
-
<co-simple-grid-column [headerText]="'MUTATION_TIME'" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3357
|
-
<co-simple-grid-column [headerText]="'AMOUNT'" [field]="'amount'"></co-simple-grid-column>
|
|
3358
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE'" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3359
|
-
<co-simple-grid-column [headerText]="'LOCATION'" [field]="'locationNr'"></co-simple-grid-column>
|
|
3360
|
-
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER'" [field]="'docNr'"></co-simple-grid-column>
|
|
3361
|
-
<co-simple-grid-column [headerText]="'LINE'" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3362
|
-
<co-simple-grid-column [headerText]="'STOCK_STATE'" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3363
|
-
<co-simple-grid-column [headerText]="'STOCK_REMARK'" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3364
|
-
<co-simple-grid-column [headerText]="'VALUTA'" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3365
|
-
<co-simple-grid-column [headerText]="'RELATION_NR'" [field]="'relationNr'"></co-simple-grid-column>
|
|
3366
|
-
<co-simple-grid-column [headerText]="'USER'" [field]="'user'"></co-simple-grid-column>
|
|
3367
|
-
<co-simple-grid-column [headerText]="'MUTATION_TYPE'" [field]="'mutationType'"></co-simple-grid-column>
|
|
3500
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
3501
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
3502
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
3503
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
3504
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
3505
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'transLineNr'"></co-simple-grid-column>
|
|
3506
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
3507
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
3508
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
3509
|
+
<co-simple-grid-column [headerText]="'RELATION_NR' | localize" [field]="'relationNr'"></co-simple-grid-column>
|
|
3510
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
3511
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
3368
3512
|
</co-simple-grid>
|
|
3369
3513
|
`,
|
|
3370
3514
|
encapsulation: ViewEncapsulation.None
|
|
@@ -3657,11 +3801,11 @@ class StatusbarComponent {
|
|
|
3657
3801
|
}
|
|
3658
3802
|
event.preventDefault();
|
|
3659
3803
|
event.stopPropagation();
|
|
3660
|
-
this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData });
|
|
3804
|
+
this._statusbarPopupComponentRef = this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData });
|
|
3661
3805
|
this.popupShowing = true;
|
|
3662
3806
|
}
|
|
3663
3807
|
handleHidePopup() {
|
|
3664
|
-
this._overlayService.removeComponent();
|
|
3808
|
+
this._overlayService.removeComponent(this._statusbarPopupComponentRef);
|
|
3665
3809
|
this.popupShowing = false;
|
|
3666
3810
|
}
|
|
3667
3811
|
adjustTooHighPercentages() {
|
|
@@ -3767,6 +3911,30 @@ StockStatusbarModule.decorators = [
|
|
|
3767
3911
|
},] }
|
|
3768
3912
|
];
|
|
3769
3913
|
|
|
3914
|
+
class LocalizePipe {
|
|
3915
|
+
constructor(_localizeService) {
|
|
3916
|
+
this._localizeService = _localizeService;
|
|
3917
|
+
}
|
|
3918
|
+
transform(value, upperCaseFirst = true, replace = []) {
|
|
3919
|
+
if (!value) {
|
|
3920
|
+
return "";
|
|
3921
|
+
}
|
|
3922
|
+
replace = (replace !== undefined && replace !== null) ? replace : [];
|
|
3923
|
+
if (!Array.isArray(replace)) {
|
|
3924
|
+
replace = [replace];
|
|
3925
|
+
}
|
|
3926
|
+
return this._localizeService.get(value, upperCaseFirst, ...replace);
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
LocalizePipe.decorators = [
|
|
3930
|
+
{ type: Pipe, args: [{
|
|
3931
|
+
name: "localize"
|
|
3932
|
+
},] }
|
|
3933
|
+
];
|
|
3934
|
+
LocalizePipe.ctorParameters = () => [
|
|
3935
|
+
{ type: LocalizeService }
|
|
3936
|
+
];
|
|
3937
|
+
|
|
3770
3938
|
class StockModule {
|
|
3771
3939
|
}
|
|
3772
3940
|
StockModule.decorators = [
|
|
@@ -3789,7 +3957,8 @@ StockModule.decorators = [
|
|
|
3789
3957
|
TabBarModule,
|
|
3790
3958
|
CoDialogModule,
|
|
3791
3959
|
StatusbarModule,
|
|
3792
|
-
StockStatusbarModule
|
|
3960
|
+
StockStatusbarModule,
|
|
3961
|
+
ListOfValuesModule
|
|
3793
3962
|
],
|
|
3794
3963
|
declarations: [
|
|
3795
3964
|
StockComponent,
|
|
@@ -3807,13 +3976,15 @@ StockModule.decorators = [
|
|
|
3807
3976
|
OrderSupplyStockHistoryComponent,
|
|
3808
3977
|
OrderCommissionStockHistoryComponent,
|
|
3809
3978
|
OrderStockHistoryComponent,
|
|
3810
|
-
AllocationStockHistoryComponent
|
|
3979
|
+
AllocationStockHistoryComponent,
|
|
3980
|
+
LocalizePipe
|
|
3811
3981
|
],
|
|
3812
3982
|
exports: [
|
|
3813
3983
|
StockComponent
|
|
3814
3984
|
],
|
|
3815
3985
|
providers: [
|
|
3816
|
-
StockService
|
|
3986
|
+
StockService,
|
|
3987
|
+
LocalizeService
|
|
3817
3988
|
]
|
|
3818
3989
|
},] }
|
|
3819
3990
|
];
|
|
@@ -6058,5 +6229,5 @@ DatePlanningModule.decorators = [
|
|
|
6058
6229
|
* Generated bundle index. Do not edit.
|
|
6059
6230
|
*/
|
|
6060
6231
|
|
|
6061
|
-
export { CoCircularGaugeComponent, CoCircularGaugeModule, CoLinearGaugeComponent, CoLinearGaugeModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, StatusbarComponent, StatusbarModule, StockComponent, StockModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb,
|
|
6232
|
+
export { CoCircularGaugeComponent, CoCircularGaugeModule, CoLinearGaugeComponent, CoLinearGaugeModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, StockTabComponent as ɵba, OrderTabComponent as ɵbb, StockTabsComponent as ɵbc, StockHistoryTabsComponent as ɵbd, OrderStockTabComponent as ɵbe, StockLocationComponent as ɵbf, StockHistoryComponent as ɵbg, OrderSupplyStockHistoryComponent as ɵbh, OrderCommissionStockHistoryComponent as ɵbi, OrderStockHistoryComponent as ɵbj, AllocationStockHistoryComponent as ɵbk, LocalizePipe as ɵbl, SendMethod as ɵbm, Icon as ɵbn, CalendarAllYearsComponent as ɵbo, CalendarAllMonthsComponent as ɵbp, CalendarHeaderComponent as ɵbq, CalendarComponent as ɵbr, CalendarViewComponent as ɵbs, LanguageCode as ɵbt, AgendaHeaderComponent as ɵbu, AgendaViewComponent as ɵbv, AgendaMonthViewComponent as ɵbw, AgendaBaseViewComponent as ɵbx, AgendaDayViewComponent as ɵby, AgendaWeekViewComponent as ɵbz, StockService as ɵc, AgendaWeekSelectViewComponent as ɵca, AgendaHourViewComponent as ɵcb, AgendaHourCellComponent as ɵcc, AgendaHourViewLabelsComponent as ɵcd, AgendaHalfHourCellComponent as ɵce, AgendaEventsComponent as ɵcf, AgendaEventComponent as ɵcg, ViewSelectComponent as ɵch, AgendaSelectEventComponent as ɵci, MASTER_PIPES as ɵcj, ArrayNumberPipe as ɵck, UCfirstPipe as ɵcl, SharedConnectorService as ɵd, OptionsService as ɵe, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, SendMethodService as ɵi, SendMethodEmailModule as ɵj, LayoutSelectionModule as ɵk, LayoutSelectionComponent as ɵl, SendMethodEmailComponent as ɵm, SendMethodPrinterModule as ɵn, PrinterSelectionModule as ɵo, PrinterSelectionComponent as ɵp, SendMethodPrinterComponent as ɵq, TabBarModule as ɵr, TabBarComponent as ɵs, StatusbarPopupComponent as ɵt, StockStatusbarModule as ɵu, StockStatusbarComponent as ɵv, StockInformationComponent as ɵw, StockInformationGridComponent as ɵx, StockTransferComponent as ɵy, StockChangeAmountComponent as ɵz };
|
|
6062
6233
|
//# sourceMappingURL=colijnit-sharedcomponents.js.map
|