';
diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 11aa81ece9f..9f3549b1afc 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -873,8 +873,8 @@ class Form
* \param selected Id user preselected
* \param htmlname Field name in form
* \param show_empty 0=liste sans valeur nulle, 1=ajoute valeur inconnue
- * \param disabled If select list must be disabled
- * \param exclude Liste des id utilisateurs à exclure
+ * \param exclude List of users id to exclude
+ * \param disabled If select list must be disabled
*/
function select_users($selected='',$htmlname='userid',$show_empty=0,$exclude='',$disabled=0)
{
diff --git a/htdocs/langs/en_US/trips.lang b/htdocs/langs/en_US/trips.lang
index 54f5c1ba8d3..d2786214591 100644
--- a/htdocs/langs/en_US/trips.lang
+++ b/htdocs/langs/en_US/trips.lang
@@ -5,6 +5,7 @@ TripsAndExpenses=Trips and expenses
TripCard=Trip card
AddTrip=Add trip
ListOfTrips=List of trips
+ListOfFees=List of fees
NewTrip=New trip
CompanyVisited=Company/fundation visited
Kilometers=Kilometers
diff --git a/htdocs/langs/fr_FR/trips.lang b/htdocs/langs/fr_FR/trips.lang
index 6fc7903d0ff..8752e32eb60 100644
--- a/htdocs/langs/fr_FR/trips.lang
+++ b/htdocs/langs/fr_FR/trips.lang
@@ -5,6 +5,7 @@ TripsAndExpenses=D
TripCard=Fiche déplacement
AddTrip=Ajouter déplacement
ListOfTrips=Liste des déplacements
+ListOfFees=Liste des notes de frais
NewTrip=Nouveau déplacement
CompanyVisited=Société/Institution visitée
Kilometers=Kilomètres
diff --git a/mysql/data/data.sql b/mysql/data/data.sql
index 1049b1bb8a5..376465d0f11 100644
--- a/mysql/data/data.sql
+++ b/mysql/data/data.sql
@@ -1371,6 +1371,13 @@ insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_LOW', '
insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_MEDIUM', 'Medium', 3);
insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_HIGH', 'High', 4);
+--
+-- Type fees
+--
+
+insert into llx_c_type_fees (code,libelle,active) values ('TF_OTHER', 'Other', 1);
+insert into llx_c_type_fees (code,libelle,active) values ('TF_TRIP', 'Trip', 1);
+insert into llx_c_type_fees (code,libelle,active) values ('TF_LUNCH', 'Lunch', 1);
INSERT INTO llx_const (name,value,type,visible,note) VALUES ('MAIN_AGENDA_ACTIONAUTO_COMPANY_CREATE','1','chaine',0,'');
diff --git a/mysql/migration/2.2.0-2.4.0.sql b/mysql/migration/2.2.0-2.4.0.sql
index 657d5830891..47b7af0a91c 100644
--- a/mysql/migration/2.2.0-2.4.0.sql
+++ b/mysql/migration/2.2.0-2.4.0.sql
@@ -313,3 +313,19 @@ ALTER TABLE llx_commande_fournisseurdet DROP COLUMN price;
alter table llx_adherent modify fk_user_mod integer;
alter table llx_adherent modify fk_user_valid integer;
+
+create table llx_c_type_fees
+(
+ id integer AUTO_INCREMENT PRIMARY KEY,
+ code varchar(12) UNIQUE NOT NULL,
+ libelle varchar(30),
+ active tinyint DEFAULT 1 NOT NULL
+)type=innodb;
+
+
+alter table llx_deplacement modify type varchar(12) NOT NULL;
+
+insert into llx_c_type_fees (code,libelle,active) values ('TF_OTHER', 'Other', 1);
+insert into llx_c_type_fees (code,libelle,active) values ('TF_TRIP', 'Trip', 1);
+insert into llx_c_type_fees (code,libelle,active) values ('TF_LUNCH', 'Lunch', 1);
+
diff --git a/mysql/tables/llx_c_type_fees.sql b/mysql/tables/llx_c_type_fees.sql
new file mode 100644
index 00000000000..6fc3a56beab
--- /dev/null
+++ b/mysql/tables/llx_c_type_fees.sql
@@ -0,0 +1,28 @@
+-- ========================================================================
+-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville
+-- Copyright (C) 2004 Laurent Destailleur
+--
+-- 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$
+-- ========================================================================
+
+create table llx_c_type_fees
+(
+ id integer AUTO_INCREMENT PRIMARY KEY,
+ code varchar(12) UNIQUE NOT NULL,
+ libelle varchar(30),
+ active tinyint DEFAULT 1 NOT NULL
+)type=innodb;
diff --git a/mysql/tables/llx_deplacement.sql b/mysql/tables/llx_deplacement.sql
index 1233d688172..1f86517142d 100644
--- a/mysql/tables/llx_deplacement.sql
+++ b/mysql/tables/llx_deplacement.sql
@@ -26,7 +26,7 @@ create table llx_deplacement
dated datetime,
fk_user integer NOT NULL,
fk_user_author integer,
- type smallint NOT NULL,
+ type varchar(12) NOT NULL,
km smallint,
fk_soc integer,
note text