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 0309da2a
authored
Jul 01, 2020
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Pengisian field sppt.faktor_pengurang_sppt di tangsel_invisible_disc
1 parent
35098ad7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
sismiop/services/tangsel/__init__.py
sismiop/services/tangsel_invisible_disc/__init__.py
sismiop/services/tangsel/__init__.py
View file @
0309da2
...
@@ -110,6 +110,9 @@ class Inquiry(BaseInquiry):
...
@@ -110,6 +110,9 @@ class Inquiry(BaseInquiry):
payment
.
jml_sppt_yg_dibayar
=
tagihan_netto
+
denda_netto
payment
.
jml_sppt_yg_dibayar
=
tagihan_netto
+
denda_netto
payment
.
denda_sppt
=
denda_netto
payment
.
denda_sppt
=
denda_netto
self
.
set_faktor_pengurang_sppt
()
def
set_faktor_pengurang_sppt
(
self
):
if
not
self
.
discount_pokok
:
if
not
self
.
discount_pokok
:
return
return
not_null
(
self
.
invoice
)
not_null
(
self
.
invoice
)
...
...
sismiop/services/tangsel_invisible_disc/__init__.py
View file @
0309da2
...
@@ -21,3 +21,5 @@ class Inquiry(BaseInquiry):
...
@@ -21,3 +21,5 @@ class Inquiry(BaseInquiry):
payment
.
discount
=
self
.
discount_pokok
+
self
.
discount_denda
payment
.
discount
=
self
.
discount_pokok
+
self
.
discount_denda
payment
.
discount_pokok
=
self
.
discount_pokok
payment
.
discount_pokok
=
self
.
discount_pokok
self
.
set_faktor_pengurang_sppt
()
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