mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-13 04:51:25 +01:00
Un peu de nettoyage et de mise jour de notice ce copyright
This commit is contained in:
213
mysql/mysql.sql
213
mysql/mysql.sql
@@ -137,18 +137,22 @@ create table llx_facture_fourn
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
facnumber varchar(50) NOT NULL,
|
facnumber varchar(50) NOT NULL,
|
||||||
fk_soc integer NOT NULL,
|
fk_soc integer NOT NULL,
|
||||||
datec datetime, -- date de creation de la facture
|
datec datetime, -- date de creation de la facture
|
||||||
datef date, -- date de la facture
|
datef date, -- date de la facture
|
||||||
libelle varchar(255),
|
libelle varchar(255),
|
||||||
paye smallint default 0 NOT NULL,
|
paye smallint default 0 NOT NULL,
|
||||||
amount real default 0 NOT NULL,
|
amount real default 0 NOT NULL,
|
||||||
remise real default 0,
|
remise real default 0,
|
||||||
tva real default 0,
|
tva real default 0,
|
||||||
total real default 0,
|
total real default 0,
|
||||||
|
total_ht real default 0,
|
||||||
|
total_tva real default 0,
|
||||||
|
total_ttc real default 0,
|
||||||
|
|
||||||
fk_statut smallint default 0 NOT NULL,
|
fk_statut smallint default 0 NOT NULL,
|
||||||
|
|
||||||
fk_user_author integer, -- createur de la propale
|
fk_user_author integer, -- createur de la facture
|
||||||
fk_user_valid integer, -- valideur de la propale
|
fk_user_valid integer, -- valideur de la facture
|
||||||
|
|
||||||
note text,
|
note text,
|
||||||
|
|
||||||
@@ -179,6 +183,14 @@ create table socstatutlog
|
|||||||
author varchar(30)
|
author varchar(30)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
create table llx_livre_to_auteur
|
||||||
|
(
|
||||||
|
fk_livre integer NOT NULL,
|
||||||
|
fk_auteur integer NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
alter table llx_livre_to_auteur add unique key (fk_livre, fk_auteur);
|
||||||
|
|
||||||
create table llx_fichinter
|
create table llx_fichinter
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
@@ -208,8 +220,9 @@ create table llx_const
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
name varchar(255),
|
name varchar(255),
|
||||||
value varchar(255),
|
value text, -- max 65535 caracteres
|
||||||
type enum('yesno'),
|
type enum('yesno','texte','chaine'),
|
||||||
|
visible tinyint DEFAULT 1 NOT NULL,
|
||||||
note text,
|
note text,
|
||||||
|
|
||||||
UNIQUE INDEX(name)
|
UNIQUE INDEX(name)
|
||||||
@@ -318,6 +331,18 @@ create table llx_voyage
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_appro
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
datec datetime,
|
||||||
|
tms timestamp,
|
||||||
|
fk_product integer NOT NULL,
|
||||||
|
quantity smallint unsigned NOT NULL,
|
||||||
|
price real,
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
create table llx_voyage_reduc
|
create table llx_voyage_reduc
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
@@ -481,6 +506,20 @@ create table llx_bank_class
|
|||||||
INDEX(lineid)
|
INDEX(lineid)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
create table llx_album
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
osc_id integer NOT NULL,
|
||||||
|
tms timestamp,
|
||||||
|
ref varchar(12),
|
||||||
|
title varchar(64),
|
||||||
|
annee smallint(64),
|
||||||
|
description text,
|
||||||
|
collectif tinyint,
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
create table c_typent
|
create table c_typent
|
||||||
(
|
(
|
||||||
id integer PRIMARY KEY,
|
id integer PRIMARY KEY,
|
||||||
@@ -511,6 +550,17 @@ create table c_stcomm
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_groupart
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
osc_id integer NOT NULL,
|
||||||
|
tms timestamp,
|
||||||
|
nom varchar(64),
|
||||||
|
groupart enum("artiste","groupe") NOT NULL,
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
create table llx_chargesociales
|
create table llx_chargesociales
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
@@ -560,6 +610,7 @@ create table llx_facture
|
|||||||
remise real default 0,
|
remise real default 0,
|
||||||
tva real default 0,
|
tva real default 0,
|
||||||
total real default 0,
|
total real default 0,
|
||||||
|
total_ttc real default 0,
|
||||||
fk_statut smallint default 0 NOT NULL,
|
fk_statut smallint default 0 NOT NULL,
|
||||||
author varchar(50),
|
author varchar(50),
|
||||||
fk_user integer, -- createur de la facture
|
fk_user integer, -- createur de la facture
|
||||||
@@ -606,7 +657,7 @@ create table llx_product
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
datec datetime,
|
datec datetime,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
ref varchar(15),
|
ref varchar(15) UNIQUE,
|
||||||
label varchar(255),
|
label varchar(255),
|
||||||
description text,
|
description text,
|
||||||
price smallint,
|
price smallint,
|
||||||
@@ -704,7 +755,9 @@ create table llx_adherent_type
|
|||||||
statut smallint NOT NULL DEFAULT 0,
|
statut smallint NOT NULL DEFAULT 0,
|
||||||
libelle varchar(50),
|
libelle varchar(50),
|
||||||
cotisation enum('yes','no') NOT NULL DEFAULT 'yes',
|
cotisation enum('yes','no') NOT NULL DEFAULT 'yes',
|
||||||
note text
|
vote enum('yes','no') NOT NULL DEFAULT 'yes',
|
||||||
|
note text,
|
||||||
|
mail_valid text -- mail envoye a la validation
|
||||||
);
|
);
|
||||||
|
|
||||||
create table llx_boxes_def
|
create table llx_boxes_def
|
||||||
@@ -722,18 +775,160 @@ create table llx_adherent_options_label
|
|||||||
label varchar(255) NOT NULL -- label correspondant a l'attribut
|
label varchar(255) NOT NULL -- label correspondant a l'attribut
|
||||||
);
|
);
|
||||||
|
|
||||||
|
create table llx_sqltables
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
name varchar(255),
|
||||||
|
loaded tinyint(1)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_concert
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
tms timestamp,
|
||||||
|
date_concert datetime NOT NULL,
|
||||||
|
description text,
|
||||||
|
collectif tinyint DEFAULT 0 NOT NULL,
|
||||||
|
fk_groupart integer,
|
||||||
|
fk_lieu_concert integer,
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_album_to_groupart
|
||||||
|
(
|
||||||
|
fk_album integer NOT NULL,
|
||||||
|
fk_groupart integer NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
alter table llx_album_to_groupart add unique key (fk_album, fk_groupart);
|
||||||
|
|
||||||
|
create table llx_lieu_concert
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
tms timestamp,
|
||||||
|
nom varchar(64) NOT NULL,
|
||||||
|
description text,
|
||||||
|
|
||||||
|
ville varchar(64) NOT NULL,
|
||||||
|
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_livre
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
oscid integer NOT NULL,
|
||||||
|
tms timestamp,
|
||||||
|
status tinyint,
|
||||||
|
date_ajout datetime,
|
||||||
|
ref varchar(12),
|
||||||
|
title varchar(64),
|
||||||
|
annee smallint(64),
|
||||||
|
description text,
|
||||||
|
prix decimal(15,4),
|
||||||
|
fk_editeur integer,
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_auteur
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
oscid integer NOT NULL,
|
||||||
|
tms timestamp,
|
||||||
|
nom varchar(32),
|
||||||
|
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_editeur
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
oscid integer NOT NULL,
|
||||||
|
tms timestamp,
|
||||||
|
nom varchar(32),
|
||||||
|
|
||||||
|
fk_user_author integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_facture_fourn_det
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
fk_facture_fourn integer NOT NULL,
|
||||||
|
fk_product integer NULL,
|
||||||
|
description text,
|
||||||
|
pu_ht real default 0,
|
||||||
|
qty smallint default 1,
|
||||||
|
total_ht real default 0,
|
||||||
|
tva_taux real default 0,
|
||||||
|
tva real default 0,
|
||||||
|
total_ttc real default 0
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into llx_sqltables (name, loaded) values ('llx_album',0);
|
||||||
|
|
||||||
insert into llx_boxes_def (name, file) values ('Factures','box_factures.php');
|
insert into llx_boxes_def (name, file) values ('Factures','box_factures.php');
|
||||||
insert into llx_boxes_def (name, file) values ('Factures impay<61>es','box_factures_imp.php');
|
insert into llx_boxes_def (name, file) values ('Factures impay<61>es','box_factures_imp.php');
|
||||||
insert into llx_boxes_def (name, file) values ('Propales','box_propales.php');
|
insert into llx_boxes_def (name, file) values ('Propales','box_propales.php');
|
||||||
|
|
||||||
insert into llx_const(name, value) values ('DONS_FORM','fsfe.fr.php');
|
insert into llx_const(name, value, type) values ('DONS_FORM','fsfe.fr.php','chaine');
|
||||||
|
|
||||||
|
insert into llx_const(name, value, type) values ('FACTURE_ADDON','venus','chaine');
|
||||||
|
|
||||||
insert into llx_const(name, value, type, note) values ('MAIN_SEARCHFORM_SOCIETE','1','yesno','Affichage du formulaire de recherche des soci<63>t<EFBFBD>s dans la barre de gauche');
|
insert into llx_const(name, value, type, note) values ('MAIN_SEARCHFORM_SOCIETE','1','yesno','Affichage du formulaire de recherche des soci<63>t<EFBFBD>s dans la barre de gauche');
|
||||||
insert into llx_const(name, value, type, note) values ('MAIN_SEARCHFORM_CONTACT','1','yesno','Affichage du formulaire de recherche des contacts dans la barre de gauche');
|
insert into llx_const(name, value, type, note) values ('MAIN_SEARCHFORM_CONTACT','1','yesno','Affichage du formulaire de recherche des contacts dans la barre de gauche');
|
||||||
|
|
||||||
insert into llx_const(name, value, type, note) values ('COMPTA_ONLINE_PAYMENT_BPLC','1','yesno','Syst<EFBFBD>me de gestion de la banque populaire de Lorraine');
|
insert into llx_const(name, value, type, note) values ('COMPTA_ONLINE_PAYMENT_BPLC','1','yesno','Syst<EFBFBD>me de gestion de la banque populaire de Lorraine');
|
||||||
|
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_THEME','dolibarr','chaine','theme principal');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_TITLE','Dolibarr','chaine','Titre des pages');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_RESIL','Votre adhesion sur %SERVEUR% vient d\'etre resilie.\r\nNous esperons vous revoir tres bientot','texte','Mail de Resiliation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_VALID','MAIN\r\nVotre adhesion vient d\'etre validee. \r\nVoici le rappel de vos coordonnees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l\'adresse suivante : \r\n%SERVEUR%public/adherents/','texte','Mail de validation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_EDIT','Voici le rappel des coordonnees que vous avez modifiees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l\'adresse suivante :\r\n%SERVEUR%public/adherents/','texte','Mail d\'edition');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_NEW','Merci de votre inscription. Votre adhesion devrait etre rapidement validee.\r\nVoici le rappel des coordonnees que vous avez rentrees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l\'adresse suivante :\r\n%SERVEUR%public/adherents/','texte','Mail de nouvel inscription');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_VALID_SUBJECT','Votre adh<64>sion a ete valid<69>e sur %SERVEUR%','chaine','sujet du mail de validation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_RESIL_SUBJECT','Resiliation de votre adhesion sur %SERVEUR%','chaine','sujet du mail de resiliation');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('SIZE_LISTE_LIMIT','50','chaine','Taille des listes');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_NEW_SUBJECT','Bienvenue sur %SERVEUR%','chaine','Sujet du mail de nouvelle adhesion');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_EDIT_SUBJECT','Votre fiche a ete editee sur %SERVEUR%','chaine','Sujet du mail d\'edition');
|
||||||
|
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_USE_MAILMAN','1','yesno','Utilisation de Mailman');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAILMAN_UNSUB_URL','http://lists.ipsyn.net/cgi-bin/mailman/handle_opts/%LISTE%/%EMAIL%?upw=%PASS%&unsub=Unsubscribe','chaine','Url de desinscription aux listes mailman');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAILMAN_URL','http://lists.ipsyn.net/cgi-bin/mailman/subscribe/%LISTE%/?email=%EMAIL%&pw=%PASS%&pw-conf=%PASS%','chaine','url pour les inscriptions mailman');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAILMAN_LISTS','test-test,test-test2','chaine','Listes auxquelles inscrire les nouveaux adherents');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_DEBUG','1','yesno','Debug ..');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_USE_GLASNOST','0','yesno','utilisation de glasnost ?');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_GLASNOST_SERVEUR','glasnost.j1b.org','chaine','serveur glasnost');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_GLASNOST_USER','user','chaine','Administrateur glasnost');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_GLASNOST_PASS','password','chaine','password de l\'administrateur');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_USE_GLASNOST_AUTO','1','yesno','inscription automatique a glasnost ?');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_USE_SPIP','1','yesno','Utilisation de SPIP ?');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_USE_SPIP_AUTO','1','yesno','Utilisation de SPIP automatiquement');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_SPIP_USER','user','chaine','user spip');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_SPIP_PASS','pass','chaine','Pass de connection');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_SPIP_SERVEUR','localhost','chaine','serveur spip');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_SPIP_DB','spip','chaine','db spip');
|
||||||
|
|
||||||
|
INSERT INTO llx_const(name, value, type) VALUES ('DB_NAME_OSC','catalog','chaine');
|
||||||
|
INSERT INTO llx_const(name, value, type) VALUES ('OSC_LANGUAGE_ID','1','chaine');
|
||||||
|
INSERT INTO llx_const(name, value, type) VALUES ('OSC_CATALOG_URL','http://osc.lafrere.lan/','chaine');
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MAIL_FROM','adherents@domain.com','chaine','From des mails');
|
||||||
|
|
||||||
|
INSERT INTO llx_const (name, value, type, note) VALUES ('MAIN_MENU_BARRETOP','default.php','chaine','Module commande');
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO llx_const (name, value, type, visible) VALUES ('MAIN_MODULE_COMMANDE','0','yesno',0);
|
||||||
|
INSERT INTO llx_const (name, value, type, visible) VALUES ('MAIN_MODULE_DON','0','yesno',0);
|
||||||
|
INSERT INTO llx_const (name, value, type, visible) VALUES ('MAIN_MODULE_ADHERENT','0','yesno',0);
|
||||||
|
|
||||||
|
INSERT INTO llx_const (name, value, type, visible) VALUES ('BOUTIQUE_LIVRE','0','yesno',0);
|
||||||
|
INSERT INTO llx_const (name, value, type, visible) VALUES ('BOUTIQUE_ALBUM','0','yesno',0);
|
||||||
|
|
||||||
delete from c_chargesociales;
|
delete from c_chargesociales;
|
||||||
insert into c_chargesociales (id,libelle,deductible) values ( 1, 'Allocations familiales',1);
|
insert into c_chargesociales (id,libelle,deductible) values ( 1, 'Allocations familiales',1);
|
||||||
|
|||||||
@@ -25,21 +25,15 @@
|
|||||||
create table actioncomm
|
create table actioncomm
|
||||||
(
|
(
|
||||||
id integer AUTO_INCREMENT PRIMARY KEY,
|
id integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
datea datetime, -- action date
|
datea datetime, -- action date
|
||||||
fk_action integer,
|
fk_action integer,
|
||||||
|
label varchar(50), -- libelle de l'action
|
||||||
label varchar(50), -- libelle de l'action
|
|
||||||
|
|
||||||
fk_soc integer,
|
fk_soc integer,
|
||||||
fk_contact integer default 0,
|
fk_contact integer default 0,
|
||||||
|
fk_user_action integer, -- id de la personne qui doit effectuer l'action
|
||||||
fk_user_action integer, -- id de la personne qui doit effectuer l'action
|
|
||||||
fk_user_author integer,
|
fk_user_author integer,
|
||||||
|
|
||||||
priority smallint,
|
priority smallint,
|
||||||
|
|
||||||
percent smallint,
|
percent smallint,
|
||||||
|
|
||||||
note text,
|
note text,
|
||||||
propalrowid integer,
|
propalrowid integer,
|
||||||
fk_facture integer
|
fk_facture integer
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
-- $Source$
|
-- $Source$
|
||||||
--
|
--
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Type :
|
-- Type :
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
-- $Source$
|
-- $Source$
|
||||||
--
|
--
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
--
|
||||||
-- statut
|
-- statut
|
||||||
-- 0 : non adherent
|
-- 0 : non adherent
|
||||||
-- 1 : adherent
|
-- 1 : adherent
|
||||||
@@ -43,10 +43,10 @@ create table llx_adherent
|
|||||||
ville varchar(50),
|
ville varchar(50),
|
||||||
pays varchar(50),
|
pays varchar(50),
|
||||||
email varchar(255),
|
email varchar(255),
|
||||||
login varchar(50), -- login utilise pour editer sa fiche
|
login varchar(50), -- login utilise pour editer sa fiche
|
||||||
pass varchar(50), -- pass utilise pour editer sa fiche
|
pass varchar(50), -- pass utilise pour editer sa fiche
|
||||||
naiss date, -- date de naissance
|
naiss date, -- date de naissance
|
||||||
photo varchar(255), -- url vers la photo de l'adherent
|
photo varchar(255), -- url vers la photo de l'adherent
|
||||||
fk_user_author integer NOT NULL,
|
fk_user_author integer NOT NULL,
|
||||||
fk_user_mod integer NOT NULL,
|
fk_user_mod integer NOT NULL,
|
||||||
fk_user_valid integer NOT NULL,
|
fk_user_valid integer NOT NULL,
|
||||||
|
|||||||
@@ -21,10 +21,6 @@
|
|||||||
--
|
--
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
-- statut
|
|
||||||
-- 0 : non adherent
|
|
||||||
-- 1 : adherent
|
|
||||||
|
|
||||||
create table llx_adherent_options
|
create table llx_adherent_options
|
||||||
(
|
(
|
||||||
optid integer AUTO_INCREMENT PRIMARY KEY,
|
optid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
-- $Source$
|
-- $Source$
|
||||||
--
|
--
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
--
|
||||||
-- statut
|
-- statut
|
||||||
-- 0 : actif
|
-- 0 : actif
|
||||||
-- 1 : inactif
|
-- 1 : inactif
|
||||||
|
|||||||
@@ -26,7 +26,5 @@ create table llx_auteur
|
|||||||
oscid integer NOT NULL,
|
oscid integer NOT NULL,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
nom varchar(32),
|
nom varchar(32),
|
||||||
|
|
||||||
fk_user_author integer
|
fk_user_author integer
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -27,19 +27,14 @@ create table llx_bank_account
|
|||||||
tms timestamp,
|
tms timestamp,
|
||||||
label varchar(30),
|
label varchar(30),
|
||||||
bank varchar(255),
|
bank varchar(255),
|
||||||
|
|
||||||
code_banque varchar(7),
|
code_banque varchar(7),
|
||||||
code_guichet varchar(6),
|
code_guichet varchar(6),
|
||||||
number varchar(255),
|
number varchar(255),
|
||||||
cle_rib varchar(5),
|
cle_rib varchar(5),
|
||||||
bic varchar(10),
|
bic varchar(10),
|
||||||
|
|
||||||
iban_prefix varchar(5),
|
iban_prefix varchar(5),
|
||||||
|
|
||||||
domiciliation varchar(50),
|
domiciliation varchar(50),
|
||||||
|
|
||||||
courant smallint default 0 not null,
|
courant smallint default 0 not null,
|
||||||
|
|
||||||
clos smallint default 0 not null
|
clos smallint default 0 not null
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
-- $Source$
|
-- $Source$
|
||||||
--
|
--
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
--
|
|
||||||
--
|
|
||||||
|
|
||||||
create table llx_boxes_def
|
create table llx_boxes_def
|
||||||
(
|
(
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,6 +15,8 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_cotisation
|
create table llx_cotisation
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -18,6 +15,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_domain
|
create table llx_domain
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,6 +15,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_don
|
create table llx_don
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,6 +15,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_don_projet
|
create table llx_don_projet
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ create table llx_editeur
|
|||||||
oscid integer NOT NULL,
|
oscid integer NOT NULL,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
nom varchar(32),
|
nom varchar(32),
|
||||||
|
|
||||||
fk_user_author integer
|
fk_user_author integer
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,6 +15,8 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_fa_pr
|
create table llx_fa_pr
|
||||||
|
|||||||
@@ -26,20 +26,13 @@ create table llx_fichinter
|
|||||||
fk_soc integer NOT NULL,
|
fk_soc integer NOT NULL,
|
||||||
fk_projet integer default 0, -- projet auquel est rattache la fiche
|
fk_projet integer default 0, -- projet auquel est rattache la fiche
|
||||||
ref varchar(30) NOT NULL, -- number
|
ref varchar(30) NOT NULL, -- number
|
||||||
|
|
||||||
datec datetime, -- date de creation
|
datec datetime, -- date de creation
|
||||||
date_valid datetime, -- date de validation
|
date_valid datetime, -- date de validation
|
||||||
|
|
||||||
datei date, -- date de l'intervention
|
datei date, -- date de l'intervention
|
||||||
|
fk_user_author integer, -- createur de la fiche
|
||||||
fk_user_author integer, -- createur de la fiche
|
fk_user_valid integer, -- valideur de la fiche
|
||||||
|
|
||||||
fk_user_valid integer, -- valideur de la fiche
|
|
||||||
|
|
||||||
fk_statut smallint default 0,
|
fk_statut smallint default 0,
|
||||||
|
|
||||||
duree real,
|
duree real,
|
||||||
|
|
||||||
note text,
|
note text,
|
||||||
|
|
||||||
UNIQUE INDEX (ref)
|
UNIQUE INDEX (ref)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,6 +15,8 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_paiement
|
create table llx_paiement
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,6 +15,8 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_pointmort
|
create table llx_pointmort
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
-- Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -18,6 +15,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
create table llx_projet
|
create table llx_projet
|
||||||
|
|||||||
@@ -25,22 +25,15 @@ create table llx_propal
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
fk_soc integer,
|
fk_soc integer,
|
||||||
fk_soc_contact integer,
|
fk_soc_contact integer,
|
||||||
fk_projet integer default 0, -- projet auquel est rattache la propale
|
fk_projet integer default 0, -- projet auquel est rattache la propale
|
||||||
ref varchar(30) NOT NULL, -- propal number
|
ref varchar(30) NOT NULL, -- propal number
|
||||||
|
|
||||||
datec datetime, -- date de creation
|
datec datetime, -- date de creation
|
||||||
date_valid datetime, -- date de validation
|
date_valid datetime, -- date de validation
|
||||||
date_cloture datetime, -- date de cloture
|
date_cloture datetime, -- date de cloture
|
||||||
|
|
||||||
datep date, -- date de la propal
|
datep date, -- date de la propal
|
||||||
|
fk_user_author integer, -- createur de la propale
|
||||||
fk_user_author integer, -- createur de la propale
|
fk_user_valid integer, -- valideur de la propale
|
||||||
|
fk_user_cloture integer, -- cloture de la propale signee ou non signee
|
||||||
fk_user_valid integer, -- valideur de la propale
|
|
||||||
|
|
||||||
fk_user_cloture integer, -- cloture de la propale signee ou non signee
|
|
||||||
|
|
||||||
|
|
||||||
fk_statut smallint default 0,
|
fk_statut smallint default 0,
|
||||||
price real default 0,
|
price real default 0,
|
||||||
remise real default 0,
|
remise real default 0,
|
||||||
|
|||||||
@@ -28,4 +28,4 @@ create table llx_soc_recontact
|
|||||||
fk_soc integer,
|
fk_soc integer,
|
||||||
datere datetime,
|
datere datetime,
|
||||||
author varchar(15)
|
author varchar(15)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,7 +24,6 @@ create table llx_transaction_bplc
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
|
|
||||||
ipclient varchar(20),
|
ipclient varchar(20),
|
||||||
num_transaction varchar(10),
|
num_transaction varchar(10),
|
||||||
date_transaction varchar(10),
|
date_transaction varchar(10),
|
||||||
@@ -30,7 +31,6 @@ create table llx_transaction_bplc
|
|||||||
num_autorisation varchar(10),
|
num_autorisation varchar(10),
|
||||||
cle_acceptation varchar(5),
|
cle_acceptation varchar(5),
|
||||||
code_retour integer,
|
code_retour integer,
|
||||||
|
|
||||||
ref_commande integer
|
ref_commande integer
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -18,6 +15,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_ventes
|
create table llx_ventes
|
||||||
|
|||||||
Reference in New Issue
Block a user