Commit 8838e6bc by yasir

perbaikan

1 parent fb410cec
...@@ -34,7 +34,7 @@ class Tbp(SipkdBase, CommonModel): ...@@ -34,7 +34,7 @@ class Tbp(SipkdBase, CommonModel):
@classmethod @classmethod
def tambah(cls, values): def tambah(cls, values):
# keybend = '2084_' # keybend = '2084_'
# unit_kode = '3.01.01.02.' #unit_kode = '3.01.01.02.'
# unitkey = DaftUnit.get_key(unit_kode) # unitkey = DaftUnit.get_key(unit_kode)
# keybend = '2084_' # keybend = '2084_'
# seharusnya parameter nip dimana keybend diquery dari tabel bendahara # seharusnya parameter nip dimana keybend diquery dari tabel bendahara
...@@ -44,7 +44,7 @@ class Tbp(SipkdBase, CommonModel): ...@@ -44,7 +44,7 @@ class Tbp(SipkdBase, CommonModel):
#perubahan mulai disini #perubahan mulai disini
unit_kode = values['unit_kode'] unit_kode = values['unit_kode']
nip = values['nip'] nip = values['nip']
unitkey = DaftUnit.get_key(unit_kode) unitkey = DaftUnit.get_key(unit_kode)
keybend = Bendahara.get_key(unitkey,nip) keybend = Bendahara.get_key(unitkey,nip)
#perubahan selesai disini #perubahan selesai disini
mtgkey = RekPdpt.get_key(values['rekening_kd']) mtgkey = RekPdpt.get_key(values['rekening_kd'])
......
"id","kode","status","created","updated","create_uid","update_uid","nama","value" "id","kode","status","created","updated","create_uid","update_uid","nama","value"
5,"pbb_nip",1,"","",,,"PBB NIP","1212" 5,"pbb_nip",1,"","",,,"PBB NIP","1212"
8,"pbb_unit",1,"","",,,"PBB Unit","3.01.01.02." 8,"pbb_unit",1,"","",,,"PBB Unit","3.01.01.02."
9,"bphtb_nip",1,"","",,,"BPHTB Unit","2121" 9,"bphtb_nip",1,"","",,,"BPHTB NIP","2121"
11,"bphtb_unit",1,"","",,,"BPHTB Unit","3.01.01.02." 11,"bphtb_unit",1,"","",,,"BPHTB Unit","3.01.01.02."
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!