diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-29 16:32:01 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-29 16:32:01 +0700 |
| commit | a5821ad81683c8160d707fe980a282df644c3c0b (patch) | |
| tree | 73f9882c4d86e485fc926de4204df97ece0603bb /src-migrate/modules/register/components | |
| parent | a75f8676f71e83082088544349ecbf9b4fd80b61 (diff) | |
<iman> add sppkp field
Diffstat (limited to 'src-migrate/modules/register/components')
| -rw-r--r-- | src-migrate/modules/register/components/FormBisnis.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src-migrate/modules/register/components/FormBisnis.tsx b/src-migrate/modules/register/components/FormBisnis.tsx index e2e021b3..b976072c 100644 --- a/src-migrate/modules/register/components/FormBisnis.tsx +++ b/src-migrate/modules/register/components/FormBisnis.tsx @@ -344,6 +344,25 @@ const form: React.FC<FormProps> = ({ type, required, isPKP }) => { </div> <div> + <label htmlFor='sppkp' className="font-bold">Nomor SPPKP { !required && <span className='font-normal text-gray_r-11'>(opsional)</span>}</label> + + <input + type='tel' + id='sppkp' + name='sppkp' + className={`form-input mt-3 ${required ? 'cursor-no-drop' : ''}`} + disabled={required} + contentEditable={required} + readOnly={required} + placeholder='000.000.000.0-000.000' + value={!required ? form.sppkp : ''} + aria-invalid={!required && !!errors.sppkp} + /> + + {!required && !!errors.sppkp && <span className="form-msg-danger">{errors.sppkp}</span>} + </div> + + <div> <label htmlFor="npwp_document" className="font-bold">Dokumen NPWP {!isPKP && !required && <span className='font-normal text-gray_r-11'>(opsional)</span>}</label> <input |
