@things-factory/operato-wms 4.3.180 → 4.3.182

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.
@@ -160,6 +160,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
160
160
  'batchId',
161
161
  'gtin',
162
162
  'sku',
163
+ 'brandSku',
164
+ 'subBrand',
163
165
  'productName',
164
166
  'description',
165
167
  'auxUnit1',
@@ -194,6 +196,20 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
194
196
  sortable: true,
195
197
  width: 150
196
198
  },
199
+ {
200
+ type: 'string',
201
+ name: 'brandSku',
202
+ header: i18next.t('field.brand_sku_label'),
203
+ sortable: true,
204
+ width: 150
205
+ },
206
+ {
207
+ type: 'string',
208
+ name: 'subBrand',
209
+ header: i18next.t('field.sub_brand'),
210
+ sortable: true,
211
+ width: 150
212
+ },
197
213
  {
198
214
  type: 'string',
199
215
  name: 'sku',
@@ -327,6 +343,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
327
343
  product {
328
344
  name
329
345
  sku
346
+ brandSku
347
+ subBrand
330
348
  description
331
349
  type
332
350
  auxUnit1
@@ -347,6 +365,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
347
365
  product {
348
366
  name
349
367
  sku
368
+ brandSku
369
+ subBrand
350
370
  description
351
371
  type
352
372
  auxUnit1
@@ -387,6 +407,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
387
407
  location: inventory.location?.name || '',
388
408
  expirationDate: inventory.expirationDate || '',
389
409
  sku: product.sku,
410
+ brandSku: product.brandSku,
411
+ subBrand: product.subBrand,
390
412
  description: product.description,
391
413
  type: product.type,
392
414
  auxUnit1: product.auxUnit1 || '',
@@ -426,6 +448,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
426
448
  location: '[N/A]',
427
449
  expirationDate: '',
428
450
  sku: product.sku,
451
+ brandSku: product.brandSku,
452
+ subBrand: product.subBrand,
429
453
  description: product.description,
430
454
  type: product.type,
431
455
  printQty: op.actualPalletQty || op.palletQty || null,
@@ -480,6 +504,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
480
504
  product {
481
505
  name
482
506
  sku
507
+ brandSku
508
+ subBrand
483
509
  description
484
510
  type
485
511
  auxUnit1
@@ -503,6 +529,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
503
529
  product {
504
530
  name
505
531
  sku
532
+ brandSku
533
+ subBrand
506
534
  description
507
535
  type
508
536
  auxUnit1
@@ -545,6 +573,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
545
573
  location: inventory.location?.name || '',
546
574
  expirationDate: inventory.expirationDate || '',
547
575
  sku: product.sku,
576
+ brandSku: product.brandSku,
577
+ subBrand: product.subBrand,
548
578
  description: product.description,
549
579
  type: product.type,
550
580
  auxUnit1: product.auxUnit1 || '',
@@ -586,6 +616,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
586
616
  location: '[N/A]',
587
617
  expirationDate: '',
588
618
  sku: product.sku,
619
+ brandSku: product.brandSku,
620
+ subBrand: product.subBrand,
589
621
  description: product.description,
590
622
  type: product.type,
591
623
  auxUnit1: product.auxUnit1 || '',
@@ -640,6 +672,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
640
672
  product {
641
673
  name
642
674
  sku
675
+ brandSku
676
+ subBrand
643
677
  description
644
678
  type
645
679
  auxUnit1
@@ -682,6 +716,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
682
716
  location: inventory.location?.name || '',
683
717
  expirationDate: inventory.expirationDate || '',
684
718
  sku: product.sku,
719
+ brandSku: product.brandSku,
720
+ subBrand: product.subBrand,
685
721
  description: product.description,
686
722
  type: product.type,
687
723
  auxUnit1: product.auxUnit1 || '',
@@ -750,6 +786,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
750
786
 
751
787
  searchParams.append('gtin', record.gtin)
752
788
  searchParams.append('sku', record.sku)
789
+ searchParams.append('brand_sku', record.brandSku)
790
+ searchParams.append('sub_brand', record.subBrand)
753
791
  searchParams.append('product_name', record.productName)
754
792
  searchParams.append('description', record.description)
755
793
  searchParams.append('pallet_id', record.palletId)
@@ -761,6 +799,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
761
799
  searchParams.append('expiration_date', record.expirationDate)
762
800
  searchParams.append('location', record.location)
763
801
  searchParams.append('company_name', record.bizplaceName)
802
+ searchParams.append('type', record.type)
764
803
 
765
804
  let printCounter = 0
766
805
  try {
@@ -4,45 +4,33 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 4000,
8
- inspect: '9330',
7
+ port: 1100,
8
+ inspect: '9430',
9
9
  ormconfig: {
10
10
  name: 'default',
11
11
  type: 'postgres',
12
- database: 'dev3',
12
+ database: 'dev',
13
13
  username: 'postgres',
14
14
  password: 'hatio',
15
- host: 'localhost',
15
+ host: '192.168.0.161',
16
16
  port: 15432,
17
17
  synchronize: true,
18
- logging: true
18
+ logging: false
19
19
  },
20
20
  // ormconfig: {
21
21
  // name: 'default',
22
22
  // type: 'postgres',
23
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
24
- // port: 55432,
25
- // database: 'dev2',
23
+ // database: 'dev',
26
24
  // username: 'postgres',
27
25
  // password: 'abcd1234',
28
- // synchronize: false,
29
- // logging: true,
30
- // connectTimeoutMS: 30000,
31
- // extra: { poolSize: 30 }
26
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
+ // port: 55432,
28
+ // synchronize: true,
29
+ // logging: true
32
30
  // },
33
- //ormconfig: {
34
- // name: 'default',
35
- // type: 'postgres',
36
- // database: 'dev2',
37
- // username: 'postgres',
38
- // password: 'hatio',
39
- // host: 'localhost',
40
- // port: 15432,
41
- // synchronize: false,
42
- // logging: true,
43
- // connectTimeoutMS: 30000,
44
- // extra: { poolSize: 30 }
45
- //},
31
+ sellercraftIntegrationConfig: {
32
+ apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
33
+ },
46
34
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
47
35
  password: {
48
36
  lowerCase: true,
@@ -56,6 +44,13 @@ module.exports = {
56
44
  looseCharacterLength: 4,
57
45
  history: 2
58
46
  },
47
+ // storage: {
48
+ // type: 's3',
49
+ // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
50
+ // secretAccessKey: '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',
51
+ // bucketName: 'opa-one',
52
+ // region: 'ap-southeast-1'
53
+ // },
59
54
  uploads: 'uploads',
60
55
  attachmentsPath: 'attachments',
61
56
  logger: {
@@ -105,7 +100,5 @@ module.exports = {
105
100
  // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
106
101
  // }
107
102
  },
108
- reportApiUrl: 'http://localhost:8888/rest/report/show_html'
109
- // reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
110
- // reportApiUrl: 'http://10.100.109.66:8090/rest/report/show_html'
103
+ reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
111
104
  }
@@ -0,0 +1,104 @@
1
+ module.exports = {
2
+ domainType: 'warehouse',
3
+ domainExtType: 'warehouse',
4
+ useVirtualHostBasedDomain: false,
5
+ fallbackRoute: '/',
6
+ subdomainOffset: 2,
7
+ port: 1100,
8
+ inspect: '9430',
9
+ ormconfig: {
10
+ name: 'default',
11
+ type: 'postgres',
12
+ database: 'dev',
13
+ username: 'postgres',
14
+ password: 'hatio',
15
+ host: '192.168.0.161',
16
+ port: 15432,
17
+ synchronize: true,
18
+ logging: false
19
+ },
20
+ // ormconfig: {
21
+ // name: 'default',
22
+ // type: 'postgres',
23
+ // database: 'dev',
24
+ // username: 'postgres',
25
+ // password: 'abcd1234',
26
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
+ // port: 55432,
28
+ // synchronize: true,
29
+ // logging: true
30
+ // },
31
+ sellercraftIntegrationConfig: {
32
+ apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
33
+ },
34
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
35
+ password: {
36
+ lowerCase: true,
37
+ upperCase: false,
38
+ digit: false,
39
+ specialCharacter: false,
40
+ allowRepeat: true,
41
+ useTightPattern: false,
42
+ useLoosePattern: true,
43
+ tightCharacterLength: 4,
44
+ looseCharacterLength: 4,
45
+ history: 2
46
+ },
47
+ // storage: {
48
+ // type: 's3',
49
+ // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
50
+ // secretAccessKey: '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',
51
+ // bucketName: 'opa-one',
52
+ // region: 'ap-southeast-1'
53
+ // },
54
+ uploads: 'uploads',
55
+ attachmentsPath: 'attachments',
56
+ logger: {
57
+ file: {
58
+ filename: 'logs/application-%DATE%.log',
59
+ datePattern: 'YYYY-MM-DD-HH',
60
+ zippedArchive: true,
61
+ maxSize: '200m',
62
+ maxFiles: '1m',
63
+ level: 'info'
64
+ }
65
+ },
66
+ email: {
67
+ host: 'smtp.office365.com',
68
+ port: 587,
69
+ secure: false, // true for 465, false for other ports
70
+ auth: {
71
+ user: 'no-reply@hatiolab.com', // generated ethereal user
72
+ pass: 'h@ti0LAB1008' // generated ethereal password
73
+ },
74
+ secureConnection: false,
75
+ tls: {
76
+ ciphers: 'SSLv3'
77
+ }
78
+ },
79
+ sender: 'no-reply@hatiolab.com',
80
+ notification: {
81
+ // fcm: {
82
+ // serviceAccount: {
83
+ // project_id: 'operato',
84
+ // private_key:
85
+ // '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhki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tJg3BeeBSOUHSA8TvjnA0xd83xeb\n8ZJasWoFvwKBgQDFs/gQ/gIdcq0exLfluh5nw0qgcmyHpNWJHdjqITS9IX/nqFkU\n0IYLtmdStf2jQiLmbkydHcvz9wZVvLqml67VBHhwLcwpgPULoskd34/4V0Dvzy4c\nv1Esw8H5zVqIDLeLu+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
86
+ // client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
87
+ // },
88
+ // appConfig: {
89
+ // apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
90
+ // projectId: 'operato',
91
+ // messagingSenderId: 79537064975,
92
+ // appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
93
+ // },
94
+ // serverKey:
95
+ // 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
96
+ // },
97
+ // vapidKey: {
98
+ // subject: 'mailto:heartyoh@hatiolab.com',
99
+ // publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
100
+ // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
101
+ // }
102
+ },
103
+ reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
104
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.180",
3
+ "version": "4.3.182",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -108,7 +108,7 @@
108
108
  "@things-factory/transport-base": "^4.3.179",
109
109
  "@things-factory/tutorial-ui": "^4.3.179",
110
110
  "@things-factory/warehouse-base": "^4.3.180",
111
- "@things-factory/worksheet-base": "^4.3.180"
111
+ "@things-factory/worksheet-base": "^4.3.181"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.179",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "15d2c49b93638fceb097e06570bd0116ed5e24e3"
120
+ "gitHead": "444cf669afbb3b95f707487468126f1087062882"
121
121
  }
@@ -184,6 +184,7 @@
184
184
  "field.bin": "bin",
185
185
  "field.branch": "branch",
186
186
  "field.brand_sku": "brand sku",
187
+ "field.brand_sku_label": "Brand SKU",
187
188
  "field.brand": "brand",
188
189
  "field.brn": "brn",
189
190
  "field.buffer_location": "buffer location",
@@ -205,6 +205,7 @@
205
205
  "field.brand_image": "[ko]brand image",
206
206
  "field.brand_name": "[ko]brand name",
207
207
  "field.brand_sku": "[ko]brand sku",
208
+ "field.brand_sku_label": "[ko]Brand SKU",
208
209
  "field.brand": "[ko] brand",
209
210
  "field.brn": "사업자번호",
210
211
  "field.buffer_location": "버퍼 위치",
@@ -197,6 +197,7 @@
197
197
  "field.bin": "[ms] bin",
198
198
  "field.branch": "cawangan",
199
199
  "field.brand_sku": "[ms]brand sku",
200
+ "field.brand_sku_label": "[ms]Brand SKU",
200
201
  "field.brand": "[ms] brand",
201
202
  "field.brn": "brn",
202
203
  "field.buffer_location": "[ms]buffer location",
@@ -193,6 +193,7 @@
193
193
  "field.bin": "[zh] bin",
194
194
  "field.branch": "branch",
195
195
  "field.brand_sku": "[zh]brand sku",
196
+ "field.brand_sku_label": "[zh]Brand SKU",
196
197
  "field.brand": "[zh] brand",
197
198
  "field.brn": "brn",
198
199
  "field.buffer_location": "[zh]buffer location",