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 0a4579ba
authored
Jul 03, 2020
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Modul tangkota before_save() sama dengan modul tangsel
1 parent
f6ed7a0a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
CHANGES.txt
sismiop/services/tangkota/__init__.py
CHANGES.txt
View file @
0a4579b
0.1.6 2020-07-03
0.1.6 2020-07-03
----------------
----------------
- Modul tangkota: penyimpanan ke tabel pembayaran_sppt adalah netto sebagaimana
modul tangsel
- Tambah field pembayaran_sppt.discount_denda di modul tangsel
- Tambah field pembayaran_sppt.discount_denda di modul tangsel
0.1.5 2020-07-01
0.1.5 2020-07-01
...
...
sismiop/services/tangkota/__init__.py
View file @
0a4579b
from
datetime
import
date
from
datetime
import
date
from
..default
import
Inquiry
as
BaseInquiry
from
..tangsel
import
(
from
..tangsel
import
(
Inquiry
as
BaseInquiry
,
Reversal
,
Reversal
,
AvailableInvoice
as
BaseAvailableInvoice
,
AvailableInvoice
as
BaseAvailableInvoice
,
AvailableInvoiceTangsel
as
BaseAvailableInvoiceTangsel
,
AvailableInvoiceTangsel
as
BaseAvailableInvoiceTangsel
,
...
@@ -70,11 +70,6 @@ class Inquiry(BaseInquiry):
...
@@ -70,11 +70,6 @@ class Inquiry(BaseInquiry):
break
break
return
int
(
disc
*
self
.
tagihan
)
return
int
(
disc
*
self
.
tagihan
)
def
before_save
(
self
,
payment
):
# Override
payment
.
denda_sblm_diskon
=
self
.
denda_sblm_diskon
payment
.
discount_pokok
=
self
.
discount_pokok
self
.
set_faktor_pengurang_sppt
(
payment
)
class
AvailableInvoice
(
BaseAvailableInvoice
):
class
AvailableInvoice
(
BaseAvailableInvoice
):
def
get_inquiry_class
(
self
):
def
get_inquiry_class
(
self
):
...
...
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