diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-26 16:07:37 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-26 16:07:37 +0700 |
| commit | f8367ac86e743ed7c7119c9ebcadba110c115e36 (patch) | |
| tree | 6a78eb85a541ba99b4443682b4edd92b29390e95 /indoteknik_api/controllers/api_v1/user.py | |
| parent | 60abd5d10aa4f606cade5ecf7d5c271905d4a18a (diff) | |
<iman> update make new company pkp
Diffstat (limited to 'indoteknik_api/controllers/api_v1/user.py')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py index cc97d004..bacf7009 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -178,9 +178,9 @@ class User(controller.Controller): 'name': business_name if business_name else business_name, 'company_type_id': company_type_id if company_type_id else False, 'industry_id': industry_id, - 'customer_type': 'pkp' if is_pkp else 'nonpkp', - 'npwp': npwp if is_pkp else (npwp if npwp else '0000'), - 'sppkp': sppkp if is_pkp else (sppkp if sppkp else '0000'), + 'customer_type': 'pkp' if is_pkp == 'true' else 'nonpkp', + 'npwp': npwp if is_pkp == 'true' else (npwp if npwp else '0000'), + 'sppkp': sppkp if is_pkp == 'true' else (sppkp if sppkp else '0000'), 'nama_wajib_pajak': nama_wajib_pajak, 'email': email_partner, 'company_type': 'company' |
