@things-factory/operato-wms 4.1.3 → 4.1.4

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.
@@ -4,3 +4,4 @@ export const LOCATION_LABEL_SETTING_KEY = 'location-label'
4
4
  export const PALLET_LABEL_SETTING_KEY = 'pallet-label'
5
5
  export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
6
6
  export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
7
+ export const INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label'
@@ -219,6 +219,7 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
219
219
  'status',
220
220
  'createdAt',
221
221
  'updatedAt',
222
+ 'acceptedBy',
222
223
  'creator'
223
224
  ]
224
225
  },
@@ -358,6 +359,14 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
358
359
  label: true,
359
360
  sortable: true,
360
361
  width: 200
362
+ },
363
+ {
364
+ type: 'object',
365
+ name: 'acceptedBy',
366
+ header: i18next.t('field.accepted_by'),
367
+ label: true,
368
+ sortable: true,
369
+ width: 200
361
370
  }
362
371
  ]
363
372
  }
@@ -402,6 +411,11 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
402
411
  name
403
412
  description
404
413
  }
414
+ acceptedBy {
415
+ id
416
+ name
417
+ description
418
+ }
405
419
  creator {
406
420
  id
407
421
  name
@@ -495,7 +509,8 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
495
509
  { header: i18next.t('field.status'), key: 'status', width: 25, type: 'string' },
496
510
  { header: i18next.t('field.created_at'), key: 'createdAt', width: 30, type: 'date' },
497
511
  { header: i18next.t('field.updated_at'), key: 'updatedAt', width: 30, type: 'date' },
498
- { header: i18next.t('field.created_by'), key: 'creatorName', width: 25, type: 'string' }
512
+ { header: i18next.t('field.created_by'), key: 'creatorName', width: 25, type: 'string' },
513
+ { header: i18next.t('field.accepted_by'), key: 'acceptedByName', width: 25, type: 'string' }
499
514
  ]
500
515
 
501
516
  if (this.dataGrist.selected && this.dataGrist.selected.length > 0) {
@@ -503,6 +518,7 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
503
518
  return {
504
519
  ...record,
505
520
  bizplaceName: record.bizplace?.name,
521
+ acceptedByName: record.acceptedBy?.name,
506
522
  creatorName: record.creator?.name
507
523
  }
508
524
  })
@@ -511,6 +527,7 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
511
527
  return {
512
528
  ...record,
513
529
  bizplaceName: record.bizplace?.name,
530
+ acceptedByName: record.acceptedBy?.name,
514
531
  creatorName: record.creator?.name
515
532
  }
516
533
  })
@@ -359,6 +359,14 @@ class B2bOrderList extends localize(i18next)(PageView) {
359
359
  imex: { header: i18next.t('field.created_by'), key: 'creator.name', width: 30, type: 'string' },
360
360
  sortable: true,
361
361
  width: 200
362
+ },
363
+ {
364
+ type: 'object',
365
+ name: 'acceptedBy',
366
+ header: i18next.t('field.accepted_by'),
367
+ imex: { header: i18next.t('field.accepted_by'), key: 'acceptedBy.name', width: 30, type: 'string' },
368
+ sortable: true,
369
+ width: 200
362
370
  }
363
371
  ]
364
372
  }
@@ -5,23 +5,25 @@ import '../batch-generate-single-picking-worksheet-popup'
5
5
 
6
6
  import gql from 'graphql-tag'
7
7
  import { css, html } from 'lit-element'
8
+ import { connect } from 'pwa-helpers/connect-mixin'
8
9
 
10
+ import { DirectPrinter } from '@things-factory/barcode-base'
9
11
  import { GhostPrint } from '@operato/ghost-print'
10
12
  import { getCodeByName } from '@things-factory/code-base'
11
13
  import { i18next, localize } from '@things-factory/i18n-base'
12
14
  import { openPopup } from '@things-factory/layout-base'
13
- import { client, navigate, PageView } from '@things-factory/shell'
15
+ import { client, navigate, PageView, store } from '@things-factory/shell'
14
16
  import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
15
17
  import { isMobileDevice } from '@things-factory/utils'
16
18
 
17
- import { ORDER_STATUS } from '../../../constants'
19
+ import { INTENALIZED_AWB_SETTING_KEY, ORDER_STATUS } from '../../../constants'
18
20
 
