|
|
|
@@ -475,6 +475,7 @@ class ClercAttrib2Biz():
|
|
|
|
csv_col.data[2] = datetime.strptime(data.data["date"], "%Y-%m-%d").strftime("%d.%m.%Y") # Date du document
|
|
|
|
csv_col.data[2] = datetime.strptime(data.data["date"], "%Y-%m-%d").strftime("%d.%m.%Y") # Date du document
|
|
|
|
csv_col.data[4] = data.Patient["fip_number"] # Référence
|
|
|
|
csv_col.data[4] = data.Patient["fip_number"] # Référence
|
|
|
|
csv_col.data[10] = "<AUTO>" # Compte collectif du tiers = <AUTO>
|
|
|
|
csv_col.data[10] = "<AUTO>" # Compte collectif du tiers = <AUTO>
|
|
|
|
|
|
|
|
csv_col.data[139] = "COND-30" # Conditions de payement à 30, COND-30 selon config dans winbiz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if "without_transportation" in data.Intervention.keys() and data.Intervention["without_transportation"] == True:
|
|
|
|
if "without_transportation" in data.Intervention.keys() and data.Intervention["without_transportation"] == True:
|
|
|
|
@@ -545,12 +546,12 @@ class ClercAttrib2Biz():
|
|
|
|
if data.Debtor["lastname"] is not None:
|
|
|
|
if data.Debtor["lastname"] is not None:
|
|
|
|
concat_str += con + self.ifNotNull(data.Debtor["lastname"]) + " " + self.ifNotNull(data.Debtor["firstname"])
|
|
|
|
concat_str += con + self.ifNotNull(data.Debtor["lastname"]) + " " + self.ifNotNull(data.Debtor["firstname"])
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
if data.Debtor["street"] is not None:
|
|
|
|
|
|
|
|
concat_str += con + self.ifNotNull(data.Debtor["street"]) + " " + self.ifNotNull(data.Debtor["street_number"])
|
|
|
|
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
|
|
|
|
if data.Debtor["complement"] is not None:
|
|
|
|
if data.Debtor["complement"] is not None:
|
|
|
|
concat_str += con + data.Debtor["complement"]
|
|
|
|
concat_str += con + data.Debtor["complement"]
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
|
|
|
|
if data.Debtor["street"] is not None:
|
|
|
|
|
|
|
|
concat_str += con + self.ifNotNull(data.Debtor["street"]) + " " + self.ifNotNull(data.Debtor["street_number"])
|
|
|
|
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
if data.Debtor["city"] is not None:
|
|
|
|
if data.Debtor["city"] is not None:
|
|
|
|
concat_str += con + self.ifNotNull(data.Debtor["postal_code"]) + " " + self.ifNotNull(data.Debtor["city"])
|
|
|
|
concat_str += con + self.ifNotNull(data.Debtor["postal_code"]) + " " + self.ifNotNull(data.Debtor["city"])
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
con = "#chr(13)##chr(10)#"
|
|
|
|
|