Tableau de bord
Vue générale · BBS Design
Clients récents
Base clients
Documents émis
Sélectionnez ou créez un projet pour commencer le suivi
Identifiants administrateur
Enregistré ✓
Données
Intégration front office

Pour connecter le questionnaire du front office à ce CRM, ajoutez ce code dans la fonction submitForm() du fichier bbs-premium-v14.html, juste avant le console.log :

// Envoi vers BBS Admin CRM
var clients = JSON.parse(localStorage.getItem('bbs_clients') || '[]');
var newClient = {
  id: Date.now(),
  date: new Date().toISOString(),
  prenom: answers.prenom,
  nom: answers.nom,
  email: answers.email,
  tel: answers.tel,
  projet: answers.step1,
  avancement: answers.step2,
  budget: answers.step3,
  preoccupation: answers.step4,
  surface: answers.surface,
  ville: answers.ville,
  description: answers.description,
  photos: answers.photos || '',
  status: 'new',
  notes: '',
  space: {}
};
clients.push(newClient);
localStorage.setItem('bbs_clients', JSON.stringify(clients));