19
21
  const HEADER_JSON = {
20
22
  'Content-Type': 'application/json',
21
23
  Accept: 'application/json'
22
24
  }
23
25
 
24
- class B2cOrderRequests extends localize(i18next)(PageView) {
26
+ class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
25
27
  static get styles() {
26
28
  return [
27
29
  ScrollbarStyles,
@@ -46,12 +48,18 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
46
48
 
47
49
  static get properties() {
48
50
  return {
51
+ _internalizedAWBLabel: Object,
49
52
  _searchFields: Array,
50
53
  config: Object,
51
54
  data: Object
52
55
  }
53
56
  }
54
57
 
58
+ stateChanged(state) {
59
+ let internalizedAWBSetting = state.dashboard[INTENALIZED_AWB_SETTING_KEY]
60
+ this._internalizedAWBLabel = (internalizedAWBSetting && internalizedAWBSetting.board) || {}
61
+ }
62
+
55
63
  render() {
56
64
  return html`
57
65
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
@@ -65,30 +73,43 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
65
73
  }
66
74
 
67
75
  get context() {
68
- return {
69
- title: i18next.t('title.release_order_requests'),
70
- actions: [
71
- {
72
- title: i18next.t('button.print_invoice'),
73
- action: this._printInvoices.bind(this),
74
- ...CommonButtonStyles.label
75
- },
76
+ let actions = [
77
+ {
78
+ title: i18next.t('button.print_invoice'),
79
+ action: this._printInvoices.bind(this),
80
+ ...CommonButtonStyles.label
81
+ },
82
+ {
83
+ title: i18next.t('button.generate_packing_list'),
84
+ action: this._generatePackingList.bind(this),
85
+ ...CommonButtonStyles.label
86
+ },
87
+ {
88
+ title: i18next.t('button.batch_picking'),
89
+ action: this._openBatchPickingPopup.bind(this),
90
+ ...CommonButtonStyles.activate
91
+ },
92
+ {
93
+ title: i18next.t('button.generate_worksheet'),
94
+ action: this._openBatchGenerateSinglePickingWorksheetPopup.bind(this),
95
+ ...CommonButtonStyles.activate
96
+ }
97
+ ]
98
+
99
+ if (Object.keys(this._internalizedAWBLabel).length) {
100
+ actions = [
76
101
  {
77
- title: i18next.t('button.generate_packing_list'),
78
- action: this._generatePackingList.bind(this),
102
+ title: i18next.t('button.print_internal_awb'),
103
+ action: this._printInternalAWB.bind(this),
79
104
  ...CommonButtonStyles.label
80
105
  },
81
- {
82
- title: i18next.t('button.batch_picking'),
83
- action: this._openBatchPickingPopup.bind(this),
84
- ...CommonButtonStyles.activate
85
- },
86
- {
87
- title: i18next.t('button.generate_worksheet'),
88
- action: this._openBatchGenerateSinglePickingWorksheetPopup.bind(this),
89
- ...CommonButtonStyles.activate
90
- }
91
- ],
106
+ ...actions
107
+ ]
108
+ }
109
+
110
+ return {
111
+ title: i18next.t('title.release_order_requests'),
112
+ actions,
92
113
  exportable: {
93
114
  name: i18next.t('title.release_order_requests'),
94
115
  data: this._exportableData.bind(this)
@@ -360,9 +381,21 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
360
381
  releaseGoodRequests(filters: $filters, pagination: $pagination, sortings: $sortings) {
361
382
  items {
362
383
  id
384
+ trackingNo
363
385
  attentionTo
364
386
  deliveryAddress1
387
+ deliveryAddress2
388
+ deliveryAddress3
389
+ deliveryAddress4
390
+ deliveryAddress5
391
+ attentionTo
392
+ attentionCompany
393
+ city
394
+ state
395
+ postalCode
396
+ country
365
397
  phone1
398
+ phone2
366
399
  postalCode
367
400
  marketplaceOrderStatus
368
401
  transporter
@@ -378,6 +411,7 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
378
411
  refNo2
379
412
  refNo3
380
413
  noOfItems
414
+ createdAt
381
415
  updatedAt
382
416
  acceptedBy {
383
417
  id
@@ -529,6 +563,65 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
529
563
  }
530
564
  }
531
565
 
566
+ async _printInternalAWB() {
567
+ const records = this.dataGrist.selected
568
+ var labelId = this._internalizedAWBLabel && this._internalizedAWBLabel.id
569
+
570
+ if (!labelId) {
571
+ this._showToast({
572
+ type: 'error',
573
+ message: `${i18next.t('text.no_label_setting_was_found')}. ${i18next.t('text.please_check_your_setting')}`
574
+ })
575
+ } else {
576
+ for (var record of records) {
577
+ var searchParams = new URLSearchParams()
578
+ searchParams.append('createdAt', this._getDateString(new Date(parseInt(record.createdAt))))
579
+ searchParams.append('refNo', record.refNo)
580
+ searchParams.append('name', record.name)
581
+ searchParams.append('noOfItems', record.noOfItems)
582
+ searchParams.append('postalCode', record.postalCode)
583
+ searchParams.append('attentionTo', record.attentionTo)
584
+ searchParams.append('deliveryAddress1', record.deliveryAddress1 || '')
585
+ searchParams.append('deliveryAddress2', record.deliveryAddress2 || '')
586
+ searchParams.append('deliveryAddress3', record.deliveryAddress3 || '')
587
+ searchParams.append('deliveryAddress4', record.deliveryAddress4 || '')
588
+ searchParams.append('deliveryAddress5', record.deliveryAddress5 || '')
589
+ searchParams.append('phone1', record.phone1 || '')
590
+ searchParams.append('phone2', record.phone2 || '')
591
+ searchParams.append('trackingNo', record.trackingNo)
592
+ searchParams.append('transporter', record.transporter)
593
+ // if (!record?.cartonId) throw new Error(i18next.t('text.selected_inventory_not_using_carton_label'))
594
+
595
+ /* for pallet record mapping */
596
+ // searchParams.append('carton', record.cartonId)
597
+ // searchParams.append('customer', record.bizplace.name)
598
+
599
+ try {
600
+ const response = await fetch(`label-command/${labelId}?${searchParams.toString()}`, {
601
+ method: 'GET'
602
+ })
603
+
604
+ if (response.status !== 200) {
605
+ throw `Error : Can't get label command from server (response: ${response.status})`
606
+ }
607
+
608
+ var command = await response.text()
609
+
610
+ if (!this.printer) {
611
+ this.printer = new DirectPrinter()
612
+ }
613
+
614
+ await this.printer.print(command)
615
+ } catch (e) {
616
+ this._showToast(e)
617
+
618
+ delete this.printer
619
+ break
620
+ }
621
+ }
622
+ }
623
+ }
624
+
532
625
  async _callPrintDialog(contentSource) {
533
626
  GhostPrint.print({
534
627
  srcdoc: contentSource,
@@ -695,6 +788,10 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
695
788
  })
696
789
  return { header: headerSetting, data: data }
697
790
  }
