Ajout champs reglement

This commit is contained in:
Regis Houssin 2006-02-15 14:39:59 +00:00
parent b94f200912
commit c5a09e7f90
2 changed files with 31 additions and 26 deletions

View File

@ -29,3 +29,6 @@ ALTER TABLE llx_societe ADD cond_reglement INT( 11 ) DEFAULT '1' NOT NULL ;
alter table llx_product add gencode varchar(255) DEFAULT NULL; alter table llx_product add gencode varchar(255) DEFAULT NULL;
insert into llx_c_paiement (id,code,libelle,type,active) values (11,'PRO', 'Proforma', 2,1); insert into llx_c_paiement (id,code,libelle,type,active) values (11,'PRO', 'Proforma', 2,1);
alter table llx_commande add fk_cond_reglement int(11) DEFAULT NULL;
alter table llx_commande add fk_mode_reglement int(11) DEFAULT NULL;

View File

@ -48,5 +48,7 @@ create table llx_commande
note_public text, note_public text,
model_pdf varchar(50), model_pdf varchar(50),
facture tinyint default 0, facture tinyint default 0,
fk_cond_reglement integer, -- condition de réglement
fk_mode_reglement integer, -- mode de réglement
UNIQUE INDEX (ref) UNIQUE INDEX (ref)
)type=innodb; )type=innodb;