From c198410cd3267d76e1a2b737f5a85d88cc5c1918 Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Tue, 25 Apr 2023 16:37:06 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20dans=20les=20log=20apr=C3=A8s=20chaque?= =?UTF-8?q?=20popup=20d'adresse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dl_version | 2 +- main.py | 3 +++ version.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dl_version b/dl_version index c2f0f58..e6fcaff 100644 --- a/dl_version +++ b/dl_version @@ -1 +1 @@ -20230425-1407 \ No newline at end of file +20230425-1636 \ No newline at end of file diff --git a/main.py b/main.py index 336f071..f67aa2a 100644 --- a/main.py +++ b/main.py @@ -552,8 +552,11 @@ class ClercAttrib2Biz(): if self.check_addresses.get(): addresses_exist = self.addresses.get_item_by_AVS(data.Patient['insurance_policy_number'].replace(".", "")) if addresses_exist is not None and not self.compare_old_and_new_adresses(new=data.Patient, old=addresses_exist): + popup = Check_addresses_popup(self.fenetre, item_1=data.Patient, item_2=addresses_exist, debitor=data.Debtor, factureID=data.data['id']) b_address_update = popup.show() + self.logger.warning( + f"Adresse connue donnée attrib conservé: [{b_address_update}]: {data.data['id']} / {data.Patient['fip_number']} {data.Debtor['code']} {data.Debtor['lastname']} {data.Debtor['firstname']}") print(f"Result Popup: {b_address_update}") else: b_address_update = True diff --git a/version.py b/version.py index 34e471c..9125883 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -VERSION = "20230425-1407" \ No newline at end of file +VERSION = "20230425-1636" \ No newline at end of file