getMessage()); } if ($_SERVER['REQUEST_METHOD'] === 'POST') { $stmt = $pdo->prepare("INSERT INTO fiche_installation ( num_requete, nom_client, tel_client, ref_client, ref_tech, ref_com_info, ref_com_cce, utilisateur_nom, utilisateur_mail, utilisateur_tel, utilisateur_adresse, rdv_planifie, rdv_date, type_poste, ecran, ecran_verifie, messagerie, messagerie_autre, messagerie_licence, logiciel1_nom, logiciel1_fournisseur, logiciel1_contact, logiciel1_tel, logiciel1_mail, logiciel2_nom, logiciel2_fournisseur, logiciel2_contact, logiciel2_tel, logiciel2_mail, licence_office, licence_antivirus, licence_edr, licence_mib, licence_sta, licence_forticlient, licence_cal, licence_rds, licence_autre, observations ) VALUES ( :num_requete, :nom_client, :tel_client, :ref_client, :ref_tech, :ref_com_info, :ref_com_cce, :utilisateur_nom, :utilisateur_mail, :utilisateur_tel, :utilisateur_adresse, :rdv_planifie, :rdv_date, :type_poste, :ecran, :ecran_verifie, :messagerie, :messagerie_autre, :messagerie_licence, :logiciel1_nom, :logiciel1_fournisseur, :logiciel1_contact, :logiciel1_tel, :logiciel1_mail, :logiciel2_nom, :logiciel2_fournisseur, :logiciel2_contact, :logiciel2_tel, :logiciel2_mail, :licence_office, :licence_antivirus, :licence_edr, :licence_mib, :licence_sta, :licence_forticlient, :licence_cal, :licence_rds, :licence_autre, :observations )"); $stmt->execute([ 'num_requete' => $_POST['num_requete'], 'nom_client' => $_POST['nom_client'], 'tel_client' => $_POST['tel_client'], 'ref_client' => $_POST['ref_client'], 'ref_tech' => $_POST['ref_tech'], 'ref_com_info' => $_POST['ref_com_info'], 'ref_com_cce' => $_POST['ref_com_cce'], 'utilisateur_nom' => $_POST['utilisateur_nom'], 'utilisateur_mail' => $_POST['utilisateur_mail'], 'utilisateur_tel' => $_POST['utilisateur_tel'], 'utilisateur_adresse' => $_POST['utilisateur_adresse'], 'rdv_planifie' => $_POST['rdv_planifie'], 'rdv_date' => $_POST['rdv_date'] ?? null, 'type_poste' => $_POST['type_poste'], 'ecran' => $_POST['ecran'], 'ecran_verifie' => isset($_POST['ecran_verifie']) ? 1 : 0, 'messagerie' => $_POST['messagerie'], 'messagerie_autre' => $_POST['messagerie_autre'] ?? '', 'messagerie_licence' => isset($_POST['messagerie_licence']) ? 1 : 0, 'logiciel1_nom' => $_POST['logiciel1_nom'], 'logiciel1_fournisseur' => $_POST['logiciel1_fournisseur'], 'logiciel1_contact' => $_POST['logiciel1_contact'], 'logiciel1_tel' => $_POST['logiciel1_tel'], 'logiciel1_mail' => $_POST['logiciel1_mail'], 'logiciel2_nom' => $_POST['logiciel2_nom'] ?? '', 'logiciel2_fournisseur' => $_POST['logiciel2_fournisseur'] ?? '', 'logiciel2_contact' => $_POST['logiciel2_contact'] ?? '', 'logiciel2_tel' => $_POST['logiciel2_tel'] ?? '', 'logiciel2_mail' => $_POST['logiciel2_mail'] ?? '', 'licence_office' => $_POST['licence_office'], 'licence_antivirus' => $_POST['licence_antivirus'], 'licence_edr' => $_POST['licence_edr'], 'licence_mib' => $_POST['licence_mib'], 'licence_sta' => $_POST['licence_sta'], 'licence_forticlient' => $_POST['licence_forticlient'], 'licence_cal' => $_POST['licence_cal'], 'licence_rds' => $_POST['licence_rds'], 'licence_autre' => $_POST['licence_autre'], 'observations' => $_POST['observations'] ]); header("Location: liste.php"); exit; } ?> Nouvelle fiche d'installation

Nouvelle fiche d'installation

1. Informations client
2. Informations utilisateur
3. Matériel et bureautique
4. Intervenant tiers - Logiciel 1 Logiciel 2
5. Licences
6. Commentaires