Ajout du mode de paiement proforma
This commit is contained in:
parent
02de198ab4
commit
814af28583
@ -550,6 +550,7 @@ insert into llx_c_paiement (id,code,libelle,type,active) values (7, 'CHQ', 'Ch
|
|||||||
insert into llx_c_paiement (id,code,libelle,type,active) values (8, 'TRA', 'Traite', 2,1);
|
insert into llx_c_paiement (id,code,libelle,type,active) values (8, 'TRA', 'Traite', 2,1);
|
||||||
insert into llx_c_paiement (id,code,libelle,type,active) values (9, 'LCR', 'LCR', 2,1);
|
insert into llx_c_paiement (id,code,libelle,type,active) values (9, 'LCR', 'LCR', 2,1);
|
||||||
insert into llx_c_paiement (id,code,libelle,type,active) values (10,'FAC', 'Factor', 2,1);
|
insert into llx_c_paiement (id,code,libelle,type,active) values (10,'FAC', 'Factor', 2,1);
|
||||||
|
insert into llx_c_paiement (id,code,libelle,type,active) values (11,'PRO', 'Proforma', 2,1);
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Pays
|
-- Pays
|
||||||
|
|||||||
@ -1,70 +1,72 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated from dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
--
|
--
|
||||||
-- 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
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
-- (at your option) any later version.
|
-- (at your option) any later version.
|
||||||
--
|
--
|
||||||
-- This program is distributed in the hope that it will be useful,
|
-- This program is distributed in the hope that it will be useful,
|
||||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
-- GNU General Public License for more details.
|
-- GNU General Public License for more details.
|
||||||
--
|
--
|
||||||
-- You should have received a copy of the GNU General Public License
|
-- You should have received a copy of the GNU General Public License
|
||||||
-- 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$
|
-- $Id$
|
||||||
-- $Source$
|
-- $Source$
|
||||||
--
|
--
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_societe
|
create table llx_societe
|
||||||
(
|
(
|
||||||
idp SERIAL PRIMARY KEY,
|
idp SERIAL PRIMARY KEY,
|
||||||
"id" varchar(32), -- private id
|
"id" varchar(32), -- private id
|
||||||
"active" smallint DEFAULT 0, --
|
"active" smallint DEFAULT 0, --
|
||||||
"parent" integer DEFAULT 0, --
|
"parent" integer DEFAULT 0, --
|
||||||
"tms" timestamp,
|
"tms" timestamp,
|
||||||
"datec" timestamp, -- creation date
|
"datec" timestamp, -- creation date
|
||||||
"datea" timestamp, -- activation date
|
"datea" timestamp, -- activation date
|
||||||
"nom" varchar(60), -- company name
|
"nom" varchar(60), -- company name
|
||||||
"code_client" varchar(15), -- code client
|
"code_client" varchar(15), -- code client
|
||||||
"code_fournisseur" varchar(15), -- code founisseur
|
"code_fournisseur" varchar(15), -- code founisseur
|
||||||
"code_compta" varchar(15), -- code compta client
|
"code_compta" varchar(15), -- code compta client
|
||||||
"code_compta_fournisseur" varchar(15), -- code compta founisseur
|
"code_compta_fournisseur" varchar(15), -- code compta founisseur
|
||||||
"address" varchar(255), -- company adresse
|
"address" varchar(255), -- company adresse
|
||||||
"cp" varchar(10), -- zipcode
|
"cp" varchar(10), -- zipcode
|
||||||
"ville" varchar(50), -- town
|
"ville" varchar(50), -- town
|
||||||
"fk_departement" integer DEFAULT 0, --
|
"fk_departement" integer DEFAULT 0, --
|
||||||
"fk_pays" integer DEFAULT 0, --
|
"fk_pays" integer DEFAULT 0, --
|
||||||
"tel" varchar(20), -- phone number
|
"tel" varchar(20), -- phone number
|
||||||
"fax" varchar(20), -- fax number
|
"fax" varchar(20), -- fax number
|
||||||
"url" varchar(255), --
|
"url" varchar(255), --
|
||||||
"fk_secteur" integer DEFAULT 0, --
|
"fk_secteur" integer DEFAULT 0, --
|
||||||
"fk_effectif" integer DEFAULT 0, --
|
"fk_effectif" integer DEFAULT 0, --
|
||||||
"fk_typent" integer DEFAULT 0, --
|
"fk_typent" integer DEFAULT 0, --
|
||||||
"fk_forme_juridique" integer DEFAULT 0, -- forme juridique INSEE
|
"fk_forme_juridique" integer DEFAULT 0, -- forme juridique INSEE
|
||||||
"siren" varchar(9), -- siren ou RCS
|
"siren" varchar(9), -- siren ou RCS
|
||||||
"siret" varchar(14), -- numero de siret
|
"siret" varchar(14), -- numero de siret
|
||||||
"ape" varchar(4), -- code ape
|
"ape" varchar(4), -- code ape
|
||||||
"tva_intra" varchar(20), -- tva intracommunautaire
|
"tva_intra" varchar(20), -- tva intracommunautaire
|
||||||
"capital" real, -- capital de la société
|
"capital" real, -- capital de la société
|
||||||
"description" text, --
|
"description" text, --
|
||||||
"fk_stcomm" smallint DEFAULT 0, -- commercial statut
|
"fk_stcomm" smallint DEFAULT 0, -- commercial statut
|
||||||
"note" text, --
|
"note" text, --
|
||||||
"services" integer DEFAULT 0, --
|
"services" integer DEFAULT 0, --
|
||||||
"prefix_comm" varchar(5), -- prefix commercial
|
"prefix_comm" varchar(5), -- prefix commercial
|
||||||
"client" integer DEFAULT 0, -- client oui/non
|
"client" integer DEFAULT 0, -- client oui/non
|
||||||
"fournisseur" smallint DEFAULT 0, -- fournisseur oui/non
|
"fournisseur" smallint DEFAULT 0, -- fournisseur oui/non
|
||||||
"rubrique" varchar(255), -- champ rubrique libre
|
"rubrique" varchar(255), -- champ rubrique libre
|
||||||
"fk_user_creat" integer, -- utilisateur qui a créé l'info
|
"fk_user_creat" integer, -- utilisateur qui a créé l'info
|
||||||
"fk_user_modif" integer, -- utilisateur qui a modifié l'info
|
"fk_user_modif" integer, -- utilisateur qui a modifié l'info
|
||||||
"remise_client" real DEFAULT 0 -- remise systématique pour le client
|
"remise_client" real DEFAULT 0, -- remise systématique pour le client
|
||||||
);
|
"mode_reglement" integer DEFAULT 0 , -- mode de réglement
|
||||||
|
"cond_reglement" integer DEFAULT 1 NOT NULL -- condition de réglement
|
||||||
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user