Synchro
This commit is contained in:
parent
9acb368a25
commit
4e25c75569
@ -25,6 +25,8 @@ create table llx_telephonie_client_stats (
|
|||||||
fk_client_comm integer NOT NULL, -- Client décideur
|
fk_client_comm integer NOT NULL, -- Client décideur
|
||||||
ca real,
|
ca real,
|
||||||
gain real,
|
gain real,
|
||||||
|
cout real,
|
||||||
|
marge real,
|
||||||
|
|
||||||
UNIQUE INDEX(fk_client_comm)
|
UNIQUE INDEX(fk_client_comm)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
@ -31,8 +31,6 @@ create table llx_telephonie_contrat (
|
|||||||
|
|
||||||
statut smallint DEFAULT 0,
|
statut smallint DEFAULT 0,
|
||||||
|
|
||||||
remise real DEFAULT 0,
|
|
||||||
note text,
|
|
||||||
fk_commercial_sign integer NOT NULL,
|
fk_commercial_sign integer NOT NULL,
|
||||||
fk_commercial_suiv integer NOT NULL,
|
fk_commercial_suiv integer NOT NULL,
|
||||||
|
|
||||||
@ -42,6 +40,8 @@ create table llx_telephonie_contrat (
|
|||||||
isfacturable enum('oui','non') DEFAULT 'oui',
|
isfacturable enum('oui','non') DEFAULT 'oui',
|
||||||
mode_paiement enum('vir','pre') DEFAULT 'pre',
|
mode_paiement enum('vir','pre') DEFAULT 'pre',
|
||||||
|
|
||||||
|
note text,
|
||||||
|
|
||||||
UNIQUE (ref)
|
UNIQUE (ref)
|
||||||
|
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
36
htdocs/telephonie/sql/llx_telephonie_contrat_service.sql
Normal file
36
htdocs/telephonie/sql/llx_telephonie_contrat_service.sql
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
-- ========================================================================
|
||||||
|
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
--
|
||||||
|
-- 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
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
|
-- ========================================================================
|
||||||
|
--
|
||||||
|
--
|
||||||
|
create table llx_telephonie_contrat_service (
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
fk_contrat integer NOT NULL,
|
||||||
|
fk_service integer NOT NULL,
|
||||||
|
montant real NOT NULL,
|
||||||
|
|
||||||
|
fk_user_creat integer NOT NULL,
|
||||||
|
date_creat datetime NOT NULL,
|
||||||
|
fk_user_modif integer,
|
||||||
|
date_modif datetime
|
||||||
|
)type=innodb;
|
||||||
|
|
||||||
|
|
||||||
@ -1,6 +1,33 @@
|
|||||||
|
-- ========================================================================
|
||||||
|
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
--
|
||||||
|
-- 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
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
|
-- ========================================================================
|
||||||
|
--
|
||||||
|
|
||||||
create table llx_telephonie_tarif (
|
create table llx_telephonie_tarif (
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
libelle varchar(255),
|
libelle varchar(255),
|
||||||
|
libelle_facture varchar(255),
|
||||||
|
libelle_fournisseur varchar(255),
|
||||||
|
mobile tinyint,
|
||||||
|
international tinyint
|
||||||
|
|
||||||
UNIQUE INDEX(libelle)
|
UNIQUE INDEX(libelle)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user