From efb48e017fe0316eef6cb1c3a001cf861dcf1101 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Sun, 28 Jun 2026 17:47:01 -0500 Subject: [PATCH] Show email/phone in pro detail and improve RETHUS section - Backend: include email and phone in users select for professionals - Admin detail page: RETHUS section shows cedula+code with copy buttons Co-Authored-By: Claude Sonnet 4.6 --- admin/src/app/professionals/[id]/page.tsx | 43 ++++++++++++++----- .../professionals/professionals.service.ts | 6 +-- 2 files changed, 36 insertions(+), 13 deletions(-) diff --git a/admin/src/app/professionals/[id]/page.tsx b/admin/src/app/professionals/[id]/page.tsx index 15d4ae6..4122a98 100644 --- a/admin/src/app/professionals/[id]/page.tsx +++ b/admin/src/app/professionals/[id]/page.tsx @@ -10,7 +10,7 @@ import { Badge } from '@/components/ui/badge'; import { Input } from '@/components/ui/input'; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table'; import { toast } from 'sonner'; -import { ArrowLeft, Pencil, X, Check, ShieldCheck, ShieldAlert, ExternalLink } from 'lucide-react'; +import { ArrowLeft, Pencil, X, Check, ShieldCheck, ShieldAlert, ExternalLink, Copy } from 'lucide-react'; interface User { id: string; name: string; email?: string; phone?: string; city?: string; picture?: string; } interface Schedule { id: string; day_of_week: number; enabled: boolean; range1_hour1?: string; range1_hour2?: string; } @@ -293,21 +293,44 @@ export default function ProfessionalDetailPage() { {professional.rethus_code ? ( <> -
- Código registrado: - {professional.rethus_code} +
+
+ Código RETHUS +
+ {professional.rethus_code} + +
+
+ {professional.identification && ( +
+ Cédula +
+ {professional.identification} + +
+
+ )}
{!professional.rethus_validated && (