@things-factory/tax-invoice 6.2.129 → 6.2.133

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.
Files changed (22) hide show
  1. package/client/pages/tax-invoice-company/tax-invoice-company-list-page.ts +2 -35
  2. package/client/pages/{tax-invoice-company/tax-invoice-company-importer.ts → tax-invoice-send/company-list-popup.ts} +61 -37
  3. package/client/pages/tax-invoice-send/tax-invoice-send-page.ts +142 -1
  4. package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.d.ts +0 -8
  5. package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.js +3 -30
  6. package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.js.map +1 -1
  7. package/dist-client/pages/tax-invoice-send/company-list-popup.d.ts +65 -0
  8. package/dist-client/pages/tax-invoice-send/company-list-popup.js +199 -0
  9. package/dist-client/pages/tax-invoice-send/company-list-popup.js.map +1 -0
  10. package/dist-client/pages/tax-invoice-send/supplier-list-popup.d.ts +77 -0
  11. package/dist-client/pages/tax-invoice-send/supplier-list-popup.js +209 -0
  12. package/dist-client/pages/tax-invoice-send/supplier-list-popup.js.map +1 -0
  13. package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.d.ts +7 -1
  14. package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.js +128 -0
  15. package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.js.map +1 -1
  16. package/dist-client/tsconfig.tsbuildinfo +1 -1
  17. package/dist-server/service/tax-invoice-company/tax-invoice-company-query.js +14 -0
  18. package/dist-server/service/tax-invoice-company/tax-invoice-company-query.js.map +1 -1
  19. package/dist-server/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +5 -5
  21. package/server/service/tax-invoice-company/tax-invoice-company-query.ts +11 -0
  22. package/translations/ko.json +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/tax-invoice",
3
- "version": "6.2.129",
3
+ "version": "6.2.133",
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": "^1.0.0",
31
31
  "@operato/shell": "^1.0.0",
32
- "@things-factory/auth-base": "^6.2.126",
32
+ "@things-factory/auth-base": "^6.2.133",
33
33
  "@things-factory/env": "^6.2.126",
34
- "@things-factory/export-ui-excel": "^6.2.126",
35
- "@things-factory/shell": "^6.2.126"
34
+ "@things-factory/export-ui-excel": "^6.2.133",
35
+ "@things-factory/shell": "^6.2.133"
36
36
  },
37
- "gitHead": "6939e013d9a091fb17094d6f988c32f4dab278f4"
37
+ "gitHead": "3a8ec24c20c710cb36bdac0e34394f08d5169f92"
38
38
  }
@@ -55,6 +55,17 @@ export class TaxInvoiceCompanyQuery {
55
55
  return null
56
56
  }
57
57
 
58
+ @Query(returns => [TaxInvoiceCompany], { nullable: true, description: 'To fetch a Tax Invoice Buyer List' })
59
+ async taxInvoiceBuyerList(@Ctx() context: ResolverContext): Promise<TaxInvoiceCompany[]> {
60
+ const { domain } = context.state
61
+
62
+ const taxInvoiceCompanyList = await getRepository(TaxInvoiceCompany).find({
63
+ where: { domain: { id: domain.id } }
64
+ })
65
+
66
+ return taxInvoiceCompanyList
67
+ }
68
+
58
69
  @FieldResolver(type => Domain)
59
70
  async domain(@Root() taxInvoiceCompany: TaxInvoiceCompany): Promise<Domain> {
60
71
  return taxInvoiceCompany.domainId && (await getRepository(Domain).findOneBy({ id: taxInvoiceCompany.domainId }))
@@ -9,8 +9,10 @@
9
9
  "title.tax invoice matching": "세금계산서 매칭",
10
10
  "title.tax invoice api": "세금계산서 API 설정",
11
11
  "title.tax invoice detail": "전자세금계산서 상세조회",
12
+ "title.company list popup": "회사 리스트 팝업",
12
13
  "button.memo save": "메모 저장",
13
14
  "button.tax invoice send": "발급하기",
15
+ "button.select": "선택하기",
14
16
 
15
17
  "text.company supplier": "공급사",
16
18
  "text.company buyer": "거래처",