From 65346bb6e53723fa45bedac8834cdf428fedd106 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 14 Sep 2006 19:17:40 +0000 Subject: [PATCH] =?UTF-8?q?D=E9but=20correction=20sur=20les=20factures=20r?= =?UTF-8?q?=E9currentes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/2.0.0-2.1.0.sql | 6 +++++- mysql/tables/llx_facturedet_rec.sql | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 81ebad1b369..d06cc8fd288 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -435,4 +435,8 @@ create table llx_accountingdebcred fk_account integer NOT NULL, amount real NOT NULL, direction varchar(1) NOT NULL -)type=innodb; \ No newline at end of file +)type=innodb; + +alter table llx_facturedet_rec add column total_ht real; +alter table llx_facturedet_rec add column total_tva real; +alter table llx_facturedet_rec add column total_ttc real; \ No newline at end of file diff --git a/mysql/tables/llx_facturedet_rec.sql b/mysql/tables/llx_facturedet_rec.sql index 8961dbe74cd..d37f290591a 100644 --- a/mysql/tables/llx_facturedet_rec.sql +++ b/mysql/tables/llx_facturedet_rec.sql @@ -30,5 +30,8 @@ create table llx_facturedet_rec 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 + total_ht real, -- Total HT de la ligne toute quantité et incluant remise ligne et globale + total_tva real, -- Total TVA de la ligne toute quantité et incluant remise ligne et globale + total_ttc real -- Total TTC de la ligne toute quantité et incluant remise ligne et globale )type=innodb;