Commit 730ff77c authored by Romain Bignon's avatar Romain Bignon Committed by Romain Bignon

bnporc: too late to check transfer date *after* validation

parent c2765d0d
......@@ -461,7 +461,7 @@ class RegisterTransferPage(ValidateTransferPage):
transfer_data = self.doc['data']['enregistrementVirement']
transfer.id = transfer_data['reference']
assert transfer.exec_date == parse_french_date(self.doc['data']['enregistrementVirement']['dateExecution']).date()
transfer.exec_date = parse_french_date(self.doc['data']['enregistrementVirement']['dateExecution']).date()
# Timestamp at which the bank registered the transfer
register_date = re.sub(' 24:', ' 00:', self.doc['data']['enregistrementVirement']['dateEnregistrement'])
transfer._register_date = parse_french_date(register_date)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment