Uncomment nip field in PartnerSchema for validation

1 parent 0822c626
......@@ -94,11 +94,11 @@ class NamaSchema(colander.Schema):
class PartnerSchema(NamaSchema):
# nip = colander.SchemaNode(
# colander.String(),
# missing=colander.drop,
# validator=colander.Length(max=32),
# oid="nip")
nip = colander.SchemaNode(
colander.String(),
missing=colander.drop,
validator=colander.Length(max=32),
oid="nip")
# npwp = colander.SchemaNode(
# colander.String(),
# missing=colander.drop,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!