cotisation : correction référence absente (corrige #2)
This commit is contained in:
parent
fe1398ac7a
commit
d120300cd1
|
@ -369,6 +369,11 @@ def validate(member):
|
|||
str(answer["amount"])[:-2],
|
||||
str(answer["amount"])[-2:]))
|
||||
latexfile = latexfile.replace("DATE-VERSEMENT", date)
|
||||
|
||||
if not answer["true_reference"]:
|
||||
BUF.append("Erreur : référence introuvable (déféré)")
|
||||
return
|
||||
|
||||
latexfile = latexfile.replace("MODE-VERSEMENT", answer["true_reference"])
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue