Update app.py
Browse files
app.py
CHANGED
@@ -791,7 +791,7 @@ async def get_data_json(body: InputData):
|
|
791 |
string += "\n*Rincian PKB:*\n"
|
792 |
string+= "".join(
|
793 |
[
|
794 |
-
f"
|
795 |
for x in rincians_pkb
|
796 |
if str(x.get("total", 0)) != "0"
|
797 |
]
|
@@ -800,7 +800,7 @@ async def get_data_json(body: InputData):
|
|
800 |
string += "\n*Rincian SWDKLLJ:*\n"
|
801 |
string += "".join(
|
802 |
[
|
803 |
-
f"
|
804 |
for x in rincians_swd
|
805 |
if str(x.get("total", 0)) != "0"
|
806 |
]
|
|
|
791 |
string += "\n*Rincian PKB:*\n"
|
792 |
string+= "".join(
|
793 |
[
|
794 |
+
f"Pokok: Rp{x['pokok']}\nDenda: Rp{x['denda']}\nTotal: Rp{x['total']}\n---"
|
795 |
for x in rincians_pkb
|
796 |
if str(x.get("total", 0)) != "0"
|
797 |
]
|
|
|
800 |
string += "\n*Rincian SWDKLLJ:*\n"
|
801 |
string += "".join(
|
802 |
[
|
803 |
+
f"Pokok: Rp{x['pokok']}\nDenda: Rp{x['denda']}\nTotal: Rp{x['total']}\n---"
|
804 |
for x in rincians_swd
|
805 |
if str(x.get("total", 0)) != "0"
|
806 |
]
|