New: Toutes les entites (contrat, facture, propal, commande) possde un chanp note (non affich sur PDF) et un champ note public (affich sur PDF)

This commit is contained in:
Laurent Destailleur 2006-02-12 13:52:18 +00:00
parent cce7796626
commit 635dd0a2df
5 changed files with 18 additions and 2 deletions

View File

@ -11,4 +11,15 @@ create table llx_commande_model_pdf
nom varchar(50) PRIMARY KEY,
libelle varchar(255),
description text
)type=innodb;
)type=innodb;
alter table llx_commande add column note_public text after note;
alter table llx_contrat add column note text;
alter table llx_contrat add column note_public text after note;
alter table llx_facture add column note_public text after note;
alter table llx_propal add column note_public text after note;

View File

@ -45,6 +45,7 @@ create table llx_commande
total_ht real default 0,
total_ttc real default 0,
note text,
note_public text,
model_pdf varchar(50),
facture tinyint default 0,
UNIQUE INDEX (ref)

View File

@ -38,6 +38,8 @@ create table llx_contrat
fk_commercial_suivi integer NOT NULL, -- obsolete
fk_user_author integer NOT NULL default 0,
fk_user_mise_en_service integer,
fk_user_cloture integer
fk_user_cloture integer,
note text,
note_public text
)type=innodb;

View File

@ -49,6 +49,7 @@ create table llx_facture
date_lim_reglement date, -- date limite de reglement
note text,
note_public text,
model varchar(50),
UNIQUE INDEX (facnumber)

View File

@ -47,6 +47,7 @@ create table llx_propal
fk_mode_reglement integer, -- mode de reglement (Virement, Prélèvement)
note text,
note_public text,
model_pdf varchar(50),
UNIQUE INDEX (ref)