Skip to content

Commit

Permalink
Merge pull request #205 from gisce/add_original_date_invoice
Browse files Browse the repository at this point in the history
Added original date invoice
  • Loading branch information
tinogis committed Jul 13, 2017
2 parents 6dd593a + bb7e7b3 commit b09651f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions switching/input/messages/F1.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def get_create_invoice_params(self):
'date_invoice': self.data_factura,
'check_total': abs(self.import_total_factura),
'origin': self.numero_factura,
'origin_date_invoice': self.data_factura,
'reference': self.numero_factura,
}

Expand Down
1 change: 1 addition & 0 deletions tests/test_switching.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ def test_get_create_invoice_params(self):
'date_invoice': '2016-01-08',
'check_total': 55.48,
'origin': '1234567890',
'origin_date_invoice': '2016-01-08',
'reference': '1234567890'
}

Expand Down

0 comments on commit b09651f

Please sign in to comment.