Add order page with real API calls
This commit is contained in:
@@ -377,11 +377,11 @@ const TeamPage: React.FC = () => {
|
||||
statusIndicator={getMemberStatusConfig(member)}
|
||||
title={member.user?.full_name || member.user_full_name}
|
||||
subtitle={member.user?.email || member.user_email}
|
||||
primaryValue={member.is_active ? 'Activo' : 'Inactivo'}
|
||||
primaryValueLabel="Estado"
|
||||
primaryValue={Math.floor((Date.now() - new Date(member.joined_at).getTime()) / (1000 * 60 * 60 * 24))}
|
||||
primaryValueLabel="días"
|
||||
secondaryInfo={{
|
||||
label: 'Se unió',
|
||||
value: new Date(member.joined_at).toLocaleDateString('es-ES')
|
||||
label: 'Estado',
|
||||
value: member.is_active ? 'Activo' : 'Inactivo'
|
||||
}}
|
||||
metadata={[
|
||||
`Email: ${member.user?.email || member.user_email}`,
|
||||
|
||||
Reference in New Issue
Block a user