Commit 0fef72ea by aagusti

Merge branch 'master' of https://git.opensipkd.com/taufik/esipkd

2 parents a7e258c4 a26e712c
...@@ -396,4 +396,4 @@ def view_public(request): ...@@ -396,4 +396,4 @@ def view_public(request):
## convert ke base64 ## convert ke base64
qrcodebase64 = base64.b64encode(readqrcode) ##akan diouput ke html image 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)
...@@ -226,17 +226,17 @@ ...@@ -226,17 +226,17 @@
<tr class="borderless"> <tr class="borderless">
<td>Pokok</td> <td>Pokok</td>
<td>:</td> <td>:</td>
<td><b>${'{:n}'.format(data.pokok)}</b></td> <td><b>${'{:n}'.format(jml_pokok)}</b></td>
</tr> </tr>
<tr class="borderless"> <tr class="borderless">
<td>Denda</td> <td>Denda</td>
<td>:</td> <td>:</td>
<td><b>${'{:n}'.format(data.bunga)}</b></td> <td><b>${'{:n}'.format(jml_denda)}</b></td>
</tr> </tr>
<tr class="borderless"> <tr class="borderless">
<td>Jumlah</td> <td>Jumlah</td>
<td>:</td> <td>:</td>
<td><b>${'{:n}'.format(data.bayar)}</b></td> <td><b>${'{:n}'.format(jml_bayar)}</b></td>
</tr> </tr>
</table> </table>
</td> </td>
...@@ -246,4 +246,4 @@ ...@@ -246,4 +246,4 @@
</div> </div>
</tal:block> </tal:block>
</div> </div>
</html> </html>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!