// Remplir automatiquement téléphone et email si client existant sélectionné document.getElementById('selectContact').addEventListener('change', function() { const contacts = getContacts(); const select = this; const value = select.value.trim(); const found = contacts.find(c => (`${c.company} ${c.lastName} ${c.firstName}`).trim() === value); document.getElementById('clientPhone').value = found ? (found.phone || '') : ''; document.getElementById('clientEmail').value = found ? (found.email || '') : ''; document.getElementById('clientAddress').value = found ? (found.address || '') : ''; }); Clients & RDV - Transmosca
Transmosca

👥 Clients & Rendez-vous

← Retour

👤 Nouveau contact

📒 Liste des contacts

Société Nom Prénom Adresse Téléphone Email Actions
Aucun contact enregistré

📅 Nouveau rendez-vous client