This commit is contained in:
Rodolphe Quiedeville 2002-12-19 13:53:29 +00:00
parent 170b05e89a
commit 3e406067b8
4 changed files with 23 additions and 24 deletions

View File

@ -50,7 +50,7 @@ values ('02-12-YHGT',2,now(),'2002-12-01',1,1000,0,196,1196,1,NULL,NULL,'');
delete from llx_user; delete from llx_user;
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,admin,webcal_login) insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,admin,webcal_login)
values ('Quiedeville','Rodolphe','RQ','rodo','rodo',1,1,1,'rodo'); values ('Quiedeville','Rodolphe','RQ','rodo','CRnN0Tam/s7z.',1,1,1,'rodo');
insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login) insert into llx_user (name,firstname,code,login,pass,module_comm,module_compta,webcal_login)
values ('demo','demo','DEMO','demo','demo',1,0,'demo'); values ('demo','demo','DEMO','demo','demo',1,0,'demo');

View File

@ -23,9 +23,9 @@ create table llx_don
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp, tms timestamp,
statut smallint, -- etat du don promesse/valid fk_statut smallint NOT NULL DEFAULT 0,-- etat du don promesse/valid
datec datetime, datec datetime, -- date de création de l'enregistrement
datep datetime, -- payment date datedon datetime, -- date du don/promesse
amount real default 0, amount real default 0,
mode varchar(20), mode varchar(20),
nom varchar(255), nom varchar(255),
@ -36,5 +36,6 @@ create table llx_don
public smallint NOT NULL DEFAULT 1, -- le don est-il public (0,1) public smallint NOT NULL DEFAULT 1, -- le don est-il public (0,1)
fk_don_projet integer NOT NULL, -- projet auquel est fait le don fk_don_projet integer NOT NULL, -- projet auquel est fait le don
fk_user_author integer NOT NULL, fk_user_author integer NOT NULL,
fk_user_valid integer NOT NULL,
note text note text
); );

View File

@ -17,29 +17,25 @@
-- --
-- $Id$ -- $Id$
-- $Source$ -- $Source$
--
-- =========================================================================== -- ===========================================================================
create table llx_facture create table llx_facture
( (
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
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,
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
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_valid integer, -- valideur de la propale
note text, note text,
UNIQUE INDEX (facnumber) UNIQUE INDEX (facnumber)

View File

@ -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_facturedet create table llx_facturedet
@ -25,5 +26,6 @@ create table llx_facturedet
fk_product integer, fk_product integer,
datec datetime, datec datetime,
note varchar(255), note varchar(255),
price smallint price real default 0
); );