Ajout champ contact à la fiche client

This commit is contained in:
Jean-Christophe Engel 2025-03-25 20:49:24 +01:00
parent aff20099aa
commit 4aafa3f44f
12 changed files with 47 additions and 7 deletions

View file

@ -252,10 +252,10 @@ EOT
);
}
// version 0.14
// Ajout champ note à la table clients
// version 0.15
// Ajout champs note et contact à la table clients
// Ajout divers champs à la table factures
if (version_compare($old_version, '0.14', '<'))
if (version_compare($old_version, '0.15', '<'))
{
$db->exec(<<<EOT
CREATE TABLE IF NOT EXISTS plugin_facturation_clients_tmp
@ -269,6 +269,7 @@ if (version_compare($old_version, '0.14', '<'))
date_creation TEXT NOT NULL DEFAULT CURRENT_DATE CHECK (date(date_creation) IS NOT NULL AND date(date_creation) = date_creation),
telephone TEXT,
email TEXT,
nom_contact TEXT,
note TEXT
);
EOT