791
+
792
+ _getDateString(date) {
793
+ return `${date.getDate()} ${date.toLocaleString('default', { month: 'short' })} ${date.getFullYear()}`
794
+ }
698
795
  }
699
796
 
700
797
  window.customElements.define('b2c-order-requests', B2cOrderRequests)
@@ -30,7 +30,8 @@ exports.boardSettingsResolver = {
30
30
  opa_app_setting_constants_1.PALLET_LABEL_SETTING_KEY,
31
31
  opa_app_setting_constants_1.REUSABLE_PALLET_LABEL_SETTING_KEY,
32
32
  HOME_BOARD,
33
- opa_app_setting_constants_1.CARTON_LABEL_SETTING_KEY
33
+ opa_app_setting_constants_1.CARTON_LABEL_SETTING_KEY,
34
+ opa_app_setting_constants_1.INTENALIZED_AWB_SETTING_KEY
34
35
  ];
35
36
  var qb = queryBuilder
36
37
  // .innerJoin(Board, 'Board', 'Board.id = CAST(Setting.value AS uuid)')
@@ -1 +1 @@
1
- {"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/board-settings.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,yDAAgD;AAChD,iEAAqD;AACrD,+DAAsD;AAGtD,kFAO2C;AAE9B,QAAA,qBAAqB,GAAG;IACnC,KAAK,CAAC,aAAa,CAAC,CAAM,EAAE,MAAW,EAAE,OAAY;QACnD,MAAM,EAAE,MAAM,EAAE,GAAuB,OAAO,CAAC,KAAK,CAAA;QAEpD;;6FAEqF;QACrF,MAAM,IAAI,GAAS,MAAM,IAAA,uBAAa,EAAC,gBAAI,CAAC;aACzC,kBAAkB,CAAC,MAAM,CAAC;aAC1B,iBAAiB,CAAC,YAAY,EAAE,OAAO,CAAC;aACxC,iBAAiB,CAAC,cAAc,EAAE,cAAc,CAAC;aACjD,KAAK,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;aAC7D,QAAQ,CAAC,6BAA6B,EAAE,EAAE,QAAQ,EAAE,MAAM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OAAO,CAAC,EAAE;oBACzB,IAAI,SAAS,GAAG,GAAG,CAAA;oBACnB,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAA;oBAC5C,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,SAAS,CAAC,CAAA;iBAC7C;qBAAM;oBACL,OAAO,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,CAAA;iBACjC;aACF;YAED,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,iDAAqB,CAAC,IAAI,CAAC,EAAE;gBACpD,OAAO,CAAC,IAAI,GAAG,iDAAqB,CAAA;aACrC;YAED,OAAO,OAAO,CAAA;QAChB,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/board-settings.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,yDAAgD;AAChD,iEAAqD;AACrD,+DAAsD;AAGtD,kFAQ2C;AAE9B,QAAA,qBAAqB,GAAG;IACnC,KAAK,CAAC,aAAa,CAAC,CAAM,EAAE,MAAW,EAAE,OAAY;QACnD,MAAM,EAAE,MAAM,EAAE,GAAuB,OAAO,CAAC,KAAK,CAAA;QAEpD;;6FAEqF;QACrF,MAAM,IAAI,GAAS,MAAM,IAAA,uBAAa,EAAC,gBAAI,CAAC;aACzC,kBAAkB,CAAC,MAAM,CAAC;aAC1B,iBAAiB,CAAC,YAAY,EAAE,OAAO,CAAC;aACxC,iBAAiB,CAAC,cAAc,EAAE,cAAc,CAAC;aACjD,KAAK,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;aAC7D,QAAQ,CAAC,6BAA6B,EAAE,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC;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C,EAAE;oBACzB,IAAI,SAAS,GAAG,GAAG,CAAA;oBACnB,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAA;oBAC5C,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,SAAS,CAAC,CAAA;iBAC7C;qBAAM;oBACL,OAAO,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,CAAA;iBACjC;aACF;YAED,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,iDAAqB,CAAC,IAAI,CAAC,EAAE;gBACpD,OAAO,CAAC,IAAI,GAAG,iDAAqB,CAAA;aACrC;YAED,OAAO,OAAO,CAAA;QAChB,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PRODUCT_LABEL_SETTING_KEY = exports.HOME_DASHBOARD_PREFIX = exports.REUSABLE_PALLET_LABEL_SETTING_KEY = exports.CARTON_LABEL_SETTING_KEY = exports.PALLET_LABEL_SETTING_KEY = exports.LOCATION_LABEL_SETTING_KEY = void 0;
3
+ exports.INTENALIZED_AWB_SETTING_KEY = exports.PRODUCT_LABEL_SETTING_KEY = exports.HOME_DASHBOARD_PREFIX = exports.REUSABLE_PALLET_LABEL_SETTING_KEY = exports.CARTON_LABEL_SETTING_KEY = exports.PALLET_LABEL_SETTING_KEY = exports.LOCATION_LABEL_SETTING_KEY = void 0;
4
4
  exports.LOCATION_LABEL_SETTING_KEY = 'location-label';
5
5
  exports.PALLET_LABEL_SETTING_KEY = 'pallet-label';
6
6
  exports.CARTON_LABEL_SETTING_KEY = 'carton-label';
7
7
  exports.REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label';
8
8
  exports.HOME_DASHBOARD_PREFIX = 'dashboard';
9
9
  exports.PRODUCT_LABEL_SETTING_KEY = 'product-label';
10
+ exports.INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label';
10
11
  //# sourceMappingURL=opa-app-setting-constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"opa-app-setting-constants.js","sourceRoot":"","sources":["../server/opa-app-setting-constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gBAAgB,CAAA;AAC7C,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,iCAAiC,GAAG,uBAAuB,CAAA;AAC3D,QAAA,qBAAqB,GAAG,WAAW,CAAA;AACnC,QAAA,yBAAyB,GAAG,eAAe,CAAA"}
1
+ {"version":3,"file":"opa-app-setting-constants.js","sourceRoot":"","sources":["../server/opa-app-setting-constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gBAAgB,CAAA;AAC7C,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,iCAAiC,GAAG,uBAAuB,CAAA;AAC3D,QAAA,qBAAqB,GAAG,WAAW,CAAA;AACnC,QAAA,yBAAyB,GAAG,eAAe,CAAA;AAC3C,QAAA,2BAA2B,GAAG,wBAAwB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -85,7 +85,7 @@
85
85
  "@things-factory/print-ui": "^4.1.2",
86
86
  "@things-factory/product-base": "^4.1.2",
87
87
  "@things-factory/resource-ui": "^4.1.3",
88
- "@things-factory/sales-ui": "^4.1.3",
88
+ "@things-factory/sales-ui": "^4.1.4",
89
89
  "@things-factory/scene-data-transform": "^4.1.2",
90
90
  "@things-factory/scene-excel": "^4.1.2",
91
91
  "@things-factory/scene-firebase": "^4.1.2",
@@ -102,11 +102,11 @@
102
102
  "@things-factory/system-ui": "^4.1.2",
103
103
  "@things-factory/transport-base": "^4.1.2",
104
104
  "@things-factory/tutorial-ui": "^4.1.2",
105
- "@things-factory/warehouse-base": "^4.1.3",
106
- "@things-factory/worksheet-base": "^4.1.3"
105
+ "@things-factory/warehouse-base": "^4.1.4",
106
+ "@things-factory/worksheet-base": "^4.1.4"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@things-factory/builder": "^4.1.2"
110
110
  },
111
- "gitHead": "08102cf42a7bcb6bb9de90e64201ffa1a0ea6308"
111
+ "gitHead": "fe43ed4363f25856ee6b7028a726f228b1aec945"
112
112
  }
@@ -11,7 +11,8 @@ import {
11
11
  LOCATION_LABEL_SETTING_KEY,
12
12
  PALLET_LABEL_SETTING_KEY,
13
13
  PRODUCT_LABEL_SETTING_KEY,
14
- REUSABLE_PALLET_LABEL_SETTING_KEY
14
+ REUSABLE_PALLET_LABEL_SETTING_KEY,
15
+ INTENALIZED_AWB_SETTING_KEY
15
16
  } from '../../../opa-app-setting-constants'
16
17
 
17
18
  export const boardSettingsResolver = {
@@ -42,7 +43,8 @@ export const boardSettingsResolver = {
42
43
  PALLET_LABEL_SETTING_KEY,
43
44
  REUSABLE_PALLET_LABEL_SETTING_KEY,
44
45
  HOME_BOARD,
45
- CARTON_LABEL_SETTING_KEY
46
+ CARTON_LABEL_SETTING_KEY,
47
+ INTENALIZED_AWB_SETTING_KEY
46
48
  ]
47
49
 
48
50
  var qb = queryBuilder
@@ -4,3 +4,4 @@ export const CARTON_LABEL_SETTING_KEY = 'carton-label'
4
4
  export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
5
5
  export const HOME_DASHBOARD_PREFIX = 'dashboard'
6
6
  export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
7
+ export const INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label'
@@ -65,6 +65,7 @@
65
65
  "button.plastic_pallet": "plastic pallet",
66
66
  "button.preview": "preview",
67
67
  "button.print_airway_bill": "print airway bill",
68
+ "button.print_internal_awb": "print internal awb",
68
69
  "button.print_invoice": "print invoice",
69
70
  "button.print_label": "print label",
70
71
  "button.print_packing_list": "print packing list",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "button.print_internal_awb": "[ko]print internal awb",
2
3
  "arrival_notice_created": "입고주문이 생성 되었습니다.",
3
4
  "arrival_notice_updated": "[ko]arrival notice updated",
4
5
  "button.activate": "활성화",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "button.print_internal_awb": "[ms]print internal awb",
2
3
  "arrival_notice_created": "notis ketibaan telah dicipta",
3
4
  "arrival_notice_updated": "notis ketibaan telah dikemaskinikan",
4
5
  "button.activate": "aktifkan",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "button.print_internal_awb": "[zh]print internal awb",
2
3
  "arrival_notice_created": "arrival notice created",
3
4
  "button.activate": "activate",
4
5
  "button.add_edit": "add & edit",