Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 14a9309d
authored
Dec 18, 2023
by
Tatang S
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add FixFormulir
1 parent
820cb6ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
opensipkd/tools/pbb.py
opensipkd/tools/pbb.py
View file @
14a9309
...
...
@@ -70,6 +70,10 @@ AGENDA = [('thn_agenda_kirim', 4, 'N'),
BERKAS
=
list
(
NOPELDET
)
BERKAS
.
extend
(
list
(
AGENDA
))
FORMULIR
=
[(
'tahun'
,
4
,
'N'
),
(
'bundel'
,
4
,
'N'
),
(
'urut'
,
3
,
'N'
)]
def
get_value
(
obj
,
struct
):
raw
=
""
...
...
@@ -209,6 +213,10 @@ class FixBerkas(BaseFixLength):
def
get_nopel_det
(
self
):
return
get_value
(
self
,
NOPELDET
)
class
FixFormulir
(
BaseFixLength
):
def
get_structure
(
self
):
return
FORMULIR
def
ensure_datetime
(
d
):
"""
...
...
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