mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-21 13:34:18 +00:00
🔧 Display transaction data if present in the db
This commit is contained in:
parent
efa6aee910
commit
24d50249cf
1 changed files with 6 additions and 0 deletions
|
@ -195,6 +195,12 @@ class Transaction(TableDeclarativeBase):
|
||||||
string += f" | {self.provider}"
|
string += f" | {self.provider}"
|
||||||
if self.notes:
|
if self.notes:
|
||||||
string += f" | {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
|
return string
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|
Loading…
Reference in a new issue