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 1cd17c89
authored
Apr 04, 2021
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Penambahan Kota Bekasi
1 parent
3be9b74a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
106 additions
and
0 deletions
CHANGES.txt
sismiop/models/bekasi_kota.py
sismiop/services/bekasi_kota.py
CHANGES.txt
View file @
1cd17c8
0.1.22 2021-04-04
-----------------
- Penambahan Kota Bekasi
0.1.21 2021-02-07
-----------------
- Discount pokok Kota Tangerang
...
...
sismiop/models/bekasi_kota.py
0 → 100644
View file @
1cd17c8
from
sqlalchemy
import
(
Column
,
Float
,
String
,
)
from
sqlalchemy.ext.declarative
import
declarative_base
from
.objek_pajak
import
BaseObjekPajakMixin
from
.sppt
import
SpptMixin
from
.pembayaran_sppt
import
BasePembayaranSpptMixin
from
.kelurahan
import
KelurahanMixin
from
.kecamatan
import
KecamatanMixin
from
.propinsi
import
PropinsiMixin
from
.tempat_pembayaran
import
TempatPembayaranMixin
Base
=
declarative_base
()
class
ObjekPajak
(
Base
,
BaseObjekPajakMixin
):
__table_args__
=
dict
(
schema
=
'pbb'
)
class
Sppt
(
Base
,
SpptMixin
):
__table_args__
=
dict
(
schema
=
'pbb'
)
class
PembayaranSppt
(
Base
,
BasePembayaranSpptMixin
):
__table_args__
=
dict
(
schema
=
'pospbb'
)
kd_kanwil
=
Column
(
String
(
2
),
nullable
=
False
)
kd_kantor
=
Column
(
String
(
2
),
nullable
=
False
)
kd_tp
=
Column
(
String
(
2
),
nullable
=
False
)
denda_sppt
=
Column
(
Float
)
jml_sppt_yg_dibayar
=
Column
(
Float
,
nullable
=
False
)
nip_rekam_byr_sppt
=
Column
(
String
(
9
),
nullable
=
False
)
class
Kelurahan
(
Base
,
KelurahanMixin
):
__table_args__
=
dict
(
schema
=
'pbb'
)
class
Kecamatan
(
Base
,
KecamatanMixin
):
__table_args__
=
dict
(
schema
=
'pbb'
)
class
Propinsi
(
Base
,
PropinsiMixin
):
__table_args__
=
dict
(
schema
=
'pbb'
)
class
TempatPembayaran
(
Base
,
TempatPembayaranMixin
):
__table_args__
=
dict
(
schema
=
'pbb'
)
sismiop/services/bekasi_kota.py
0 → 100644
View file @
1cd17c8
from
..models.bekasi_kota
import
(
ObjekPajak
,
Sppt
,
PembayaranSppt
,
Kelurahan
,
Kecamatan
,
Propinsi
,
)
from
.binjai
import
(
AvailableInvoice
as
BaseAvailableInvoice
,
Inquiry
as
BaseInquiry
,
Reversal
as
BaseReversal
,
)
class
Inquiry
(
BaseInquiry
):
def
get_op_model
(
self
):
# Override
return
ObjekPajak
def
get_invoice_model
(
self
):
# Override
return
Sppt
def
get_payment_model
(
self
):
# Override
return
PembayaranSppt
def
get_kelurahan_model
(
self
):
# Override
return
Kelurahan
def
get_kecamatan_model
(
self
):
# Override
return
Kecamatan
def
get_propinsi_model
(
self
):
# Override
return
Propinsi
class
Reversal
(
BaseReversal
):
def
get_invoice_model
(
self
):
# Override
return
Sppt
def
get_payment_model
(
self
):
# Override
return
PembayaranSppt
class
AvailableInvoice
(
BaseAvailableInvoice
):
def
get_inquiry_class
(
self
):
# Override
return
Inquiry
def
get_invoice_model
(
self
):
# Override
return
Sppt
def
get_payment_model
(
self
):
# Override
return
PembayaranSppt
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