1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-10-16 05:37:27 +00:00

🔧 Display transaction data if present in the db

This commit is contained in:
Steffo 2021-05-07 01:29:00 +02:00
parent efa6aee910
commit 24d50249cf
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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):