débug comparaison de l'adresse de livraison
This commit is contained in:
@@ -59,7 +59,7 @@ class cls_Invoice:
|
||||
def is_addr_2_selfish(self, patient):
|
||||
print(patient)
|
||||
temp_addr_2 = str(patient["addr_2"]).replace("Monsieur","").replace("Madame","").replace("\n","").replace(" ","")
|
||||
str_compare = patient['lastname'].replace('.','') + patient['firstname'].replace('.','') + self.ifNotNull(patient['complement']).strip()+ patient['street'].strip() + patient['street_number'].strip() + patient['postal_code'].strip() + patient['city'].strip()
|
||||
str_compare = patient['lastname'].replace('.','') + patient['firstname'].replace('.','') + self.ifNotNull(patient['complement']).strip()+ self.ifNotNull(patient['street']).strip() + self.ifNotNull(patient['street_number']).strip() + self.ifNotNull(patient['postal_code']).strip() +self.ifNotNull(patient['city']).strip()
|
||||
str_compare = str_compare.replace(" ","")
|
||||
print(f"is_addr_2_selfish ? {str_compare} <> {temp_addr_2} = {str_compare == temp_addr_2}")
|
||||
return str_compare == temp_addr_2
|
||||
|
@@ -1 +1 @@
|
||||
20230616-1943
|
||||
20230620-1109
|
@@ -1 +1 @@
|
||||
VERSION = "20230616-1943"
|
||||
VERSION = "20230620-1109"
|
Reference in New Issue
Block a user