@things-factory/tax-invoice 6.2.129 → 6.2.131
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/client/pages/tax-invoice-company/tax-invoice-company-list-page.ts +2 -35
- package/client/pages/{tax-invoice-company/tax-invoice-company-importer.ts → tax-invoice-send/company-list-popup.ts} +61 -37
- package/client/pages/tax-invoice-send/tax-invoice-send-page.ts +142 -1
- package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.d.ts +0 -8
- package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.js +3 -30
- package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.js.map +1 -1
- package/dist-client/pages/tax-invoice-send/company-list-popup.d.ts +65 -0
- package/dist-client/pages/tax-invoice-send/company-list-popup.js +199 -0
- package/dist-client/pages/tax-invoice-send/company-list-popup.js.map +1 -0
- package/dist-client/pages/tax-invoice-send/supplier-list-popup.d.ts +77 -0
- package/dist-client/pages/tax-invoice-send/supplier-list-popup.js +209 -0
- package/dist-client/pages/tax-invoice-send/supplier-list-popup.js.map +1 -0
- package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.d.ts +7 -1
- package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.js +128 -0
- package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/tax-invoice-company/tax-invoice-company-query.js +14 -0
- package/dist-server/service/tax-invoice-company/tax-invoice-company-query.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/server/service/tax-invoice-company/tax-invoice-company-query.ts +11 -0
- 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.
|
|
3
|
+
"version": "6.2.131",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"@things-factory/export-ui-excel": "^6.2.126",
|
|
35
35
|
"@things-factory/shell": "^6.2.126"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "28308ab15372295dc9a8117881a6117408df8620"
|
|
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 }))
|
package/translations/ko.json
CHANGED
|
@@ -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": "거래처",
|