From cee20c14d72cf867c102053ac018625f1d053a14 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 16 May 2004 13:57:32 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20date=20de=20d=E9but=20et=20de?= =?UTF-8?q?=20fin=20optionnel=20pour=20les=20lignes=20de=20factures,=20uti?= =?UTF-8?q?lisable=20pour=20les=20services=20afin=20de=20d=E9finir=20la=20?= =?UTF-8?q?plage=20de=20date=20pour=20laquelle=20s'applique=20la=20facture?= =?UTF-8?q?,=20le=20client=20sait=20ainsi=20=E0=20quoi=20s'applique=20la?= =?UTF-8?q?=20facture.=20Cette=20date=20pourra=20=EAtre=20reprise=20comme?= =?UTF-8?q?=20valeur=20par=20d=E9faut=20pour=20les=20contrats=20de=20servi?= =?UTF-8?q?ce.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/1.1.0-1.2.0-RC1.sql | 3 +++ mysql/tables/llx_facturedet.sql | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mysql/migration/1.1.0-1.2.0-RC1.sql b/mysql/migration/1.1.0-1.2.0-RC1.sql index 47e8054d15e..e02ae19fb14 100644 --- a/mysql/migration/1.1.0-1.2.0-RC1.sql +++ b/mysql/migration/1.1.0-1.2.0-RC1.sql @@ -1,3 +1,6 @@ +alter table llx_facturedet add date_start date; +alter table llx_facturedet add date_end date; + alter table llx_user add egroupware_id integer; alter table llx_societe add siret varchar(14) after siren; alter table llx_societe add ape varchar(4) after siret; diff --git a/mysql/tables/llx_facturedet.sql b/mysql/tables/llx_facturedet.sql index 3b998e9943c..836afed372d 100644 --- a/mysql/tables/llx_facturedet.sql +++ b/mysql/tables/llx_facturedet.sql @@ -1,5 +1,6 @@ -- =================================================================== -- Copyright (C) 2001-2003 Rodolphe Quiedeville +-- Copyright (C) 2004 Laurent Destailleur -- -- 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 @@ -30,5 +31,7 @@ create table llx_facturedet remise_percent real default 0, -- pourcentage de remise remise real default 0, -- montant de la remise subprice real, -- prix avant remise - price real -- prix final + price real, -- prix final + date_start datetime, -- date debut si service + date_end datetime -- date fin si service )type=innodb;