From 24d50249cf52b438aa09b260655190d0f1c7060f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 7 May 2021 01:29:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Display=20transaction=20data=20i?= =?UTF-8?q?f=20present=20in=20the=20db?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/database.py b/database.py index aa799b2..28283ad 100644 --- a/database.py +++ b/database.py @@ -195,6 +195,12 @@ class Transaction(TableDeclarativeBase): string += f" | {self.provider}" if self.notes: string += f" | {self.notes}" + if self.payment_name: + string += f" | {self.payment_name}" + if self.payment_phone: + string += f" | {self.payment_phone}" + if self.payment_email: + string += f" | {self.payment_email}" return string def __repr__(self):