@things-factory/operato-wms 4.3.19 → 4.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,606 @@
1
+ import '@things-factory/form-ui'
2
+ import '@things-factory/grist-ui'
3
+ import '../inventory/inventory-by-product-detail'
4
+
5
+ import gql from 'graphql-tag'
6
+ import { css, html } from 'lit-element'
7
+ import { connect } from 'pwa-helpers/connect-mixin'
8
+
9
+ import { i18next, localize } from '@things-factory/i18n-base'
10
+ import { client, PageView, store } from '@things-factory/shell'
11
+ import { flattenObject, isMobileDevice } from '@things-factory/utils'
12
+
13
+ class VolumeSummaryReport extends connect(store)(localize(i18next)(PageView)) {
14
+ static get styles() {
15
+ return css`
16
+ :host {
17
+ display: flex;
18
+ flex-direction: column;
19
+ width: 100%;
20
+ }
21
+
22
+ search-form {
23
+ overflow: visible;
24
+ }
25
+ data-grist {
26
+ overflow-y: auto;
27
+ flex: 1;
28
+ }
29
+
30
+ #total {
31
+ height: 70%;
32
+ }
33
+
34
+ data-grist#summary-grist {
35
+ padding-top: 0px;
36
+ height: 100%;
37
+ }
38
+
39
+ .summary {
40
+ background-color: var(--main-section-background-color);
41
+ display: flex;
42
+ flex-direction: column;
43
+ overflow-y: auto;
44
+ align-items: flex-end;
45
+ padding: var(--data-list-item-padding);
46
+ display: grid;
47
+ font-size: 14px;
48
+ color: #394e64;
49
+ grid-template-columns: repeat(2, 1fr);
50
+ grid-auto-rows: minmax(24px, auto);
51
+ }
52
+ `
53
+ }
54
+
55
+ static get properties() {
56
+ return {
57
+ _searchFields: Object,
58
+ _config: Object,
59
+ _totalConfig: Object,
60
+ _partners: Object,
61
+ _gristData: Object,
62
+ _totalGristData: Object,
63
+ data: Object
64
+ }
65
+ }
66
+
67
+ get context() {
68
+ return {
69
+ title: i18next.t('title.volume_summary_report'),
70
+ printable: {
71
+ accept: ['preview'],
72
+ content: this
73
+ },
74
+ exportable: {
75
+ name: i18next.t('title.volume_summary_report'),
76
+ data: this._exportableData.bind(this)
77
+ },
78
+ help: 'operato-wms/report/volume-summary-report'
79
+ }
80
+ }
81
+
82
+ get dataGrist() {
83
+ return this.shadowRoot.querySelector('data-grist')
84
+ }
85
+
86
+ get searchForm() {
87
+ return this.shadowRoot.querySelector('search-form')
88
+ }
89
+
90
+ get _bizplaceSelector() {
91
+ return this.searchForm.shadowRoot.querySelector('select[name=bizplace]')
92
+ }
93
+
94
+ get _fromDateInput() {
95
+ return this.searchForm.shadowRoot.querySelector('input[name=fromDate]')
96
+ }
97
+
98
+ get _toDateInput() {
99
+ return this.searchForm.shadowRoot.querySelector('input[name=toDate]')
100
+ }
101
+
102
+ render() {
103
+ return html`
104
+ <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
105
+
106
+ <div id="total">
107
+ <data-grist
108
+ id="summary-grist"
109
+ .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
110
+ .config=${this._config}
111
+ .fetchHandler="${this.fetchHandler.bind(this)}"
112
+ .data=${this._gristData}
113
+ ></data-grist>
114
+ </div>
115
+
116
+ <data-grist
117
+ .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
118
+ .config=${this._totalConfig}
119
+ .data=${this._totalGristData}
120
+ ></data-grist>
121
+ `
122
+ }
123
+
124
+ get searchFields() {
125
+ return [
126
+ {
127
+ label: i18next.t('field.company'),
128
+ name: 'bizplace',
129
+ type: 'select',
130
+ options: [
131
+ { value: '' },
132
+ ...this._partners
133
+ .map(partner => {
134
+ return {
135
+ name: `${partner.name} ${partner.description ? `(${partner.description})` : ''}`,
136
+ value: partner.id
137
+ }
138
+ })
139
+ .sort(this._compareValues('name', 'asc'))
140
+ ],
141
+ props: { searchOper: 'eq' }
142
+ },
143
+ {
144
+ label: i18next.t('field.from_date'),
145
+ name: 'fromDate',
146
+ type: 'date',
147
+ props: {
148
+ searchOper: 'eq',
149
+ max: new Date().toISOString().split('T')[0]
150
+ },
151
+ value: (() => {
152
+ let date = new Date()
153
+ date.setMonth(date.getMonth() - 1)
154
+ return date.toISOString().split('T')[0]
155
+ })(),
156
+ handlers: { change: this._modifyDateRange.bind(this) }
157
+ },
158
+ {
159
+ label: i18next.t('field.to_date'),
160
+ name: 'toDate',
161
+ type: 'date',
162
+ props: {
163
+ searchOper: 'eq',
164
+ min: (() => {
165
+ let date = new Date()
166
+ date.setMonth(date.getMonth() - 1)
167
+ return date.toISOString().split('T')[0]
168
+ })(),
169
+ max: (() => {
170
+ var max = new Date()
171
+ max.setMonth(max.getMonth())
172
+ return max.toISOString().split('T')[0]
173
+ })()
174
+ },
175
+ value: new Date().toISOString().split('T')[0],
176
+ handlers: { change: this._submit.bind(this) }
177
+ }
178
+ ]
179
+ }
180
+
181
+ get reportConfig() {
182
+ let columns = [
183
+ { type: 'gutter', gutterName: 'sequence' },
184
+ {
185
+ type: 'date',
186
+ name: 'date',
187
+ header: i18next.t('field.date'),
188
+ width: 100
189
+ },
190
+ {
191
+ type: 'number',
192
+ name: 'openingQty',
193
+ header: i18next.t('field.opening_qty'),
194
+ width: 100
195
+ },
196
+ {
197
+ type: 'float',
198
+ name: 'openingVolume',
199
+ header: i18next.t('field.opening_volume'),
200
+ width: 100
201
+ },
202
+ {
203
+ type: 'number',
204
+ name: 'inboundQty',
205
+ header: i18next.t('field.inbound_qty'),
206
+ width: 100
207
+ },
208
+ {
209
+ type: 'float',
210
+ name: 'inboundVolume',
211
+ header: i18next.t('field.inbound_volume'),
212
+ width: 100
213
+ },
214
+ {
215
+ type: 'number',
216
+ name: 'adjustedQty',
217
+ header: i18next.t('field.adjusted_qty'),
218
+ width: 100
219
+ },
220
+ {
221
+ type: 'float',
222
+ name: 'adjustedVolume',
223
+ header: i18next.t('field.adjusted_volume'),
224
+ width: 100
225
+ },
226
+ {
227
+ type: 'number',
228
+ name: 'missingQty',
229
+ header: i18next.t('field.missing_qty'),
230
+ width: 100
231
+ },
232
+ {
233
+ type: 'float',
234
+ name: 'missingVolume',
235
+ header: i18next.t('field.missing_volume'),
236
+ width: 100
237
+ },
238
+ {
239
+ type: 'number',
240
+ name: 'outboundQty',
241
+ header: i18next.t('field.outbound_qty'),
242
+ width: 100
243
+ },
244
+ {
245
+ type: 'float',
246
+ name: 'outboundVolume',
247
+ header: i18next.t('field.outbound_volume'),
248
+ width: 100
249
+ },
250
+ {
251
+ type: 'number',
252
+ name: 'closingQty',
253
+ header: i18next.t('field.closing_qty'),
254
+ width: 100
255
+ },
256
+ {
257
+ type: 'float',
258
+ name: 'closingVolume',
259
+ header: i18next.t('field.closing_volume'),
260
+ width: 100
261
+ }
262
+ ]
263
+
264
+ return {
265
+ list: {
266
+ fields: [
267
+ 'date',
268
+ 'openingQty',
269
+ 'openingVolume',
270
+ 'inboundQty',
271
+ 'inboundVolume',
272
+ 'adjustmentQty',
273
+ 'adjustmentVolume',
274
+ 'missingQty',
275
+ 'missingVolume',
276
+ 'closingQty',
277
+ 'closingVolume'
278
+ ]
279
+ },
280
+ pagination: { limit: 50, pages: [50, 100, 200, 500, 1000] },
281
+ rows: {
282
+ selectable: false,
283
+ insertable: false,
284
+ appendable: false
285
+ },
286
+ columns: columns
287
+ }
288
+ }
289
+
290
+ get totalConfig() {
291
+ let columns = [
292
+ {
293
+ type: 'string',
294
+ name: 'name',
295
+ header: '',
296
+ width: 100
297
+ },
298
+ {
299
+ type: 'float',
300
+ name: 'opening',
301
+ header: i18next.t('field.opening'),
302
+ width: 100
303
+ },
304
+ {
305
+ type: 'float',
306
+ name: 'inbound',
307
+ header: i18next.t('field.inbound'),
308
+ width: 100
309
+ },
310
+ {
311
+ type: 'float',
312
+ name: 'adjustment',
313
+ header: i18next.t('field.adjusted'),
314
+ width: 100
315
+ },
316
+ {
317
+ type: 'float',
318
+ name: 'missing',
319
+ header: i18next.t('field.missing'),
320
+ width: 100
321
+ },
322
+ {
323
+ type: 'float',
324
+ name: 'outbound',
325
+ header: i18next.t('field.outbound'),
326
+ width: 100
327
+ },
328
+ {
329
+ type: 'float',
330
+ name: 'closing',
331
+ header: i18next.t('field.closing'),
332
+ width: 100
333
+ }
334
+ ]
335
+
336
+ return {
337
+ list: {
338
+ fields: [
339
+ 'totalopeningQty',
340
+ 'totalopeningVolume',
341
+ 'totalinboundQty',
342
+ 'totalinboundVolume',
343
+ 'totaladjustmentQty',
344
+ 'totaladjustmentVolume',
345
+ 'totalmissingQty',
346
+ 'totalmissingVolume',
347
+ 'totalclosingQty',
348
+ 'totalclosingVolume'
349
+ ]
350
+ },
351
+ pagination: { infinite: true },
352
+ rows: {
353
+ selectable: false,
354
+ insertable: false,
355
+ appendable: false
356
+ },
357
+ columns: columns
358
+ }
359
+ }
360
+
361
+ async pageInitialized() {
362
+ this._gristData = { total: 0, records: [] }
363
+ this._totalGristData = { total: 0, records: [] }
364
+ this._partners = [...(await this._fetchPartners())]
365
+
366
+ this._searchFields = this.searchFields
367
+ this._config = this.reportConfig
368
+ this._totalConfig = this.totalConfig
369
+ }
370
+
371
+ pageUpdated(changes, lifecycle) {
372
+ if (this.active) {
373
+ this.dataGrist.fetch()
374
+ }
375
+ }
376
+
377
+ async fetchHandler({ page, limit, sorters = [] }) {
378
+ try {
379
+ this._validate()
380
+ let filter = this.searchForm.queryFilters
381
+ const response = await client.query({
382
+ query: gql`
383
+ query inventoryHistoryVolumeSummaryReport(
384
+ $filters: [Filter!]
385
+ $pagination: Pagination
386
+ $sortings: [Sorting!]
387
+ ) {
388
+ inventoryHistoryVolumeSummaryReport(filters: $filters, pagination: $pagination, sortings: $sortings) {
389
+ items {
390
+ date
391
+ openingQty
392
+ openingVolume
393
+ inboundQty
394
+ inboundVolume
395
+ adjustedQty
396
+ adjustedVolume
397
+ missingQty
398
+ missingVolume
399
+ outboundQty
400
+ outboundVolume
401
+ closingQty
402
+ closingVolume
403
+ }
404
+ total
405
+ totalOpeningQty
406
+ totalOpeningVolume
407
+ totalInboundQty
408
+ totalInboundVolume
409
+ totalAdjustedQty
410
+ totalAdjustedVolume
411
+ totalMissingQty
412
+ totalMissingVolume
413
+ totalOutboundQty
414
+ totalOutboundVolume
415
+ totalClosingQty
416
+ totalClosingVolume
417
+ }
418
+ }
419
+ `,
420
+ variables: { filters: filter, pagination: { page, limit }, sortings: sorters }
421
+ })
422
+
423
+ if (!response.errors) {
424
+ const report = response.data.inventoryHistoryVolumeSummaryReport
425
+
426
+ const data = {
427
+ total: report.total,
428
+ records: report.items.map(itm => {
429
+ return {
430
+ ...itm,
431
+ openingQty: itm.openingQty || 0,
432
+ inboundQty: itm.inboundQty || 0,
433
+ adjustedQty: itm.adjustedQty || 0,
434
+ missingQty: itm.missingQty || 0,
435
+ outboundQty: itm.outboundQty || 0,
436
+ closingQty: itm.closingQty || 0,
437
+ openingVolume: parseFloat(itm.openingVolume || 0).toFixed(2),
438
+ inboundVolume: parseFloat(itm.inboundVolume || 0).toFixed(2),
439
+ adjustedVolume: parseFloat(itm.adjustedVolume || 0).toFixed(2),
440
+ missingVolume: parseFloat(itm.missingVolume || 0).toFixed(2),
441
+ outboundVolume: parseFloat(itm.outboundVolume || 0).toFixed(2),
442
+ closingVolume: parseFloat(itm.closingVolume || 0).toFixed(2)
443
+ }
444
+ })
445
+ }
446
+
447
+ this._gristData = {
448
+ ...data
449
+ }
450
+
451
+ this._totalGristData = {
452
+ total: 2,
453
+ records: [
454
+ {
455
+ name: 'Quantity',
456
+ opening: report.totalOpeningQty || 0,
457
+ inbound: report.totalInboundQty || 0,
458
+ adjustment: report.totalAdjustedQty || 0,
459
+ missing: report.totalMissingQty || 0,
460
+ outbound: report.totalOutboundQty || 0,
461
+ closing: report.totalClosingQty || 0
462
+ },
463
+ {
464
+ name: 'Volume',
465
+ opening: parseFloat(report.totalOpeningVolume || 0).toFixed(2),
466
+ inbound: parseFloat(report.totalInboundVolume || 0).toFixed(2),
467
+ adjustment: parseFloat(report.totalAdjustedVolume || 0).toFixed(2),
468
+ missing: parseFloat(report.totalMissingVolume || 0).toFixed(2),
469
+ outbound: parseFloat(report.totalOutboundVolume || 0).toFixed(2),
470
+ closing: parseFloat(report.totalClosingVolume || 0).toFixed(2)
471
+ }
472
+ ]
473
+ }
474
+
475
+ return data
476
+ } else {
477
+ this._gristData = { total: 0, records: [] }
478
+ this._totalGristData = { total: 0, records: [] }
479
+ }
480
+ } catch (e) {
481
+ this._showToast(e)
482
+ }
483
+ }
484
+
485
+ async _fetchPartners() {
486
+ const filters = []
487
+ const response = await client.query({
488
+ query: gql`
489
+ query partnersBizplaces($filters: [Filter!]) {
490
+ partnersBizplaces(filters: $filters) {
491
+ items {
492
+ id
493
+ name
494
+ description
495
+ company {
496
+ id
497
+ domainId
498
+ }
499
+ }
500
+ }
501
+ }
502
+ `,
503
+ variables: { filters }
504
+ })
505
+
506
+ if (!response.errors) {
507
+ return response.data.partnersBizplaces.items
508
+ }
509
+ }
510
+ _validate() {
511
+ if (!this.searchForm.shadowRoot.querySelector('form').checkValidity())
512
+ throw new Error(i18next.t('text.invalid_form_value'))
513
+ if (!this._bizplaceSelector.value) throw new Error(i18next.t('text.no_company_selected'))
514
+ if (!this._fromDateInput.value) throw new Error(i18next.t('text.from_date_is_empty'))
515
+ if (!this._toDateInput.value) throw new Error(i18next.t('text.to_date_is_empty'))
516
+ }
517
+
518
+ _compareValues(key, order = 'asc') {
519
+ return function innerSort(a, b) {
520
+ if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) {
521
+ return 0
522
+ }
523
+
524
+ const varA = typeof a[key] === 'string' ? a[key].toUpperCase() : a[key]
525
+ const varB = typeof b[key] === 'string' ? b[key].toUpperCase() : b[key]
526
+
527
+ let comparison = 0
528
+ if (varA > varB) {
529
+ comparison = 1
530
+ } else if (varA < varB) {
531
+ comparison = -1
532
+ }
533
+ return order === 'desc' ? comparison * -1 : comparison
534
+ }
535
+ }
536
+
537
+ _modifyDateRange(e) {
538
+ const fromDate = e.currentTarget.value
539
+
540
+ if (this._toDateInput.value < fromDate) this._toDateInput.value = fromDate
541
+
542
+ let min = new Date(fromDate)
543
+ let max = new Date(fromDate)
544
+ max.setMonth(max.getMonth() + 1)
545
+
546
+ let today = new Date()
547
+ today.setHours(0, 0, 0, 0)
548
+
549
+ min = min.toISOString().split('T')[0]
550
+ max = max.toISOString().split('T')[0]
551
+
552
+ if (this._toDateInput.value > max) this._toDateInput.value = max
553
+
554
+ this._toDateInput.min = min
555
+ this._toDateInput.max = max
556
+ this._submit()
557
+ }
558
+
559
+ _submit(e) {
560
+ this._config = { ...this.reportConfig }
561
+ this._totalConfig = { ...this.totalConfig }
562
+ this.searchForm.submit()
563
+ }
564
+
565
+ async _exportableData() {
566
+ try {
567
+ var headerSetting = [
568
+ { header: i18next.t('field.date'), key: 'date', width: 30, type: 'date' },
569
+ { header: i18next.t('field.opening_qty'), key: 'openingQty', width: 30, type: 'int' },
570
+ { header: i18next.t('field.opening_volume'), key: 'openingVolume', width: 30, type: 'float' },
571
+ { header: i18next.t('field.inbound_qty'), key: 'inboundQty', width: 30, type: 'int' },
572
+ { header: i18next.t('field.inbound_volume'), key: 'inboundVolume', width: 30, type: 'float' },
573
+ { header: i18next.t('field.adjusted_qty'), key: 'adjustedQty', width: 30, type: 'int' },
574
+ { header: i18next.t('field.adjusted_volume'), key: 'adjustedVolume', width: 30, type: 'float' },
575
+ { header: i18next.t('field.missing_qty'), key: 'missingQty', width: 30, type: 'int' },
576
+ { header: i18next.t('field.missing_volume'), key: 'missingVolume', width: 30, type: 'float' },
577
+ { header: i18next.t('field.outbound_qty'), key: 'outboundQty', width: 30, type: 'int' },
578
+ { header: i18next.t('field.outbound_volume'), key: 'outboundVolume', width: 30, type: 'float' },
579
+ { header: i18next.t('field.closing_qty'), key: 'closingQty', width: 30, type: 'int' },
580
+ { header: i18next.t('field.closing_volume'), key: 'closingVolume', width: 30, type: 'float' }
581
+ ]
582
+
583
+ var exportData = {
584
+ header: [...headerSetting],
585
+ data: (await this.fetchHandler({ page: 1, limit: 9999999 })).records
586
+ }
587
+
588
+ return exportData
589
+ } catch (e) {
590
+ this._showToast(e)
591
+ }
592
+ }
593
+
594
+ _showToast({ type, message }) {
595
+ document.dispatchEvent(
596
+ new CustomEvent('notify', {
597
+ detail: {
598
+ type,
599
+ message
600
+ }
601
+ })
602
+ )
603
+ }
604
+ }
605
+
606
+ window.customElements.define('volume-summary-report', VolumeSummaryReport)
package/client/route.js CHANGED
@@ -440,6 +440,10 @@ export default function route(page) {
440
440
  import('./pages/report/inventory-summary-report')
441
441
  return page
442
442
 
443
+ case 'volume_summary_report':
444
+ import('./pages/report/volume-summary-report')
445
+ return page
446
+
443
447
  case 'inventory_pallet_report':
444
448
  import('./pages/report/inventory-pallet-report')
445
449
  return page
@@ -41,12 +41,19 @@ exports.warehouseInventoryAdjustment = {
41
41
  where: { inventory: (0, typeorm_1.In)(invId), status: 'PICKING' }
42
42
  });
