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 fd21b755
authored
Sep 07, 2024
by
Taufikyu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ganti persen denda
1 parent
81f1204f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
esipkd/views/daftar.py
esipkd/views/daftar.py
View file @
fd21b75
...
@@ -18,7 +18,7 @@ from math import ceil
...
@@ -18,7 +18,7 @@ from math import ceil
## Untuk perhitungan bunga ##
## Untuk perhitungan bunga ##
#############################
#############################
def
hitung_bunga
(
pokok
,
jatuh_tempo
,
tanggal
=
None
,
max_denda
=
24
):
def
hitung_bunga
(
pokok
,
jatuh_tempo
,
tanggal
=
None
,
max_denda
=
24
):
persen_denda
=
1
persen_denda
=
2
if
not
tanggal
:
if
not
tanggal
:
tanggal
=
datetime
.
now
()
.
date
()
tanggal
=
datetime
.
now
()
.
date
()
if
tanggal
<=
jatuh_tempo
:
if
tanggal
<=
jatuh_tempo
:
...
...
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