Skip to content
Snippets Groups Projects
Commit 2ea6d531 authored by rha104's avatar rha104
Browse files

Fix dataformat according to feedback

parent ddeeec95
No related branches found
No related tags found
1 merge request!5Fixed dataformat. Moved transactions list onto voucher.
Pipeline #53263 passed
...@@ -32,7 +32,6 @@ transactions = [Transaction.from_dict({ ...@@ -32,7 +32,6 @@ transactions = [Transaction.from_dict({
})] })]
vouchers = [Voucher.from_dict({ vouchers = [Voucher.from_dict({
"batchid": 1,
"exref": 3, "exref": 3,
"voucherno": 4, "voucherno": 4,
"transactions": transactions "transactions": transactions
...@@ -44,7 +43,6 @@ batch = Batch.from_dict({ ...@@ -44,7 +43,6 @@ batch = Batch.from_dict({
"period": 3, "period": 3,
"interface": 4, "interface": 4,
"vouchertype": 5, "vouchertype": 5,
"batchid_interface": 6,
"vouchers": vouchers "vouchers": vouchers
}) })
......
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
"batchid": 54, "batchid": 54,
"period": 1, "period": 1,
"interface": 1, "interface": 1,
"vouchertype": 1, "vouchertype": 1
"batchid_interface": 1
}, },
"vouchers": [ "vouchers": [
{ {
......
...@@ -4,6 +4,5 @@ ...@@ -4,6 +4,5 @@
"period": 3, "period": 3,
"interface": 4, "interface": 4,
"vouchertype": 5, "vouchertype": 5,
"batchid_interface": 6,
"vouchers": [] "vouchers": []
} }
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
"period": 1, "period": 1,
"interface": 1, "interface": 1,
"vouchertype": 1, "vouchertype": 1,
"batchid_interface": 1,
"vouchers": [ "vouchers": [
{ {
"exref": 1, "exref": 1,
......
{ {
"batchid": 1,
"exref": 3, "exref": 3,
"voucherno": 4, "voucherno": 4,
"transactions": [ "transactions": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment