Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-pad-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 0d3b352e
authored
Aug 05, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Kabupaten Sukabumi discount denda periode Agustus - September
1 parent
11f85d03
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
50 deletions
CHANGES.txt
opensipkd/pad/services/sukabumi_kab.py
pyproject.toml
setup.py
CHANGES.txt
View file @
0d3b352
0.5.11 2024-08-04
-----------------
- Kabupaten Sukabumi discount denda periode Agustus - September.
0.5.10 2024-08-01
-----------------
- Kabupaten Cirebon denda 1% sejak Agustus.
...
...
opensipkd/pad/services/sukabumi_kab.py
View file @
0d3b352
...
...
@@ -17,10 +17,10 @@ INVOICE_ID = [
(
'SptNo'
,
5
,
'N'
),
]
AWAL_DISC
=
date
(
202
3
,
9
,
5
)
AKHIR_DISC
=
date
(
202
3
,
12
,
2
0
)
AWAL_MASA
=
date
(
202
3
,
1
,
1
)
AKHIR_MASA
=
date
(
202
3
,
10
,
31
)
AWAL_DISC
=
date
(
202
4
,
8
,
1
)
AKHIR_DISC
=
date
(
202
4
,
9
,
3
0
)
AWAL_MASA
=
date
(
202
2
,
1
,
1
)
AKHIR_MASA
=
date
(
202
4
,
9
,
30
)
def
get_invoice_id
(
row
):
...
...
@@ -76,12 +76,6 @@ class Inquiry(BaseInquiry):
tgl_masa
=
self
.
invoice
.
masadari
.
date
()
if
not
(
AWAL_MASA
<=
tgl_masa
<=
AKHIR_MASA
):
return
0
inv
=
self
.
belum_lunas
(
2022
)
if
inv
:
inv_id
=
get_invoice_id
(
inv
)
self
.
notes
.
append
(
f
'Tagihan {inv_id.get_raw()} belum lunas'
)
return
0
self
.
notes
.
append
(
f
'Lunas tahun pajak 2022 ke bawah'
)
self
.
notes
.
append
(
f
'{AWAL_MASA} <= field masadari {tgl_masa} <= {AKHIR_MASA}'
)
self
.
notes
.
append
(
...
...
pyproject.toml
0 → 100644
View file @
0d3b352
[build-system]
requires
=
[
'setuptools
>=
64
'
]
[project]
name
=
'opensipkd-pad-models'
version
=
'
0.5.11
'
dependencies
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
'transaction'
,
'psycopg
2
-binary'
,
'opensipkd-hitung
@
git+https://git.opensipkd.com/sugiana/opensipkd-hitung.git'
,
]
requires-python
=
'>=
3.6
'
authors
=
[
{name='Owo
Sugiana'
,
email='sugiana@gmail.com'}
,
]
description
=
'Struktur
tabel
PAD'
readme
=
'README.rst'
license
=
{text='PostgreSQL
License'}
classifiers
=
[
'Programming
Language
::
Python
::
3
'
,
'Operating
System
::
OS
Independent'
,
]
[project.scripts]
pad_available_invoice
=
'opensipkd.pad.scripts.available_invoice:main'
pad_inquiry
=
'opensipkd.pad.scripts.inquiry:main'
setup.py
View file @
0d3b352
import
os
import
setuptools
with
open
(
'README.rst'
)
as
f
:
long_description
=
f
.
read
()
with
open
(
'CHANGES.txt'
)
as
f
:
CHANGES
=
f
.
read
()
line
=
CHANGES
.
splitlines
()[
0
]
version
=
line
.
split
()[
0
]
requires
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
'transaction'
,
'psycopg2-binary'
,
'opensipkd-hitung @ '
'git+https://git.opensipkd.com/sugiana/opensipkd-hitung.git'
,
]
setuptools
.
setup
(
name
=
'opensipkd-pad-models'
,
version
=
version
,
author
=
'Owo Sugiana'
,
author_email
=
'sugiana@gmail.com'
,
description
=
'Struktur tabel PAD'
,
long_description
=
long_description
,
long_description_content_type
=
'text/markdown'
,
license
=
'PostgreSQL License'
,
install_requires
=
requires
,
packages
=
setuptools
.
find_packages
(),
classifiers
=
[
'Programming Language :: Python :: 3'
,
'Operating System :: OS Independent'
,
],
entry_points
=
{
'console_scripts'
:
[
'pad_available_invoice = '
'opensipkd.pad.scripts.available_invoice:main'
,
'pad_inquiry = opensipkd.pad.scripts.inquiry:main'
,
]
},
)
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