@things-factory/operato-wms 4.3.123 → 4.3.124

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.
@@ -89,7 +89,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
89
89
 
90
90
  get context() {
91
91
  var actions = []
92
- if (this.releaseGoodNo && this.platform === PLATFORM.LAZADA.value && this.completed && this.trackingNo) {
92
+ if (this.releaseGoodNo && (this.platform === PLATFORM.LAZADA.value || this.platform === PLATFORM.SHOPEE.value) && this.completed && this.trackingNo) {
93
93
  actions.push({
94
94
  title: i18next.t('button.print_airway_bill'),
95
95
  action: this.printAirwayBill.bind(this),
@@ -4,12 +4,12 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 1100,
8
- inspect: '9430',
7
+ port: 4000,
8
+ inspect: '9330',
9
9
  ormconfig: {
10
10
  name: 'default',
11
11
  type: 'postgres',
12
- database: 'dev3',
12
+ database: 'postgres',
13
13
  username: 'postgres',
14
14
  password: 'hatio',
15
15
  host: '192.168.0.153',
@@ -20,17 +20,29 @@ module.exports = {
20
20
  // ormconfig: {
21
21
  // name: 'default',
22
22
  // type: 'postgres',
23
- // database: 'postgres',
24
- // username: 'postgres',
25
- // password: 'abcd1234',
26
23
  // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
24
  // port: 55432,
25
+ // database: 'dev2',
26
+ // username: 'postgres',
27
+ // password: 'abcd1234',
28
28
  // synchronize: false,
29
- // logging: true
29
+ // logging: true,
30
+ // connectTimeoutMS: 30000,
31
+ // extra: { poolSize: 30 }
30
32
  // },
31
- sellercraftIntegrationConfig: {
32
- apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
33
- },
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
+ //},
34
46
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
35
47
  password: {
36
48
  lowerCase: true,
@@ -44,13 +56,6 @@ module.exports = {
44
56
  looseCharacterLength: 4,
45
57
  history: 2
46
58
  },
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
59
  uploads: 'uploads',
55
60
  attachmentsPath: 'attachments',
56
61
  logger: {
@@ -100,5 +105,7 @@ module.exports = {
100
105
  // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
101
106
  // }
102
107
  },
103
- reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
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'
104
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.123",
3
+ "version": "4.3.124",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -118,5 +118,5 @@
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "4b257504bfc8c0a626dd90dc0216abb7ca30d8d3"
121
+ "gitHead": "bcd2c69b4a1f5af4c6f75a9cca63b70c55d06e6a"
122
122
  }