supression de "(facturation)"

This commit is contained in:
Ambulance Clerc
2023-01-24 15:10:03 +01:00
parent 6f09de76ab
commit 4d2e2f2351
3 changed files with 7 additions and 2 deletions

View File

@@ -1 +1 @@
20230103-1618
20230124-1508

View File

@@ -354,6 +354,11 @@ class ClercAttrib2Biz():
if data.data["comments"] is not None:
data.data["comments"] = data.data["comments"].strip().replace("\n",'')
if "name" in data.Debtor.keys() and data.Debtor["name"] is not None:
data.Debtor["name"] = data.Debtor["name"].replace("(facturation)","")
data.Debtor["name"] = data.Debtor["name"].strip()
def check_code_validity(self, code,data):
ret = True
check_patients = ["firstname", "lastname", "street"]

View File

@@ -1 +1 @@
VERSION = "20230103-1618"
VERSION = "20230124-1508"