Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
sismiop-models
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 417bd66d
authored
Sep 24, 2020
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Field tgl_pembayaran_sppt tidak lagi memuat jam
1 parent
b73b5194
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
CHANGES.txt
sismiop/scripts/inquiry.py
sismiop/services/base.py
CHANGES.txt
View file @
417bd66
0.1.1
0
2020-09-24
0.1.1
1
2020-09-24
-----------------
- Tambah modul bekasi_kab
- Field tgl_pembayaran_sppt tidak lagi memuat jam. Jam tetap ada di field
tgl_rekam_byr_sppt.
0.1.9 2020-08-30
----------------
...
...
sismiop/scripts/inquiry.py
View file @
417bd66
...
...
@@ -78,6 +78,7 @@ def show(inq):
show_field
(
pay
,
'pembayaran_sppt_ke'
)
show_field
(
pay
,
'kd_tp'
)
show_field
(
pay
,
'tgl_rekam_byr_sppt'
)
show_field
(
pay
,
'tgl_pembayaran_sppt'
)
show_field
(
pay
,
'discount_pokok'
)
show_field
(
pay
,
'discount_denda'
)
...
...
sismiop/services/base.py
View file @
417bd66
...
...
@@ -145,9 +145,11 @@ class Inquiry(Query):
return
self
.
persen_denda
=
persen_denda
if
tgl_bayar
:
if
isinstance
(
tgl_bayar
,
datetime
):
tgl_bayar
=
tgl_bayar
.
date
()
self
.
tgl_bayar
=
tgl_bayar
else
:
self
.
tgl_bayar
=
date
time
.
now
()
self
.
tgl_bayar
=
date
.
today
()
# Digunakan untuk ISO8583
self
.
tagihan
=
self
.
denda
=
self
.
discount
=
self
.
total
=
0
self
.
hitung
()
...
...
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