43
43
  await tx.getRepository(sales_base_1.OrderInventory).update({
44
- inventory: (0, typeorm_1.In)(invId), status: "PICKING"
44
+ inventory: (0, typeorm_1.In)(invId),
45
+ status: 'PICKING'
45
46
  }, { status: 'MISSING' });
46
47
  const orderInvId = orderInventory.map((oi) => oi.id);
48
+ const releaseGoodId = orderInventory.map((roId) => roId.releaseGoodId);
47
49
  await tx.getRepository(worksheet_base_1.WorksheetDetail).update({
48
- targetInventory: (0, typeorm_1.In)(orderInvId), status: "EXECUTING"
50
+ targetInventory: (0, typeorm_1.In)(orderInvId),
51
+ status: 'EXECUTING'
49
52
  }, { status: 'MISSING' });
53
+ await tx.getRepository(worksheet_base_1.Worksheet).update({
54
+ releaseGood: (0, typeorm_1.In)(releaseGoodId),
55
+ status: 'EXECUTING'
56
+ }, { status: 'DEACTIVATED' });
50
57
  }
51
58
  return item;
52
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"warehouse-intentory-adjustment.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/warehouse-inventory-adjustment/warehouse-intentory-adjustment.ts"],"names":[],"mappings":";;;AACA,mEAAyF;AACzF,qCAAyC;AACzC,2DAA2D;AAC3D,mEAAgE;AAEnD,QAA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EAAE;iBACnD,CAAC,CAAA;gBAEF,MAAM,EAAE,CAAC,aAAa,CAAC,2BAAc,CAAC,CAAC,MAAM,CAC3C;oBACE,SAAS,EAAE,IAAA,YAAE,EAAC,KAAK,CAAC,EAAC,MAAM,EAAC,SAAS;iBACtC,EACD,EAAE,MAAM,EAAE,SAAS,EAAE,CACtB,CAAA;gBAED,MAAM,UAAU,GAAU,cAAc,CAAC,GAAG,CAAC,CAAC,EAAO,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;gBAEhE,MAAM,EAAE,CAAC,aAAa,CAAC,gCAAe,CAAC,CAAC,MAAM,CAC5C;oBACE,eAAe,EAAE,IAAA,YAAE,EAAC,UAAU,CAAC,EAAC,MAAM,EAAC,WAAW;iBACnD,EACD,EAAE,MAAM,EAAE,SAAS,EAAE,CACtB,CAAA;aACF;YACD,OAAO,IAAI,CAAA;SACZ;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"warehouse-intentory-adjustment.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/warehouse-inventory-adjustment/warehouse-intentory-adjustment.ts"],"names":[],"mappings":";;;AACA,mEAAyF;AACzF,qCAAyC;AACzC,2DAAwE;AACxE,mEAA2E;AAE9D,QAAA,4BAA4B,GAAG;IAC1C,KAAK,CAAC,4BAA4B,CAAC,CAAM,EAAE,EAAE,OAAO,EAAE,EAAE,OAAY;QAClE,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,IAAA,wCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAA;YAE5D,2BAA2B;YAC3B,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YAEnD,MAAM,iBAAiB,GAAG,MAAM,EAAE,CAAC,aAAa,CAAC,gCAAe,CAAC,CAAC,IAAI,CAAC;gBACrE,KAAK,EAAE,EAAE,EAAE,EAAE,IAAA,YAAE,EA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,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;gBAElF,MAAM,EAAE,CAAC,aAAa,CAAC,gCAAe,CAAC,CAAC,MAAM,CAC5C;oBACE,eAAe,EAAE,IAAA,YAAE,EAAC,UAAU,CAAC;oBAC/B,MAAM,EAAE,WAAW;iBACpB,EACD,EAAE,MAAM,EAAE,SAAS,EAAE,CACtB,CAAA;gBAED,MAAM,EAAE,CAAC,aAAa,CAAC,0BAAS,CAAC,CAAC,MAAM,CACtC;oBACE,WAAW,EAAE,IAAA,YAAE,EAAC,aAAa,CAAC;oBAC9B,MAAM,EAAE,WAAW;iBACpB,EACD,EAAE,MAAM,EAAE,aAAa,EAAE,CAC1B,CAAA;aACF;YACD,OAAO,IAAI,CAAA;SACZ;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
@@ -2,36 +2,33 @@
2
2
 
