-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex2.js
58 lines (58 loc) · 1.42 KB
/
index2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// const dok: document;
// dok.JPK.Faktura[0].
const doc = {
JPK: {
Naglowek: {
CelZlozenia: 1,
DataDo: new Date(),
DataOd: new Date(),
DataWytworzeniaJPK: new Date(),
DomyslnyKodWaluty: 'PLN',
KodFormularza: {
kodSystemowy: '0',
wersjaSchemy: '1'
},
KodUrzedu: '0202',
WariantFormularza: 1,
_exists: true,
_namespace: '',
},
Faktura: [{ _exists: true }],
FakturaCtrl: [{ _exists: true }],
FakturaWiersz: [{ _exists: true }],
FakturaWierszCtrl: [{ _exists: true }],
Podmiot1: { _exists: true },
StawkiPodatku: { _exists: true },
_namespace: '',
_exists: true
},
_exists: true,
_namespace: true
};
// class KodFormularza implements TNaglowekKodFormularzaType {
// content: "JPK_FA";
// kodSystemowy: '';
// wersjaSchemy: '';
// _exists: true;
// _namespace: '';
//
// }
// const kod = new KodFormularza();
//
// const Naglowek: TNaglowek = {
// DataDo: new Date(),
// DataOd: new Date(),
// CelZlozenia: 1,
// WariantFormularza: 1,
// DataWytworzeniaJPK: new Date(),
// DomyslnyKodWaluty: "PLN",
// KodFormularza
//
// }
// const JPK: JPKType = {
// Naglowek
// }
//
//