Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-bphtb-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 78717c0e
authored
Jun 21, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Kota Cimahi tambah ORM Perolehan
1 parent
eda60a06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
CHANGES.txt
opensipkd/bphtb/models/cimahi.py
CHANGES.txt
View file @
78717c0
0.4.12 2026-06-21
-----------------
- Kota Cimahi tambah ORM Perolehan untuk digunakan di payment report.
0.4.11 2026-06-13
0.4.11 2026-06-13
-----------------
-----------------
- Tambah Kota Cimahi
- Tambah Kota Cimahi
...
...
opensipkd/bphtb/models/cimahi.py
View file @
78717c0
...
@@ -6,6 +6,7 @@ from sqlalchemy import (
...
@@ -6,6 +6,7 @@ from sqlalchemy import (
Float
,
Float
,
Text
,
Text
,
UniqueConstraint
,
UniqueConstraint
,
ForeignKey
,
)
)
from
sqlalchemy.ext.declarative
import
declarative_base
from
sqlalchemy.ext.declarative
import
declarative_base
...
@@ -19,6 +20,12 @@ class Notaris(Base):
...
@@ -19,6 +20,12 @@ class Notaris(Base):
nama_ppat
=
Column
(
Text
,
nullable
=
False
)
nama_ppat
=
Column
(
Text
,
nullable
=
False
)
class
Perolehan
(
Base
):
__tablename__
=
'r_hak_perolehan'
kode
=
Column
(
String
(
2
),
primary_key
=
True
)
uraian
=
Column
(
Text
,
nullable
=
False
,
unique
=
True
)
class
Invoice
(
Base
):
class
Invoice
(
Base
):
__tablename__
=
'bookppat'
__tablename__
=
'bookppat'
doc_id
=
Column
(
Integer
,
primary_key
=
True
)
doc_id
=
Column
(
Integer
,
primary_key
=
True
)
...
@@ -66,7 +73,7 @@ class Invoice(Base):
...
@@ -66,7 +73,7 @@ class Invoice(Base):
nilai_bang
=
Column
(
Integer
)
nilai_bang
=
Column
(
Integer
)
njop_pbb
=
Column
(
Integer
)
njop_pbb
=
Column
(
Integer
)
harga_tran
=
Column
(
Integer
)
harga_tran
=
Column
(
Integer
)
kd_jphtb
=
Column
(
String
(
2
))
kd_jphtb
=
Column
(
String
(
2
)
,
ForeignKey
(
Perolehan
.
kode
)
)
pecah_bag
=
Column
(
Integer
)
pecah_bag
=
Column
(
Integer
)
dari_bag
=
Column
(
Integer
)
dari_bag
=
Column
(
Integer
)
npop
=
Column
(
Integer
)
npop
=
Column
(
Integer
)
...
...
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