+
+
{t('customers.account.title')}
+
+
+
+ {accountCustomer.company_name} · {accountCustomer.customer_code}
+
+ {accountInfo ? (
+
+
+ {t('customers.account.username')}
+ {accountInfo.username || '—'}
+
+
+ {t('customers.account.status')}
+
+ {accountInfo.status === 1 ? t('customers.account.enabled') : t('customers.account.disabled')}
+
+
+
+
+
+
+
+ ) : (
+
+ setAccountForm((f) => ({ ...f, phone: e.target.value }))} />
+ setAccountForm((f) => ({ ...f, username: e.target.value }))} />
+ setAccountForm((f) => ({ ...f, password: e.target.value }))} />
+
+
+ )}
+
+