3
3
  <div align="center">
4
4
 
5
- ## 25 April Update
5
+ ## 20 May Update
6
6
 
7
- #### V4.3.0 Release Note
7
+ #### V4.4.0 Release Note
8
8
 
9
9
  #### Greetings to all,
10
10
 
11
- #### In this holy fasting month, we have strived to bring these early Ramadhan gifts as below:
11
+ #### We are back with more features and enhancements to digitize your warehouse operation!
12
12
 
13
13
  <div>
14
- 1. B2C Order Remark
14
+ 1. Volume Summary Report (beta)
15
15
  </div>
16
16
  <div>
17
- 2. Mark Missing Inventory
17
+ 2. Excel upload for Purchase Order
18
18
  </div>
19
19
  <div>
20
- 3. Outbound Draft Order
20
+ 3. Non-loaded inventory in Onhand Inventory
21
21
  </div>
22
22
  <div>
23
- 4. Loosen Restriction in Inventory Adjustment
24
- </div>
25
- <div>
26
- 5. Bug fixes and API updates!
23
+ 4. Manufacture date in Onhand Inventory
27
24
  </div>
28
25
  <br>
29
- https://bit.ly/220424_Hatio_Release
26
+ https://bit.ly/220519_Hatio_Release
30
27
  <br>
31
28
 
32
29
  Should you have any inquiry, feel free to contact support@hatio.asia!
33
30
  <br>
34
- With pleasure, we wish you Selamat Hari Raya Aidilfitri in advance. Stay safe and positively negative!
31
+ Don't forget to stay cool and we shall together beat the heat away! Stay safe and positively negative!
35
32
 
36
33
  <br>
37
34