@things-factory/tax-invoice 8.0.2 → 8.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/tax-invoice",
3
- "version": "8.0.2",
3
+ "version": "8.0.8",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -29,10 +29,10 @@
29
29
  "dependencies": {
30
30
  "@operato/graphql": "^8.0.0",
31
31
  "@operato/shell": "^8.0.0",
32
- "@things-factory/auth-base": "^8.0.2",
33
- "@things-factory/env": "^8.0.2",
34
- "@things-factory/export-ui-excel": "^8.0.2",
35
- "@things-factory/shell": "^8.0.2"
32
+ "@things-factory/auth-base": "^8.0.8",
33
+ "@things-factory/env": "^8.0.8",
34
+ "@things-factory/export-ui-excel": "^8.0.8",
35
+ "@things-factory/shell": "^8.0.8"
36
36
  },
37
- "gitHead": "39d60f56e142561233ddf6d47b539c637971357c"
37
+ "gitHead": "2f53ec5833616a278c1f5fc057a5ce50f309cebd"
38
38
  }
@@ -1,6 +1,6 @@
1
- import { NewTaxInvoiceItem } from 'service/tax-invoice-item/tax-invoice-item-type'
2
- import { NewTaxInvoice } from './tax-invoice-type'
3
- import { BusinessRegistrationCategory, Category, InvoiceType, Purpose, RevisedReason } from './tax-invoice'
1
+ import { NewTaxInvoiceItem } from '../../service/tax-invoice-item/tax-invoice-item-type.js'
2
+ import { NewTaxInvoice } from './tax-invoice-type.js'
3
+ import { BusinessRegistrationCategory, Category, InvoiceType, Purpose, RevisedReason } from './tax-invoice.js'
4
4
 
5
5
  interface UnipostTaxInvoice {
6
6
  offset?: string
@@ -130,7 +130,11 @@ interface UnipostTaxInvoiceItem {
130
130
  }
131
131
 
132
132
  // 유니포스트 데이터 포맷을 DB에 넣을수 있는 포맷으로 변경
133
- export function parseTaxInvoiceByUnipostFormat(unipostTaxInvoice: UnipostTaxInvoice, unipostTaxInvoiceItems: UnipostTaxInvoiceItem[], category: Category) {
133
+ export function parseTaxInvoiceByUnipostFormat(
134
+ unipostTaxInvoice: UnipostTaxInvoice,
135
+ unipostTaxInvoiceItems: UnipostTaxInvoiceItem[],
136
+ category: Category
137
+ ) {
134
138
  let taxInvoice: NewTaxInvoice
135
139
  let taxInvoiceItems: NewTaxInvoiceItem[]
136
140