Skip to content

Commit 7bb7d08

Browse files
committed
fix: Use issueDate instead of referencedDate for some invoice
1 parent 30d326a commit 7bb7d08

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

src/papersDefinitions.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@
695695
{
696696
"label": "energy_invoice",
697697
"icon": "lightning",
698-
"featureDate": "referencedDate",
698+
"featureDate": "issueDate",
699699
"maxDisplay": 5,
700700
"acquisitionSteps": [
701701
{
@@ -708,12 +708,12 @@
708708
{
709709
"model": "information",
710710
"illustration": "IlluGenericInputDate.svg",
711-
"text": "PaperJSON.invoice.referencedDate.text",
711+
"text": "PaperJSON.generic.issueDate.text",
712712
"attributes": [
713713
{
714-
"name": "referencedDate",
714+
"name": "issueDate",
715715
"type": "date",
716-
"inputLabel": "PaperJSON.invoice.referencedDate.inputLabel"
716+
"inputLabel": "PaperJSON.generic.issueDate.inputLabel"
717717
}
718718
]
719719
},
@@ -831,7 +831,7 @@
831831
"label": "isp_invoice",
832832
"placeholderIndex": 5,
833833
"icon": "telecom",
834-
"featureDate": "referencedDate",
834+
"featureDate": "issueDate",
835835
"maxDisplay": 5,
836836
"acquisitionSteps": [
837837
{
@@ -844,12 +844,12 @@
844844
{
845845
"model": "information",
846846
"illustration": "IlluGenericInputDate.svg",
847-
"text": "PaperJSON.invoice.referencedDate.text",
847+
"text": "PaperJSON.generic.issueDate.text",
848848
"attributes": [
849849
{
850-
"name": "referencedDate",
850+
"name": "issueDate",
851851
"type": "date",
852-
"inputLabel": "PaperJSON.invoice.referencedDate.inputLabel"
852+
"inputLabel": "PaperJSON.generic.issueDate.inputLabel"
853853
}
854854
]
855855
},
@@ -1910,7 +1910,7 @@
19101910
{
19111911
"label": "phone_invoice",
19121912
"icon": "telephone",
1913-
"featureDate": "referencedDate",
1913+
"featureDate": "issueDate",
19141914
"maxDisplay": 5,
19151915
"acquisitionSteps": [
19161916
{
@@ -1923,12 +1923,12 @@
19231923
{
19241924
"model": "information",
19251925
"illustration": "IlluGenericInputDate.svg",
1926-
"text": "PaperJSON.invoice.referencedDate.text",
1926+
"text": "PaperJSON.generic.issueDate.text",
19271927
"attributes": [
19281928
{
1929-
"name": "referencedDate",
1929+
"name": "issueDate",
19301930
"type": "date",
1931-
"inputLabel": "PaperJSON.invoice.referencedDate.inputLabel"
1931+
"inputLabel": "PaperJSON.generic.issueDate.inputLabel"
19321932
}
19331933
]
19341934
},
@@ -2519,7 +2519,7 @@
25192519
{
25202520
"label": "water_invoice",
25212521
"icon": "water",
2522-
"featureDate": "referencedDate",
2522+
"featureDate": "issueDate",
25232523
"maxDisplay": 5,
25242524
"acquisitionSteps": [
25252525
{
@@ -2532,12 +2532,12 @@
25322532
{
25332533
"model": "information",
25342534
"illustration": "IlluGenericInputDate.svg",
2535-
"text": "PaperJSON.invoice.referencedDate.text",
2535+
"text": "PaperJSON.generic.issueDate.text",
25362536
"attributes": [
25372537
{
2538-
"name": "referencedDate",
2538+
"name": "issueDate",
25392539
"type": "date",
2540-
"inputLabel": "PaperJSON.invoice.referencedDate.inputLabel"
2540+
"inputLabel": "PaperJSON.generic.issueDate.inputLabel"
25412541
}
25422542
]
25432543
},
@@ -2851,7 +2851,7 @@
28512851
{
28522852
"label": "other_invoice",
28532853
"icon": "bill",
2854-
"featureDate": "referencedDate",
2854+
"featureDate": "issueDate",
28552855
"filenameModel": ["labelGivenByUser"],
28562856
"maxDisplay": 5,
28572857
"acquisitionSteps": [
@@ -2878,12 +2878,12 @@
28782878
{
28792879
"model": "information",
28802880
"illustration": "IlluGenericInputDate.svg",
2881-
"text": "PaperJSON.invoice.referencedDate.text",
2881+
"text": "PaperJSON.generic.issueDate.text",
28822882
"attributes": [
28832883
{
2884-
"name": "referencedDate",
2884+
"name": "issueDate",
28852885
"type": "date",
2886-
"inputLabel": "PaperJSON.invoice.referencedDate.inputLabel"
2886+
"inputLabel": "PaperJSON.generic.issueDate.inputLabel"
28872887
}
28882888
]
28892889
},
@@ -2928,7 +2928,7 @@
29282928
{
29292929
"label": "transport_invoice",
29302930
"icon": "car",
2931-
"featureDate": "referencedDate",
2931+
"featureDate": "issueDate",
29322932
"maxDisplay": 5,
29332933
"acquisitionSteps": [
29342934
{
@@ -2940,12 +2940,12 @@
29402940
{
29412941
"model": "information",
29422942
"illustration": "IlluGenericInputDate.svg",
2943-
"text": "PaperJSON.generic.referencedDate.text",
2943+
"text": "PaperJSON.generic.issueDate.text",
29442944
"attributes": [
29452945
{
2946-
"name": "referencedDate",
2946+
"name": "issueDate",
29472947
"type": "date",
2948-
"inputLabel": "PaperJSON.generic.referencedDate.inputLabel"
2948+
"inputLabel": "PaperJSON.generic.issueDate.inputLabel"
29492949
}
29502950
]
29512951
},

0 commit comments

Comments
 (0)