Débug des rappels avec inversion de deux champs dans l'objet de facture

This commit is contained in:
Ambulance Clerc
2022-07-08 10:16:09 +02:00
parent 1a7d649651
commit e35a24030d
3 changed files with 5 additions and 4 deletions

View File

@@ -1 +1 @@
20220705-1607
20220708-1015

View File

@@ -649,8 +649,9 @@ class ClercAttrib2Biz():
csv_col.data[72] = "BU - 73 - aff"
csv_col.data[73] = 0
csv_col.data[115] = self.ifNotNull(data.Patient["lastname"]) + " " + self.ifNotNull(data.Patient["firstname"])
csv_col.data[108] = data.Patient["complement"]
#Objet facture
csv_col.data[108] = self.ifNotNull(data.Patient["lastname"]) + " " + self.ifNotNull(data.Patient["firstname"])
csv_col.data[115] = data.Patient["complement"]
csv_col.data[109] = datetime.strptime(data.Patient["birthdate"], "%Y-%m-%d").strftime("%d.%m.%Y") if data.Patient["birthdate"] is not None else ""
if data.Patient["insurance_policy_number"] is not None and '-' not in data.Patient["insurance_policy_number"]:
csv_col.data[109] += ", " + data.Patient["insurance_policy_number"]

View File

@@ -1 +1 @@
VERSION = "20220705-1607"
VERSION = "20220708-1015"