Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
payment-report
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 e6687c42
authored
Apr 14, 2023
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tambah tabel pbb_invoice
1 parent
1555f0a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletions
CHANGES.txt
payment_report/models.py
CHANGES.txt
View file @
e6687c4
3.0.1 2023-04-14
----------------
- Tambah tabel pbb_invoice yang merupakan salinan tabel sppt. Tabel ini diisi
oleh synchronizer sppt.
3.0 2023-03-27
3.0 2023-03-27
--------------
--------------
- Class yang tidak bergantung pada command line argument
- Class yang tidak bergantung pada command line argument
...
...
payment_report/models.py
View file @
e6687c4
...
@@ -194,9 +194,37 @@ class Pbb(Base, Common):
...
@@ -194,9 +194,37 @@ class Pbb(Base, Common):
# Bit 32
# Bit 32
bank_id
=
Column
(
String
(
4
))
bank_id
=
Column
(
String
(
4
))
tgl_batal
=
Column
(
DateTime
(
timezone
=
True
))
tgl_batal
=
Column
(
DateTime
(
timezone
=
True
))
__table_args__
=
dict
(
__table_args__
=
(
UniqueConstraint
(
UniqueConstraint
(
kd_propinsi
,
kd_dati2
,
kd_kecamatan
,
kd_kelurahan
,
kd_propinsi
,
kd_dati2
,
kd_kecamatan
,
kd_kelurahan
,
kd_blok
,
no_urut
,
kd_jns_op
,
thn_pajak_sppt
,
kd_blok
,
no_urut
,
kd_jns_op
,
thn_pajak_sppt
,
pembayaran_sppt_ke
),
pembayaran_sppt_ke
),
)
)
class
PbbInvoice
(
Base
):
__tablename__
=
'pbb_invoice'
id
=
Column
(
Integer
,
primary_key
=
True
)
# Field sppt.kd_propinsi
kd_propinsi
=
Column
(
String
(
2
),
nullable
=
False
)
# Field sppt.kd_dati2
kd_dati2
=
Column
(
String
(
2
),
nullable
=
False
)
# Field sppt.kd_kecamatan
kd_kecamatan
=
Column
(
String
(
3
),
nullable
=
False
)
# Field sppt.kd_kelurahan
kd_kelurahan
=
Column
(
String
(
3
),
nullable
=
False
)
# Field sppt.kd_blok
kd_blok
=
Column
(
String
(
3
),
nullable
=
False
)
# Field sppt.no_urut
no_urut
=
Column
(
String
(
4
),
nullable
=
False
)
# Field sppt.kd_jns_op
kd_jns_op
=
Column
(
String
(
1
),
nullable
=
False
)
# Field sppt.thn_pajak_sppt
thn_pajak_sppt
=
Column
(
String
(
4
),
nullable
=
False
)
# Field sppt.pbb_yg_harus_dibayar_sppt
pbb_yg_harus_dibayar_sppt
=
Column
(
Float
,
nullable
=
False
)
__table_args__
=
(
UniqueConstraint
(
kd_propinsi
,
kd_dati2
,
kd_kecamatan
,
kd_kelurahan
,
kd_blok
,
no_urut
,
kd_jns_op
,
thn_pajak_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