From 2b12d8db7b6fd94026e691a80e794db88ae1a482 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 12 Jan 2005 13:36:30 +0000 Subject: [PATCH] Nouveau fichier --- .../llx_telephonie_client_stats_mensuel.sql | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 htdocs/telephonie/sql/llx_telephonie_client_stats_mensuel.sql diff --git a/htdocs/telephonie/sql/llx_telephonie_client_stats_mensuel.sql b/htdocs/telephonie/sql/llx_telephonie_client_stats_mensuel.sql new file mode 100644 index 00000000000..bb1a8d8f122 --- /dev/null +++ b/htdocs/telephonie/sql/llx_telephonie_client_stats_mensuel.sql @@ -0,0 +1,36 @@ +-- ======================================================================== +-- Copyright (C) 2004 Rodolphe Quiedeville +-- +-- 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_client_stats_mensuel ( + fk_client_comm integer NOT NULL, -- Client décideur + year smallint NOT NULL, + month smallint NOT NULL, + ca real, + gain real, + cout real, + marge real, + + UNIQUE INDEX(fk_client_comm, year, month) +)type=innodb; + +