Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Taufik Yulianto
/
esipkd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a26e712c
authored
Nov 04, 2022
by
taufikyu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan public
1 parent
0efbc521
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
esipkd/views/public.py
esipkd/views/templates/public/skrd.pt
esipkd/views/public.py
View file @
a26e712
...
...
@@ -396,4 +396,4 @@ def view_public(request):
## convert ke base64
qrcodebase64
=
base64
.
b64encode
(
readqrcode
)
##akan diouput ke html image
return
dict
(
data
=
row
,
jml_terbilang
=
jml
,
tahun
=
tahun
,
qrcodebase64
=
qrcodebase64
,
status_pembayaran
=
status_pembayaran
,
jml_pokok
=
jml_pokok
,
jml_denda
=
jml_denda
,
jml_bayar
=
jml_bayar
,
found
=
found
)
return
dict
(
data
=
row
,
jml_terbilang
=
jml
,
tahun
=
tahun
,
qrcodebase64
=
qrcodebase64
,
status_pembayaran
=
status_pembayaran
,
jml_pokok
=
int
(
jml_pokok
),
jml_denda
=
int
(
jml_denda
),
jml_bayar
=
int
(
jml_bayar
)
,
found
=
found
)
esipkd/views/templates/public/skrd.pt
View file @
a26e712
...
...
@@ -226,17 +226,17 @@
<tr
class=
"borderless"
>
<td>
Pokok
</td>
<td>
:
</td>
<td><b>
${'{:n}'.format(
data.
pokok)}
</b></td>
<td><b>
${'{:n}'.format(
jml_
pokok)}
</b></td>
</tr>
<tr
class=
"borderless"
>
<td>
Denda
</td>
<td>
:
</td>
<td><b>
${'{:n}'.format(
data.bung
a)}
</b></td>
<td><b>
${'{:n}'.format(
jml_dend
a)}
</b></td>
</tr>
<tr
class=
"borderless"
>
<td>
Jumlah
</td>
<td>
:
</td>
<td><b>
${'{:n}'.format(
data.
bayar)}
</b></td>
<td><b>
${'{:n}'.format(
jml_
bayar)}
</b></td>
</tr>
</table>
</td>
...
...
@@ -246,4 +246,4 @@
</div>
</tal:block>
</div>
</html>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment