@things-factory/tax-invoice 6.2.84 → 6.2.88
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/tax-invoice-detail-popup.ts +34 -11
- package/client/pages/tax-invoice/tax-invoice-list-page.ts +150 -152
- package/client/pages/tax-invoice-api/tax-invoice-api-page.ts +6 -5
- package/client/pages/tax-invoice-company/tax-invoice-company-importer.ts +2 -2
- package/client/pages/tax-invoice-send/tax-invoice-send-page.ts +580 -0
- package/client/route.ts +4 -4
- package/dist-client/pages/tax-invoice/tax-invoice-detail-popup.js +39 -13
- package/dist-client/pages/tax-invoice/tax-invoice-detail-popup.js.map +1 -1
- package/dist-client/pages/tax-invoice/tax-invoice-list-page.d.ts +63 -23
- package/dist-client/pages/tax-invoice/tax-invoice-list-page.js +149 -143
- package/dist-client/pages/tax-invoice/tax-invoice-list-page.js.map +1 -1
- package/dist-client/pages/tax-invoice-api/tax-invoice-api-page.d.ts +1 -1
- package/dist-client/pages/tax-invoice-api/tax-invoice-api-page.js +6 -5
- package/dist-client/pages/tax-invoice-api/tax-invoice-api-page.js.map +1 -1
- package/dist-client/pages/tax-invoice-company/tax-invoice-company-importer.js +2 -2
- package/dist-client/pages/tax-invoice-company/tax-invoice-company-importer.js.map +1 -1
- package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.d.ts +100 -0
- package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.js +510 -0
- package/dist-client/pages/tax-invoice-send/tax-invoice-send-page.js.map +1 -0
- package/dist-client/route.d.ts +1 -1
- package/dist-client/route.js +3 -3
- package/dist-client/route.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/tax-invoice/tax-invoice-mutation.js +137 -41
- package/dist-server/service/tax-invoice/tax-invoice-mutation.js.map +1 -1
- package/dist-server/service/tax-invoice/tax-invoice-query.js +25 -2
- package/dist-server/service/tax-invoice/tax-invoice-query.js.map +1 -1
- package/dist-server/service/tax-invoice/tax-invoice-type.js +22 -259
- package/dist-server/service/tax-invoice/tax-invoice-type.js.map +1 -1
- package/dist-server/service/tax-invoice/tax-invoice.js +22 -24
- package/dist-server/service/tax-invoice/tax-invoice.js.map +1 -1
- package/dist-server/service/tax-invoice-api/tax-invoice-api-type.js +5 -0
- package/dist-server/service/tax-invoice-api/tax-invoice-api-type.js.map +1 -1
- package/dist-server/service/tax-invoice-api/tax-invoice-api.js +0 -8
- package/dist-server/service/tax-invoice-api/tax-invoice-api.js.map +1 -1
- package/dist-server/service/tax-invoice-company/tax-invoice-company.js +0 -8
- package/dist-server/service/tax-invoice-company/tax-invoice-company.js.map +1 -1
- package/dist-server/service/tax-invoice-item/tax-invoice-item-query.js.map +1 -1
- package/dist-server/service/tax-invoice-item/tax-invoice-item-type.js +4 -12
- package/dist-server/service/tax-invoice-item/tax-invoice-item-type.js.map +1 -1
- package/dist-server/service/tax-invoice-item/tax-invoice-item.js +6 -15
- package/dist-server/service/tax-invoice-item/tax-invoice-item.js.map +1 -1
- package/dist-server/service/unipost-api/tax-invoice-inquiry.js +90 -0
- package/dist-server/service/unipost-api/tax-invoice-inquiry.js.map +1 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/server/service/tax-invoice/tax-invoice-mutation.ts +143 -45
- package/server/service/tax-invoice/tax-invoice-query.ts +22 -4
- package/server/service/tax-invoice/tax-invoice-type.ts +21 -199
- package/server/service/tax-invoice/tax-invoice.ts +38 -49
- package/server/service/tax-invoice-api/tax-invoice-api-type.ts +4 -0
- package/server/service/tax-invoice-api/tax-invoice-api.ts +0 -4
- package/server/service/tax-invoice-company/tax-invoice-company.ts +0 -4
- package/server/service/tax-invoice-item/tax-invoice-item-query.ts +1 -1
- package/server/service/tax-invoice-item/tax-invoice-item-type.ts +4 -13
- package/server/service/tax-invoice-item/tax-invoice-item.ts +6 -10
- package/server/service/unipost-api/tax-invoice-inquiry.ts +103 -0
- package/translations/ko.json +10 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TaxInvoiceList = exports.TaxInvoicePatch = exports.NewTaxInvoice = void 0;
|
|
3
|
+
exports.TaxInvoiceSummary = exports.TaxInvoiceList = exports.TaxInvoicePatch = exports.NewTaxInvoice = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const type_graphql_1 = require("type-graphql");
|
|
6
6
|
const tax_invoice_1 = require("./tax-invoice");
|
|
7
|
+
const shell_1 = require("@things-factory/shell");
|
|
7
8
|
let NewTaxInvoice = class NewTaxInvoice {
|
|
8
9
|
};
|
|
9
10
|
tslib_1.__decorate([
|
|
10
11
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
11
12
|
tslib_1.__metadata("design:type", String)
|
|
12
|
-
], NewTaxInvoice.prototype, "
|
|
13
|
+
], NewTaxInvoice.prototype, "memo", void 0);
|
|
13
14
|
tslib_1.__decorate([
|
|
14
15
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
15
16
|
tslib_1.__metadata("design:type", String)
|
|
@@ -18,6 +19,10 @@ tslib_1.__decorate([
|
|
|
18
19
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
19
20
|
tslib_1.__metadata("design:type", String)
|
|
20
21
|
], NewTaxInvoice.prototype, "category", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], NewTaxInvoice.prototype, "issueNo", void 0);
|
|
21
26
|
tslib_1.__decorate([
|
|
22
27
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
23
28
|
tslib_1.__metadata("design:type", String)
|
|
@@ -28,11 +33,11 @@ tslib_1.__decorate([
|
|
|
28
33
|
], NewTaxInvoice.prototype, "originalApprovalNo", void 0);
|
|
29
34
|
tslib_1.__decorate([
|
|
30
35
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
31
|
-
tslib_1.__metadata("design:type",
|
|
36
|
+
tslib_1.__metadata("design:type", Date)
|
|
32
37
|
], NewTaxInvoice.prototype, "issueDate", void 0);
|
|
33
38
|
tslib_1.__decorate([
|
|
34
39
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
35
|
-
tslib_1.__metadata("design:type",
|
|
40
|
+
tslib_1.__metadata("design:type", Date)
|
|
36
41
|
], NewTaxInvoice.prototype, "signatureDate", void 0);
|
|
37
42
|
tslib_1.__decorate([
|
|
38
43
|
(0, type_graphql_1.Field)({ nullable: false }),
|
|
@@ -59,7 +64,7 @@ tslib_1.__decorate([
|
|
|
59
64
|
tslib_1.__metadata("design:type", String)
|
|
60
65
|
], NewTaxInvoice.prototype, "remark2", void 0);
|
|
61
66
|
tslib_1.__decorate([
|
|
62
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
67
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
63
68
|
tslib_1.__metadata("design:type", String)
|
|
64
69
|
], NewTaxInvoice.prototype, "supplierBusinessRegistrationCategory", void 0);
|
|
65
70
|
tslib_1.__decorate([
|
|
@@ -111,7 +116,7 @@ tslib_1.__decorate([
|
|
|
111
116
|
tslib_1.__metadata("design:type", String)
|
|
112
117
|
], NewTaxInvoice.prototype, "supplierContactCellPhone", void 0);
|
|
113
118
|
tslib_1.__decorate([
|
|
114
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
119
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
115
120
|
tslib_1.__metadata("design:type", String)
|
|
116
121
|
], NewTaxInvoice.prototype, "buyerBusinessRegistrationCategory", void 0);
|
|
117
122
|
tslib_1.__decorate([
|
|
@@ -275,259 +280,7 @@ tslib_1.__decorate([
|
|
|
275
280
|
tslib_1.__decorate([
|
|
276
281
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
277
282
|
tslib_1.__metadata("design:type", String)
|
|
278
|
-
], TaxInvoicePatch.prototype, "
|
|
279
|
-
tslib_1.__decorate([
|
|
280
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
281
|
-
tslib_1.__metadata("design:type", String)
|
|
282
|
-
], TaxInvoicePatch.prototype, "apiRefId", void 0);
|
|
283
|
-
tslib_1.__decorate([
|
|
284
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
285
|
-
tslib_1.__metadata("design:type", String)
|
|
286
|
-
], TaxInvoicePatch.prototype, "category", void 0);
|
|
287
|
-
tslib_1.__decorate([
|
|
288
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
289
|
-
tslib_1.__metadata("design:type", String)
|
|
290
|
-
], TaxInvoicePatch.prototype, "approvalNo", void 0);
|
|
291
|
-
tslib_1.__decorate([
|
|
292
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
293
|
-
tslib_1.__metadata("design:type", String)
|
|
294
|
-
], TaxInvoicePatch.prototype, "originalApprovalNo", void 0);
|
|
295
|
-
tslib_1.__decorate([
|
|
296
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
297
|
-
tslib_1.__metadata("design:type", String)
|
|
298
|
-
], TaxInvoicePatch.prototype, "issueDate", void 0);
|
|
299
|
-
tslib_1.__decorate([
|
|
300
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
301
|
-
tslib_1.__metadata("design:type", String)
|
|
302
|
-
], TaxInvoicePatch.prototype, "signatureDate", void 0);
|
|
303
|
-
tslib_1.__decorate([
|
|
304
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
305
|
-
tslib_1.__metadata("design:type", String)
|
|
306
|
-
], TaxInvoicePatch.prototype, "invoiceType", void 0);
|
|
307
|
-
tslib_1.__decorate([
|
|
308
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
309
|
-
tslib_1.__metadata("design:type", String)
|
|
310
|
-
], TaxInvoicePatch.prototype, "purpose", void 0);
|
|
311
|
-
tslib_1.__decorate([
|
|
312
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
313
|
-
tslib_1.__metadata("design:type", String)
|
|
314
|
-
], TaxInvoicePatch.prototype, "revisedReason", void 0);
|
|
315
|
-
tslib_1.__decorate([
|
|
316
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
317
|
-
tslib_1.__metadata("design:type", String)
|
|
318
|
-
], TaxInvoicePatch.prototype, "remark0", void 0);
|
|
319
|
-
tslib_1.__decorate([
|
|
320
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
321
|
-
tslib_1.__metadata("design:type", String)
|
|
322
|
-
], TaxInvoicePatch.prototype, "remark1", void 0);
|
|
323
|
-
tslib_1.__decorate([
|
|
324
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
325
|
-
tslib_1.__metadata("design:type", String)
|
|
326
|
-
], TaxInvoicePatch.prototype, "remark2", void 0);
|
|
327
|
-
tslib_1.__decorate([
|
|
328
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
329
|
-
tslib_1.__metadata("design:type", String)
|
|
330
|
-
], TaxInvoicePatch.prototype, "supplierBusinessRegistrationCategory", void 0);
|
|
331
|
-
tslib_1.__decorate([
|
|
332
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
333
|
-
tslib_1.__metadata("design:type", String)
|
|
334
|
-
], TaxInvoicePatch.prototype, "supplierBusinessRegistrationNumber", void 0);
|
|
335
|
-
tslib_1.__decorate([
|
|
336
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
337
|
-
tslib_1.__metadata("design:type", String)
|
|
338
|
-
], TaxInvoicePatch.prototype, "supplierBranchIdentification", void 0);
|
|
339
|
-
tslib_1.__decorate([
|
|
340
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
341
|
-
tslib_1.__metadata("design:type", String)
|
|
342
|
-
], TaxInvoicePatch.prototype, "supplierBusinessName", void 0);
|
|
343
|
-
tslib_1.__decorate([
|
|
344
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
345
|
-
tslib_1.__metadata("design:type", String)
|
|
346
|
-
], TaxInvoicePatch.prototype, "supplierRepresentativeName", void 0);
|
|
347
|
-
tslib_1.__decorate([
|
|
348
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
349
|
-
tslib_1.__metadata("design:type", String)
|
|
350
|
-
], TaxInvoicePatch.prototype, "supplierAddress", void 0);
|
|
351
|
-
tslib_1.__decorate([
|
|
352
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
353
|
-
tslib_1.__metadata("design:type", String)
|
|
354
|
-
], TaxInvoicePatch.prototype, "supplierBusinessType", void 0);
|
|
355
|
-
tslib_1.__decorate([
|
|
356
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
357
|
-
tslib_1.__metadata("design:type", String)
|
|
358
|
-
], TaxInvoicePatch.prototype, "supplierIndustryType", void 0);
|
|
359
|
-
tslib_1.__decorate([
|
|
360
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
361
|
-
tslib_1.__metadata("design:type", String)
|
|
362
|
-
], TaxInvoicePatch.prototype, "supplierDepartment", void 0);
|
|
363
|
-
tslib_1.__decorate([
|
|
364
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
365
|
-
tslib_1.__metadata("design:type", String)
|
|
366
|
-
], TaxInvoicePatch.prototype, "supplierContactName", void 0);
|
|
367
|
-
tslib_1.__decorate([
|
|
368
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
369
|
-
tslib_1.__metadata("design:type", String)
|
|
370
|
-
], TaxInvoicePatch.prototype, "supplierContactPhone", void 0);
|
|
371
|
-
tslib_1.__decorate([
|
|
372
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
373
|
-
tslib_1.__metadata("design:type", String)
|
|
374
|
-
], TaxInvoicePatch.prototype, "supplierContactEmail", void 0);
|
|
375
|
-
tslib_1.__decorate([
|
|
376
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
377
|
-
tslib_1.__metadata("design:type", String)
|
|
378
|
-
], TaxInvoicePatch.prototype, "supplierContactCellPhone", void 0);
|
|
379
|
-
tslib_1.__decorate([
|
|
380
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
381
|
-
tslib_1.__metadata("design:type", String)
|
|
382
|
-
], TaxInvoicePatch.prototype, "buyerBusinessRegistrationCategory", void 0);
|
|
383
|
-
tslib_1.__decorate([
|
|
384
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
385
|
-
tslib_1.__metadata("design:type", String)
|
|
386
|
-
], TaxInvoicePatch.prototype, "buyerBusinessRegistrationNumber", void 0);
|
|
387
|
-
tslib_1.__decorate([
|
|
388
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
389
|
-
tslib_1.__metadata("design:type", String)
|
|
390
|
-
], TaxInvoicePatch.prototype, "buyerBranchIdentification", void 0);
|
|
391
|
-
tslib_1.__decorate([
|
|
392
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
393
|
-
tslib_1.__metadata("design:type", String)
|
|
394
|
-
], TaxInvoicePatch.prototype, "buyerBusinessName", void 0);
|
|
395
|
-
tslib_1.__decorate([
|
|
396
|
-
(0, type_graphql_1.Field)({ nullable: false }),
|
|
397
|
-
tslib_1.__metadata("design:type", String)
|
|
398
|
-
], TaxInvoicePatch.prototype, "buyerRepresentativeName", void 0);
|
|
399
|
-
tslib_1.__decorate([
|
|
400
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
401
|
-
tslib_1.__metadata("design:type", String)
|
|
402
|
-
], TaxInvoicePatch.prototype, "buyerAddress", void 0);
|
|
403
|
-
tslib_1.__decorate([
|
|
404
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
405
|
-
tslib_1.__metadata("design:type", String)
|
|
406
|
-
], TaxInvoicePatch.prototype, "buyerBusinessType", void 0);
|
|
407
|
-
tslib_1.__decorate([
|
|
408
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
409
|
-
tslib_1.__metadata("design:type", String)
|
|
410
|
-
], TaxInvoicePatch.prototype, "buyerIndustryType", void 0);
|
|
411
|
-
tslib_1.__decorate([
|
|
412
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
413
|
-
tslib_1.__metadata("design:type", String)
|
|
414
|
-
], TaxInvoicePatch.prototype, "buyer1stDepartment", void 0);
|
|
415
|
-
tslib_1.__decorate([
|
|
416
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
417
|
-
tslib_1.__metadata("design:type", String)
|
|
418
|
-
], TaxInvoicePatch.prototype, "buyer1stContactName", void 0);
|
|
419
|
-
tslib_1.__decorate([
|
|
420
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
421
|
-
tslib_1.__metadata("design:type", String)
|
|
422
|
-
], TaxInvoicePatch.prototype, "buyer1stContactPhone", void 0);
|
|
423
|
-
tslib_1.__decorate([
|
|
424
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
425
|
-
tslib_1.__metadata("design:type", String)
|
|
426
|
-
], TaxInvoicePatch.prototype, "buyer1stContactEmail", void 0);
|
|
427
|
-
tslib_1.__decorate([
|
|
428
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
429
|
-
tslib_1.__metadata("design:type", String)
|
|
430
|
-
], TaxInvoicePatch.prototype, "buyer1stContactCellPhone", void 0);
|
|
431
|
-
tslib_1.__decorate([
|
|
432
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
433
|
-
tslib_1.__metadata("design:type", String)
|
|
434
|
-
], TaxInvoicePatch.prototype, "buyer2ndDepartment", void 0);
|
|
435
|
-
tslib_1.__decorate([
|
|
436
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
437
|
-
tslib_1.__metadata("design:type", String)
|
|
438
|
-
], TaxInvoicePatch.prototype, "buyer2ndContactName", void 0);
|
|
439
|
-
tslib_1.__decorate([
|
|
440
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
441
|
-
tslib_1.__metadata("design:type", String)
|
|
442
|
-
], TaxInvoicePatch.prototype, "buyer2ndContactPhone", void 0);
|
|
443
|
-
tslib_1.__decorate([
|
|
444
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
445
|
-
tslib_1.__metadata("design:type", String)
|
|
446
|
-
], TaxInvoicePatch.prototype, "buyer2ndContactEmail", void 0);
|
|
447
|
-
tslib_1.__decorate([
|
|
448
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
449
|
-
tslib_1.__metadata("design:type", String)
|
|
450
|
-
], TaxInvoicePatch.prototype, "buyer2ndContactCellPhone", void 0);
|
|
451
|
-
tslib_1.__decorate([
|
|
452
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
453
|
-
tslib_1.__metadata("design:type", String)
|
|
454
|
-
], TaxInvoicePatch.prototype, "agentBusinessRegistrationCategory", void 0);
|
|
455
|
-
tslib_1.__decorate([
|
|
456
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
457
|
-
tslib_1.__metadata("design:type", String)
|
|
458
|
-
], TaxInvoicePatch.prototype, "agentBusinessRegistrationNumber", void 0);
|
|
459
|
-
tslib_1.__decorate([
|
|
460
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
461
|
-
tslib_1.__metadata("design:type", String)
|
|
462
|
-
], TaxInvoicePatch.prototype, "agentBranchIdentification", void 0);
|
|
463
|
-
tslib_1.__decorate([
|
|
464
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
465
|
-
tslib_1.__metadata("design:type", String)
|
|
466
|
-
], TaxInvoicePatch.prototype, "agentBusinessName", void 0);
|
|
467
|
-
tslib_1.__decorate([
|
|
468
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
469
|
-
tslib_1.__metadata("design:type", String)
|
|
470
|
-
], TaxInvoicePatch.prototype, "agentRepresentativeName", void 0);
|
|
471
|
-
tslib_1.__decorate([
|
|
472
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
473
|
-
tslib_1.__metadata("design:type", String)
|
|
474
|
-
], TaxInvoicePatch.prototype, "agentAddress", void 0);
|
|
475
|
-
tslib_1.__decorate([
|
|
476
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
477
|
-
tslib_1.__metadata("design:type", String)
|
|
478
|
-
], TaxInvoicePatch.prototype, "agentBusinessType", void 0);
|
|
479
|
-
tslib_1.__decorate([
|
|
480
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
481
|
-
tslib_1.__metadata("design:type", String)
|
|
482
|
-
], TaxInvoicePatch.prototype, "agentIndustryType", void 0);
|
|
483
|
-
tslib_1.__decorate([
|
|
484
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
485
|
-
tslib_1.__metadata("design:type", String)
|
|
486
|
-
], TaxInvoicePatch.prototype, "agentDepartment", void 0);
|
|
487
|
-
tslib_1.__decorate([
|
|
488
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
489
|
-
tslib_1.__metadata("design:type", String)
|
|
490
|
-
], TaxInvoicePatch.prototype, "agentContactName", void 0);
|
|
491
|
-
tslib_1.__decorate([
|
|
492
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
493
|
-
tslib_1.__metadata("design:type", String)
|
|
494
|
-
], TaxInvoicePatch.prototype, "agentContactPhone", void 0);
|
|
495
|
-
tslib_1.__decorate([
|
|
496
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
497
|
-
tslib_1.__metadata("design:type", String)
|
|
498
|
-
], TaxInvoicePatch.prototype, "agentContactEmail", void 0);
|
|
499
|
-
tslib_1.__decorate([
|
|
500
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
501
|
-
tslib_1.__metadata("design:type", String)
|
|
502
|
-
], TaxInvoicePatch.prototype, "agentContactCellPhone", void 0);
|
|
503
|
-
tslib_1.__decorate([
|
|
504
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
505
|
-
tslib_1.__metadata("design:type", Number)
|
|
506
|
-
], TaxInvoicePatch.prototype, "paymentAmountCash", void 0);
|
|
507
|
-
tslib_1.__decorate([
|
|
508
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
509
|
-
tslib_1.__metadata("design:type", Number)
|
|
510
|
-
], TaxInvoicePatch.prototype, "paymentAmountCheck", void 0);
|
|
511
|
-
tslib_1.__decorate([
|
|
512
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
513
|
-
tslib_1.__metadata("design:type", Number)
|
|
514
|
-
], TaxInvoicePatch.prototype, "paymentAmountPromissoryNote", void 0);
|
|
515
|
-
tslib_1.__decorate([
|
|
516
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
517
|
-
tslib_1.__metadata("design:type", Number)
|
|
518
|
-
], TaxInvoicePatch.prototype, "paymentAmountAccountsReceivable", void 0);
|
|
519
|
-
tslib_1.__decorate([
|
|
520
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: false }),
|
|
521
|
-
tslib_1.__metadata("design:type", Number)
|
|
522
|
-
], TaxInvoicePatch.prototype, "supplyAmount", void 0);
|
|
523
|
-
tslib_1.__decorate([
|
|
524
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
525
|
-
tslib_1.__metadata("design:type", Number)
|
|
526
|
-
], TaxInvoicePatch.prototype, "taxAmount", void 0);
|
|
527
|
-
tslib_1.__decorate([
|
|
528
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: false }),
|
|
529
|
-
tslib_1.__metadata("design:type", Number)
|
|
530
|
-
], TaxInvoicePatch.prototype, "totalAmount", void 0);
|
|
283
|
+
], TaxInvoicePatch.prototype, "memo", void 0);
|
|
531
284
|
tslib_1.__decorate([
|
|
532
285
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
533
286
|
tslib_1.__metadata("design:type", String)
|
|
@@ -550,4 +303,14 @@ TaxInvoiceList = tslib_1.__decorate([
|
|
|
550
303
|
(0, type_graphql_1.ObjectType)()
|
|
551
304
|
], TaxInvoiceList);
|
|
552
305
|
exports.TaxInvoiceList = TaxInvoiceList;
|
|
306
|
+
let TaxInvoiceSummary = class TaxInvoiceSummary {
|
|
307
|
+
};
|
|
308
|
+
tslib_1.__decorate([
|
|
309
|
+
(0, type_graphql_1.Field)(type => shell_1.ScalarObject),
|
|
310
|
+
tslib_1.__metadata("design:type", Object)
|
|
311
|
+
], TaxInvoiceSummary.prototype, "summary", void 0);
|
|
312
|
+
TaxInvoiceSummary = tslib_1.__decorate([
|
|
313
|
+
(0, type_graphql_1.ObjectType)()
|
|
314
|
+
], TaxInvoiceSummary);
|
|
315
|
+
exports.TaxInvoiceSummary = TaxInvoiceSummary;
|
|
553
316
|
//# sourceMappingURL=tax-invoice-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-invoice-type.js","sourceRoot":"","sources":["../../../server/service/tax-invoice/tax-invoice-type.ts"],"names":[],"mappings":";;;;AAEA,+CAAoE;AAEpE,+CAAuH;AAIhH,IAAM,aAAa,GAAnB,MAAM,aAAa;CAgMzB,CAAA;AA/LC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACb;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;AAEjB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+CACT;AAElB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACP;AAEnB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACC;AAE3B;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACV;AAEjB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACL;AAErB;IAAC,IAAA,o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AAC,EAAE,CAAC,kBAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACtB;AAEjB;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACrB;AAEnB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACX;AArMJ,eAAe;IAD3B,IAAA,wBAAS,GAAE;GACC,eAAe,CAsM3B;AAtMY,0CAAe;AAyMrB,IAAM,cAAc,GAApB,MAAM,cAAc;CAM1B,CAAA;AALC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wBAAU,CAAC,CAAC;;6CACT;AAEnB;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;6CACN;AALF,cAAc;IAD1B,IAAA,yBAAU,GAAE;GACA,cAAc,CAM1B;AANY,wCAAc","sourcesContent":["import type { FileUpload } from 'graphql-upload/GraphQLUpload.js'\nimport GraphQLUpload from 'graphql-upload/GraphQLUpload.js'\nimport { ObjectType, Field, InputType, Int, ID } from 'type-graphql'\n\nimport { BusinessRegistrationCategory, Category, InvoiceType, Purpose, RevisedReason, TaxInvoice } from './tax-invoice'\nimport { TaxInvoiceItem } from '../tax-invoice-item/tax-invoice-item'\n\n@InputType()\nexport class NewTaxInvoice {\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n apiRefId?: string\n\n @Field({ nullable: false })\n category: Category\n\n @Field({ nullable: true })\n approvalNo?: string\n\n @Field({ nullable: true })\n originalApprovalNo?: string\n\n @Field({ nullable: false })\n issueDate: string\n\n @Field({ nullable: true })\n signatureDate: string\n\n @Field({ nullable: false })\n invoiceType: InvoiceType\n\n @Field({ nullable: false })\n purpose: Purpose\n\n @Field({ nullable: true })\n revisedReason?: RevisedReason\n\n @Field({ nullable: true })\n remark0?: string\n\n @Field({ nullable: true })\n remark1?: string\n\n @Field({ nullable: true })\n remark2?: string\n\n @Field({ nullable: false })\n supplierBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n supplierBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n supplierBranchIdentification?: string\n\n @Field({ nullable: false })\n supplierBusinessName: string\n\n @Field({ nullable: false })\n supplierRepresentativeName: string\n\n @Field({ nullable: true })\n supplierAddress?: string\n\n @Field({ nullable: true })\n supplierBusinessType?: string\n\n @Field({ nullable: true })\n supplierIndustryType?: string\n\n @Field({ nullable: true })\n supplierDepartment?: string\n\n @Field({ nullable: true })\n supplierContactName?: string\n\n @Field({ nullable: true })\n supplierContactPhone?: string\n\n @Field({ nullable: true })\n supplierContactEmail?: string\n\n @Field({ nullable: true })\n supplierContactCellPhone?: string\n\n @Field({ nullable: false })\n buyerBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n buyerBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n buyerBranchIdentification?: string\n\n @Field({ nullable: false })\n buyerBusinessName: string\n\n @Field({ nullable: false })\n buyerRepresentativeName: string\n\n @Field({ nullable: true })\n buyerAddress?: string\n\n @Field({ nullable: true })\n buyerBusinessType?: string\n\n @Field({ nullable: true })\n buyerIndustryType?: string\n\n @Field({ nullable: true })\n buyer1stDepartment?: string\n\n @Field({ nullable: true })\n buyer1stContactName?: string\n\n @Field({ nullable: true })\n buyer1stContactPhone?: string\n\n @Field({ nullable: true })\n buyer1stContactEmail?: string\n\n @Field({ nullable: true })\n buyer1stContactCellPhone?: string\n\n @Field({ nullable: true })\n buyer2ndDepartment?: string\n\n @Field({ nullable: true })\n buyer2ndContactName?: string\n\n @Field({ nullable: true })\n buyer2ndContactPhone?: string\n\n @Field({ nullable: true })\n buyer2ndContactEmail?: string\n\n @Field({ nullable: true })\n buyer2ndContactCellPhone?: string\n\n @Field({ nullable: true })\n agentBusinessRegistrationCategory?: BusinessRegistrationCategory\n\n @Field({ nullable: true })\n agentBusinessRegistrationNumber?: string\n\n @Field({ nullable: true })\n agentBranchIdentification?: string\n\n @Field({ nullable: true })\n agentBusinessName?: string\n\n @Field({ nullable: true })\n agentRepresentativeName?: string\n\n @Field({ nullable: true })\n agentAddress?: string\n\n @Field({ nullable: true })\n agentBusinessType?: string\n\n @Field({ nullable: true })\n agentIndustryType?: string\n\n @Field({ nullable: true })\n agentDepartment?: string\n\n @Field({ nullable: true })\n agentContactName?: string\n\n @Field({ nullable: true })\n agentContactPhone?: string\n\n @Field({ nullable: true })\n agentContactEmail?: string\n\n @Field({ nullable: true })\n agentContactCellPhone?: string\n\n @Field(type => Int, { nullable: true })\n paymentAmountCash?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountCheck?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountPromissoryNote?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountAccountsReceivable?: number\n\n @Field(type => Int, { nullable: false })\n supplyAmount: number\n\n @Field(type => Int, { nullable: true })\n taxAmount: number\n\n @Field(type => Int, { nullable: false })\n totalAmount: number\n}\n\n@InputType()\nexport class TaxInvoicePatch {\n @Field(type => ID, { nullable: false })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n apiRefId?: string\n\n @Field({ nullable: false })\n category: Category\n\n @Field({ nullable: true })\n approvalNo?: string\n\n @Field({ nullable: true })\n originalApprovalNo?: string\n\n @Field({ nullable: false })\n issueDate: string\n\n @Field({ nullable: true })\n signatureDate: string\n\n @Field({ nullable: false })\n invoiceType: InvoiceType\n\n @Field({ nullable: false })\n purpose: Purpose\n\n @Field({ nullable: true })\n revisedReason?: RevisedReason\n\n @Field({ nullable: true })\n remark0?: string\n\n @Field({ nullable: true })\n remark1?: string\n\n @Field({ nullable: true })\n remark2?: string\n\n @Field({ nullable: false })\n supplierBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n supplierBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n supplierBranchIdentification?: string\n\n @Field({ nullable: false })\n supplierBusinessName: string\n\n @Field({ nullable: false })\n supplierRepresentativeName: string\n\n @Field({ nullable: true })\n supplierAddress?: string\n\n @Field({ nullable: true })\n supplierBusinessType?: string\n\n @Field({ nullable: true })\n supplierIndustryType?: string\n\n @Field({ nullable: true })\n supplierDepartment?: string\n\n @Field({ nullable: true })\n supplierContactName?: string\n\n @Field({ nullable: true })\n supplierContactPhone?: string\n\n @Field({ nullable: true })\n supplierContactEmail?: string\n\n @Field({ nullable: true })\n supplierContactCellPhone?: string\n\n @Field({ nullable: false })\n buyerBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n buyerBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n buyerBranchIdentification?: string\n\n @Field({ nullable: false })\n buyerBusinessName: string\n\n @Field({ nullable: false })\n buyerRepresentativeName: string\n\n @Field({ nullable: true })\n buyerAddress?: string\n\n @Field({ nullable: true })\n buyerBusinessType?: string\n\n @Field({ nullable: true })\n buyerIndustryType?: string\n\n @Field({ nullable: true })\n buyer1stDepartment?: string\n\n @Field({ nullable: true })\n buyer1stContactName?: string\n\n @Field({ nullable: true })\n buyer1stContactPhone?: string\n\n @Field({ nullable: true })\n buyer1stContactEmail?: string\n\n @Field({ nullable: true })\n buyer1stContactCellPhone?: string\n\n @Field({ nullable: true })\n buyer2ndDepartment?: string\n\n @Field({ nullable: true })\n buyer2ndContactName?: string\n\n @Field({ nullable: true })\n buyer2ndContactPhone?: string\n\n @Field({ nullable: true })\n buyer2ndContactEmail?: string\n\n @Field({ nullable: true })\n buyer2ndContactCellPhone?: string\n\n @Field({ nullable: true })\n agentBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: true })\n agentBusinessRegistrationNumber?: string\n\n @Field({ nullable: true })\n agentBranchIdentification?: string\n\n @Field({ nullable: true })\n agentBusinessName?: string\n\n @Field({ nullable: true })\n agentRepresentativeName?: string\n\n @Field({ nullable: true })\n agentAddress?: string\n\n @Field({ nullable: true })\n agentBusinessType?: string\n\n @Field({ nullable: true })\n agentIndustryType?: string\n\n @Field({ nullable: true })\n agentDepartment?: string\n\n @Field({ nullable: true })\n agentContactName?: string\n\n @Field({ nullable: true })\n agentContactPhone?: string\n\n @Field({ nullable: true })\n agentContactEmail?: string\n\n @Field({ nullable: true })\n agentContactCellPhone?: string\n\n @Field(type => Int, { nullable: true })\n paymentAmountCash?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountCheck?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountPromissoryNote?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountAccountsReceivable?: number\n\n @Field(type => Int, { nullable: false })\n supplyAmount: number\n\n @Field(type => Int, { nullable: true })\n taxAmount: number\n\n @Field(type => Int, { nullable: false })\n totalAmount: number\n\n @Field({ nullable: true })\n cuFlag?: string\n}\n\n@ObjectType()\nexport class TaxInvoiceList {\n @Field(type => [TaxInvoice])\n items: TaxInvoice[]\n\n @Field(type => Int)\n total: number\n}\n"]}
|
|
1
|
+
{"version":3,"file":"tax-invoice-type.js","sourceRoot":"","sources":["../../../server/service/tax-invoice/tax-invoice-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAoE;AACpE,+CAAuH;AACvH,iDAAoD;AAG7C,IAAM,aAAa,GAAnB,MAAM,aAAa;CAmMzB,CAAA;AAlMC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACb;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;AAEjB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+CACT;AAElB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAEhB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACP;AAEn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,GAAE;GACC,aAAa,CAmMzB;AAnMY,sCAAa;AAsMnB,IAAM,eAAe,GAArB,MAAM,eAAe;CAS3B,CAAA;AARC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2CAC5B;AAEX;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACb;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACX;AARJ,eAAe;IAD3B,IAAA,wBAAS,GAAE;GACC,eAAe,CAS3B;AATY,0CAAe;AAYrB,IAAM,cAAc,GAApB,MAAM,cAAc;CAM1B,CAAA;AALC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wBAAU,CAAC,CAAC;;6CACT;AAEnB;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;6CACN;AALF,cAAc;IAD1B,IAAA,yBAAU,GAAE;GACA,cAAc,CAM1B;AANY,wCAAc;AASpB,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAQ7B,CAAA;AAPC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAY,CAAC;;kDAM3B;AAPU,iBAAiB;IAD7B,IAAA,yBAAU,GAAE;GACA,iBAAiB,CAQ7B;AARY,8CAAiB","sourcesContent":["import { ObjectType, Field, InputType, Int, ID } from 'type-graphql'\nimport { BusinessRegistrationCategory, Category, InvoiceType, Purpose, RevisedReason, TaxInvoice } from './tax-invoice'\nimport { ScalarObject } from '@things-factory/shell'\n\n@InputType()\nexport class NewTaxInvoice {\n @Field({ nullable: true })\n memo?: string\n\n @Field({ nullable: true })\n apiRefId?: string\n\n @Field({ nullable: false })\n category: Category\n\n @Field({ nullable: true })\n issueNo?: string\n\n @Field({ nullable: true })\n approvalNo?: string\n\n @Field({ nullable: true })\n originalApprovalNo?: string\n\n @Field({ nullable: false })\n issueDate: Date\n\n @Field({ nullable: true })\n signatureDate: Date\n\n @Field({ nullable: false })\n invoiceType: InvoiceType\n\n @Field({ nullable: false })\n purpose: Purpose\n\n @Field({ nullable: true })\n revisedReason?: RevisedReason\n\n @Field({ nullable: true })\n remark0?: string\n\n @Field({ nullable: true })\n remark1?: string\n\n @Field({ nullable: true })\n remark2?: string\n\n @Field({ nullable: true })\n supplierBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n supplierBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n supplierBranchIdentification?: string\n\n @Field({ nullable: false })\n supplierBusinessName: string\n\n @Field({ nullable: false })\n supplierRepresentativeName: string\n\n @Field({ nullable: true })\n supplierAddress?: string\n\n @Field({ nullable: true })\n supplierBusinessType?: string\n\n @Field({ nullable: true })\n supplierIndustryType?: string\n\n @Field({ nullable: true })\n supplierDepartment?: string\n\n @Field({ nullable: true })\n supplierContactName?: string\n\n @Field({ nullable: true })\n supplierContactPhone?: string\n\n @Field({ nullable: true })\n supplierContactEmail?: string\n\n @Field({ nullable: true })\n supplierContactCellPhone?: string\n\n @Field({ nullable: true })\n buyerBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n buyerBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n buyerBranchIdentification?: string\n\n @Field({ nullable: false })\n buyerBusinessName: string\n\n @Field({ nullable: false })\n buyerRepresentativeName: string\n\n @Field({ nullable: true })\n buyerAddress?: string\n\n @Field({ nullable: true })\n buyerBusinessType?: string\n\n @Field({ nullable: true })\n buyerIndustryType?: string\n\n @Field({ nullable: true })\n buyer1stDepartment?: string\n\n @Field({ nullable: true })\n buyer1stContactName?: string\n\n @Field({ nullable: true })\n buyer1stContactPhone?: string\n\n @Field({ nullable: true })\n buyer1stContactEmail?: string\n\n @Field({ nullable: true })\n buyer1stContactCellPhone?: string\n\n @Field({ nullable: true })\n buyer2ndDepartment?: string\n\n @Field({ nullable: true })\n buyer2ndContactName?: string\n\n @Field({ nullable: true })\n buyer2ndContactPhone?: string\n\n @Field({ nullable: true })\n buyer2ndContactEmail?: string\n\n @Field({ nullable: true })\n buyer2ndContactCellPhone?: string\n\n @Field({ nullable: true })\n agentBusinessRegistrationCategory?: BusinessRegistrationCategory\n\n @Field({ nullable: true })\n agentBusinessRegistrationNumber?: string\n\n @Field({ nullable: true })\n agentBranchIdentification?: string\n\n @Field({ nullable: true })\n agentBusinessName?: string\n\n @Field({ nullable: true })\n agentRepresentativeName?: string\n\n @Field({ nullable: true })\n agentAddress?: string\n\n @Field({ nullable: true })\n agentBusinessType?: string\n\n @Field({ nullable: true })\n agentIndustryType?: string\n\n @Field({ nullable: true })\n agentDepartment?: string\n\n @Field({ nullable: true })\n agentContactName?: string\n\n @Field({ nullable: true })\n agentContactPhone?: string\n\n @Field({ nullable: true })\n agentContactEmail?: string\n\n @Field({ nullable: true })\n agentContactCellPhone?: string\n\n @Field(type => Int, { nullable: true })\n paymentAmountCash?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountCheck?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountPromissoryNote?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountAccountsReceivable?: number\n\n @Field(type => Int, { nullable: false })\n supplyAmount: number\n\n @Field(type => Int, { nullable: true })\n taxAmount: number\n\n @Field(type => Int, { nullable: false })\n totalAmount: number\n}\n\n@InputType()\nexport class TaxInvoicePatch {\n @Field(type => ID, { nullable: false })\n id?: string\n\n @Field({ nullable: true })\n memo?: string\n\n @Field({ nullable: true })\n cuFlag?: string\n}\n\n@ObjectType()\nexport class TaxInvoiceList {\n @Field(type => [TaxInvoice])\n items: TaxInvoice[]\n\n @Field(type => Int)\n total: number\n}\n\n@ObjectType()\nexport class TaxInvoiceSummary {\n @Field(type => ScalarObject)\n summary: {\n supply_amount: number\n tax_amount: number\n total_amount: number\n cnt: number\n }\n}\n"]}
|
|
@@ -31,7 +31,7 @@ var InvoiceType;
|
|
|
31
31
|
InvoiceType["IMPORT_INVOICE"] = "0304";
|
|
32
32
|
InvoiceType["REVISED_GENERAL_INVOICE"] = "0401";
|
|
33
33
|
InvoiceType["REVISED_CONSIGNMENT_INVOICE"] = "0403";
|
|
34
|
-
InvoiceType["REVISED_IMPORT_INVOICE"] = "0404"; // 수정 수입
|
|
34
|
+
InvoiceType["REVISED_IMPORT_INVOICE"] = "0404"; // 수정 수입 전자계산서
|
|
35
35
|
})(InvoiceType = exports.InvoiceType || (exports.InvoiceType = {}));
|
|
36
36
|
// 세금계산서 영수/청구 구분 지시자
|
|
37
37
|
var Purpose;
|
|
@@ -77,20 +77,12 @@ var BusinessRegistrationCategory;
|
|
|
77
77
|
description: 'business registration category'
|
|
78
78
|
});
|
|
79
79
|
let TaxInvoice = class TaxInvoice {
|
|
80
|
-
constructor() {
|
|
81
|
-
this.version = 1;
|
|
82
|
-
}
|
|
83
80
|
};
|
|
84
81
|
tslib_1.__decorate([
|
|
85
82
|
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
86
83
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
87
84
|
tslib_1.__metadata("design:type", String)
|
|
88
85
|
], TaxInvoice.prototype, "id", void 0);
|
|
89
|
-
tslib_1.__decorate([
|
|
90
|
-
(0, typeorm_1.VersionColumn)(),
|
|
91
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
92
|
-
tslib_1.__metadata("design:type", Number)
|
|
93
|
-
], TaxInvoice.prototype, "version", void 0);
|
|
94
86
|
tslib_1.__decorate([
|
|
95
87
|
(0, typeorm_1.ManyToOne)(type => shell_2.Domain),
|
|
96
88
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
@@ -106,18 +98,23 @@ tslib_1.__decorate([
|
|
|
106
98
|
tslib_1.__metadata("design:type", Array)
|
|
107
99
|
], TaxInvoice.prototype, "taxInvoiceItems", void 0);
|
|
108
100
|
tslib_1.__decorate([
|
|
109
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '
|
|
110
|
-
(0, type_graphql_1.Field)({ nullable: true, description: '
|
|
101
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '메모' }),
|
|
102
|
+
(0, type_graphql_1.Field)({ nullable: true, description: '메모' }),
|
|
111
103
|
tslib_1.__metadata("design:type", String)
|
|
112
|
-
], TaxInvoice.prototype, "
|
|
104
|
+
], TaxInvoice.prototype, "memo", void 0);
|
|
113
105
|
tslib_1.__decorate([
|
|
114
106
|
(0, typeorm_1.Column)({ nullable: false, comment: '세금계산서 구분 (매출: 10, 매입: 20, NTS: 30)' }),
|
|
115
107
|
(0, type_graphql_1.Field)({ nullable: false, description: '세금계산서 구분 (매출: 10, 매입: 20, NTS: 30)' }),
|
|
116
108
|
tslib_1.__metadata("design:type", String)
|
|
117
109
|
], TaxInvoice.prototype, "category", void 0);
|
|
118
110
|
tslib_1.__decorate([
|
|
119
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '
|
|
120
|
-
(0, type_graphql_1.Field)({ nullable: true, description: '
|
|
111
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '연동 번호 (작성 시 번호, 승인번호와 동일)' }),
|
|
112
|
+
(0, type_graphql_1.Field)({ nullable: true, description: '연동 번호 (작성 시 번호, 승인번호와 동일)' }),
|
|
113
|
+
tslib_1.__metadata("design:type", String)
|
|
114
|
+
], TaxInvoice.prototype, "issueNo", void 0);
|
|
115
|
+
tslib_1.__decorate([
|
|
116
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '승인 번호 (24자리)' }),
|
|
117
|
+
(0, type_graphql_1.Field)({ nullable: true, description: '승인 번호 (24자리)' }),
|
|
121
118
|
tslib_1.__metadata("design:type", String)
|
|
122
119
|
], TaxInvoice.prototype, "approvalNo", void 0);
|
|
123
120
|
tslib_1.__decorate([
|
|
@@ -126,14 +123,14 @@ tslib_1.__decorate([
|
|
|
126
123
|
tslib_1.__metadata("design:type", String)
|
|
127
124
|
], TaxInvoice.prototype, "originalApprovalNo", void 0);
|
|
128
125
|
tslib_1.__decorate([
|
|
129
|
-
(0, typeorm_1.Column)({ nullable: false, comment: '세금계산서 작성 일자 (
|
|
130
|
-
(0, type_graphql_1.Field)({ nullable: false, description: '세금계산서 작성 일자 (
|
|
131
|
-
tslib_1.__metadata("design:type",
|
|
126
|
+
(0, typeorm_1.Column)({ nullable: false, comment: '세금계산서 작성 일자 (YYYY-MM-DD)' }),
|
|
127
|
+
(0, type_graphql_1.Field)({ nullable: false, description: '세금계산서 작성 일자 (YYYY-MM-DD)' }),
|
|
128
|
+
tslib_1.__metadata("design:type", Date)
|
|
132
129
|
], TaxInvoice.prototype, "issueDate", void 0);
|
|
133
130
|
tslib_1.__decorate([
|
|
134
|
-
(0, typeorm_1.Column)({ nullable: true, comment: '세금계산서 전자 서명 일자 (
|
|
135
|
-
(0, type_graphql_1.Field)({ nullable: true, description: '세금계산서 전자 서명 일자 (
|
|
136
|
-
tslib_1.__metadata("design:type",
|
|
131
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '세금계산서 전자 서명 일자 (YYYY-MM-DD)' }),
|
|
132
|
+
(0, type_graphql_1.Field)({ nullable: true, description: '세금계산서 전자 서명 일자 (YYYY-MM-DD)' }),
|
|
133
|
+
tslib_1.__metadata("design:type", Date)
|
|
137
134
|
], TaxInvoice.prototype, "signatureDate", void 0);
|
|
138
135
|
tslib_1.__decorate([
|
|
139
136
|
(0, typeorm_1.Column)({ nullable: false, comment: '세금계산서 종류 코드 (일반, 영세율, 위수탁)' }),
|
|
@@ -166,8 +163,8 @@ tslib_1.__decorate([
|
|
|
166
163
|
tslib_1.__metadata("design:type", String)
|
|
167
164
|
], TaxInvoice.prototype, "remark2", void 0);
|
|
168
165
|
tslib_1.__decorate([
|
|
169
|
-
(0, typeorm_1.Column)({ nullable:
|
|
170
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
166
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '공급자 사업자등록번호 구분 코드' }),
|
|
167
|
+
(0, type_graphql_1.Field)({ nullable: true, description: '공급자 사업자등록번호 구분 코드' }),
|
|
171
168
|
tslib_1.__metadata("design:type", String)
|
|
172
169
|
], TaxInvoice.prototype, "supplierBusinessRegistrationCategory", void 0);
|
|
173
170
|
tslib_1.__decorate([
|
|
@@ -231,8 +228,8 @@ tslib_1.__decorate([
|
|
|
231
228
|
tslib_1.__metadata("design:type", String)
|
|
232
229
|
], TaxInvoice.prototype, "supplierContactCellPhone", void 0);
|
|
233
230
|
tslib_1.__decorate([
|
|
234
|
-
(0, typeorm_1.Column)({ nullable:
|
|
235
|
-
(0, type_graphql_1.Field)({ nullable:
|
|
231
|
+
(0, typeorm_1.Column)({ nullable: true, comment: '공급받는자 사업자등록번호 구분 코드' }),
|
|
232
|
+
(0, type_graphql_1.Field)({ nullable: true, description: '공급받는자 사업자등록번호 구분 코드' }),
|
|
236
233
|
tslib_1.__metadata("design:type", String)
|
|
237
234
|
], TaxInvoice.prototype, "buyerBusinessRegistrationCategory", void 0);
|
|
238
235
|
tslib_1.__decorate([
|
|
@@ -459,6 +456,7 @@ TaxInvoice = tslib_1.__decorate([
|
|
|
459
456
|
unique: true
|
|
460
457
|
}),
|
|
461
458
|
(0, typeorm_1.Index)('ix_tax_invoice_1', (taxInvoice) => [taxInvoice.domain, taxInvoice.issueDate]),
|
|
459
|
+
(0, typeorm_1.Index)('ix_approval_no', (taxInvoice) => [taxInvoice.domain, taxInvoice.approvalNo], { unique: true }),
|
|
462
460
|
(0, type_graphql_1.ObjectType)({ description: 'Entity for TaxInvoice' })
|
|
463
461
|
], TaxInvoice);
|
|
464
462
|
exports.TaxInvoice = TaxInvoice;
|