';
+ }
// TVA
$var=!$var;
@@ -964,6 +983,6 @@ else
$db->close();
-llxFooter('$Date$ - $Revision$');
+llxFooter('$Date: 2011/06/24 19:57:45 $ - $Revision: 1.92 $');
?>
\ No newline at end of file
diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index 30e9cf83d6c..888d2b5b259 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -25,7 +25,7 @@
* \file htdocs/admin/dict.php
* \ingroup setup
* \brief Page to administer data tables
- * \version $Id$
+ * \version $Id: dict.php,v 1.145 2011/06/25 09:50:56 eldy Exp $
*/
require("../main.inc.php");
@@ -123,7 +123,8 @@ $tabsql[5] = "SELECT c.rowid as rowid, c.code as code, c.civilite AS libelle, c.
$tabsql[6] = "SELECT a.id as rowid, a.code as code, a.libelle AS libelle, a.type, a.active, a.module, a.position FROM ".MAIN_DB_PREFIX."c_actioncomm AS a";
$tabsql[7] = "SELECT a.id as rowid, a.code as code, a.libelle AS libelle, a.deductible, p.code as pays_code, p.libelle as pays, a.fk_pays as pays_id, a.active FROM ".MAIN_DB_PREFIX."c_chargesociales AS a, ".MAIN_DB_PREFIX."c_pays as p WHERE a.fk_pays=p.rowid and p.active=1";
$tabsql[8] = "SELECT id as rowid, code, libelle, active FROM ".MAIN_DB_PREFIX."c_typent";
-$tabsql[9] = "SELECT code, code_iso, label as libelle, symbole, active FROM ".MAIN_DB_PREFIX."c_currencies";
+//$tabsql[9] = "SELECT code, code_iso, label as libelle, symbole, active FROM ".MAIN_DB_PREFIX."c_currencies";
+$tabsql[9] = "SELECT code, code_iso, label as libelle, active FROM ".MAIN_DB_PREFIX."c_currencies";
$tabsql[10]= "SELECT t.rowid, t.taux, t.localtax1, t.localtax2, p.libelle as pays, p.code as pays_code, t.fk_pays as pays_id, t.recuperableonly, t.note, t.active FROM ".MAIN_DB_PREFIX."c_tva as t, llx_c_pays as p WHERE t.fk_pays=p.rowid";
$tabsql[11]= "SELECT t.rowid as rowid, element, source, code, libelle, active FROM ".MAIN_DB_PREFIX."c_type_contact AS t";
$tabsql[12]= "SELECT c.rowid as rowid, code, sortorder, c.libelle, c.libelle_facture, nbjour, fdm, decalage, active FROM ".MAIN_DB_PREFIX.'c_payment_term AS c';
@@ -171,7 +172,8 @@ $tabfield[5] = "code,libelle";
$tabfield[6] = "code,libelle,type,position";
$tabfield[7] = "code,libelle,pays_id,pays,deductible";
$tabfield[8] = "code,libelle";
-$tabfield[9] = "code,code_iso,libelle,symbole";
+//$tabfield[9] = "code,code_iso,libelle,symbole";
+$tabfield[9] = "code,code_iso,libelle";
$tabfield[10]= "pays_id,pays,taux,recuperableonly,localtax1,localtax2,note";
$tabfield[11]= "element,source,code,libelle";
$tabfield[12]= "code,libelle,libelle_facture,nbjour,fdm,decalage";
@@ -195,7 +197,8 @@ $tabfieldvalue[5] = "code,libelle";
$tabfieldvalue[6] = "code,libelle,type,position";
$tabfieldvalue[7] = "code,libelle,pays,deductible";
$tabfieldvalue[8] = "code,libelle";
-$tabfieldvalue[9] = "code,code_iso,libelle,symbole";
+//$tabfieldvalue[9] = "code,code_iso,libelle,symbole";
+$tabfieldvalue[9] = "code,code_iso,libelle";
$tabfieldvalue[10]= "pays,taux,recuperableonly,localtax1,localtax2,note";
$tabfieldvalue[11]= "element,source,code,libelle";
$tabfieldvalue[12]= "code,libelle,libelle_facture,nbjour,fdm,decalage";
@@ -219,7 +222,8 @@ $tabfieldinsert[5] = "code,civilite";
$tabfieldinsert[6] = "code,libelle,type,position";
$tabfieldinsert[7] = "code,libelle,fk_pays,deductible";
$tabfieldinsert[8] = "code,libelle";
-$tabfieldinsert[9] = "code,code_iso,label,symbole";
+//$tabfieldinsert[9] = "code,code_iso,label,symbole";
+$tabfieldinsert[9] = "code,code_iso,label";
$tabfieldinsert[10]= "fk_pays,taux,recuperableonly,localtax1,localtax2,note";
$tabfieldinsert[11]= "element,source,code,libelle";
$tabfieldinsert[12]= "code,libelle,libelle_facture,nbjour,fdm,decalage";
@@ -893,7 +897,7 @@ print ' ';
$db->close();
-llxFooter('$Date$ - $Revision$');
+llxFooter('$Date: 2011/06/25 09:50:56 $ - $Revision: 1.145 $');
/**
diff --git a/htdocs/install/mysql/migration/3.0.0-3.1.0.sql b/htdocs/install/mysql/migration/3.0.0-3.1.0.sql
index fdea2eb6b64..bb02b518029 100755
--- a/htdocs/install/mysql/migration/3.0.0-3.1.0.sql
+++ b/htdocs/install/mysql/migration/3.0.0-3.1.0.sql
@@ -1,5 +1,5 @@
--
--- $Id$
+-- $Id: 3.0.0-3.1.0.sql,v 1.73 2011/06/25 09:50:56 eldy Exp $
--
-- Be carefull to requests order.
-- This file must be loaded by calling /install/index.php page
@@ -27,7 +27,7 @@ ALTER TABLE llx_c_actioncomm ADD COLUMN position integer NOT NULL DEFAULT 0;
ALTER TABLE llx_propal ADD COLUMN fk_demand_reason integer NULL DEFAULT 0;
ALTER TABLE llx_commande_fournisseur ADD COLUMN fk_cond_reglement integer NULL DEFAULT 0;
ALTER TABLE llx_commande_fournisseur ADD COLUMN fk_mode_reglement integer NULL DEFAULT 0;
-ALTER TABLE llx_c_currencies ADD COLUMN symbole varchar(3) NOT NULL ;
+--ALTER TABLE llx_c_currencies ADD COLUMN symbole varchar(3) NOT NULL default '';
ALTER TABLE llx_commande_fournisseur MODIFY model_pdf varchar(255);
ALTER TABLE llx_commande MODIFY model_pdf varchar(255);
diff --git a/htdocs/langs/ca_ES/companies.lang b/htdocs/langs/ca_ES/companies.lang
index 22aafc18fd1..77e2e4adb78 100644
--- a/htdocs/langs/ca_ES/companies.lang
+++ b/htdocs/langs/ca_ES/companies.lang
@@ -93,11 +93,12 @@ ProfId1Short=Prof. id 1
ProfId2Short=Prof. id 2
ProfId3Short=Prof. id 3
ProfId4Short=Prof. id 4
+ProfId5Short=Prof. id 5
ProfId1=ID profesional 1
ProfId2=ID profesional 2
ProfId3=ID profesional 3
ProfId4=ID profesional 4
-TrainerId=Nº acreditació de formació
+ProfId5=ID profesional 5
ProfId1AR=CUIT/CUIL
ProfId2AR=Ingressos bruts
ProfId3AR=-
diff --git a/htdocs/langs/ca_ES/install.lang b/htdocs/langs/ca_ES/install.lang
index df43be1d605..c3ac01b7081 100644
--- a/htdocs/langs/ca_ES/install.lang
+++ b/htdocs/langs/ca_ES/install.lang
@@ -132,7 +132,7 @@ BecauseConnectionFailedParametersMayBeWrong=La connexió falla, els paràmetres
OrphelinsPaymentsDetectedByMethod=Pagaments orfes detectats pel mètode %s
RemoveItManuallyAndPressF5ToContinue=Esborreu manualment i premeu F5 per continuar.
KeepDefaultValuesWamp=Està utilitzant l'assistent d'instal·lació DoliWamp, els valors proposats aquí estan optimitzats. Canviels només si està segur d'això.
-KeepDefaultValuesDeb=Està utilitzant l'assistent d'instal·lació Dolibarr d'un paquet d'Ubuntu o Debian, els valors proposats per als paràmetres ja estan optimitzats. Només serà necessària la contrasenya del propietari de la base de dades a crear. Canvie l'altra informació només si està segur d'això.
+KeepDefaultValuesDeb=Està utilitzant l'assistent d'instal·lació Dolibarr d'un paquet Linux o BSD (Ubuntu, Debian, Fedora...), els valors proposats per als paràmetres ja estan optimitzats. Només serà necessària la contrasenya del propietari de la base de dades a crear. Canvie l'altra informació només si està segur d'això.
KeepDefaultValuesMamp=Està utilitzant l'assistent d'instal·lació DoliMamp, els valors proposats aquí estan optimitzats. Canviels només si està segur d'això.
KeepDefaultValuesProxmox=Està utilitzant l'assistent d'instal·lació Dolibarr des d'una màquina virtual Proxmox, els valors proposats aquí estan optimitzats. Canviels només si està segur d'això.
FieldRenamed=Camp renombrat
diff --git a/htdocs/langs/en_US/boxes.lang b/htdocs/langs/en_US/boxes.lang
index 671f1364fbf..fff4533052b 100644
--- a/htdocs/langs/en_US/boxes.lang
+++ b/htdocs/langs/en_US/boxes.lang
@@ -44,12 +44,14 @@ BoxTitleCurrentAccounts=Current account's balances
BoxTitleSalesTurnover=Sales turnover
BoxTitleTotalUnpaidCustomerBills=Unpaid customer's invoices
BoxTitleTotalUnpaidSuppliersBills=Unpaid supplier's invoices
+BoxTitleLastModifiedContacts=Last %s modified contacts/addresses
BoxMyLastBookmarks=My last %s bookmarks
FailedToRefreshDataInfoNotUpToDate=Failed to refresh RSS flux. Last successfull refresh date: %s
LastRefreshDate=Last refresh date
NoRecordedBookmarks=No bookmarks defined.
ClickToAdd=Click here to add.
NoRecordedCustomers=No recorded customers
+NoRecordedContacts=No recorded contacts
BoxTitleLastActionsToDo=Last %s actions to do
BoxTitleLastContracts=Last %s contracts
NoActionsToDo=No actions to do
diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang
index 4effc8dc465..2abf8796bcd 100644
--- a/htdocs/langs/en_US/install.lang
+++ b/htdocs/langs/en_US/install.lang
@@ -131,7 +131,7 @@ BecauseConnectionFailedParametersMayBeWrong=As connection failed, host or super
OrphelinsPaymentsDetectedByMethod=Orphans payment detected by method %s
RemoveItManuallyAndPressF5ToContinue=Remove it manually and press F5 to continue.
KeepDefaultValuesWamp=You use the Dolibarr setup wizard from DoliWamp, so values proposed here are already optimized. Change them only if you know what you do.
-KeepDefaultValuesDeb=You use the Dolibarr setup wizard from an Ubuntu or Debian package, so values proposed here are already optimized. Only the password of the database owner to create must be completed. Change other parameters only if you know what you do.
+KeepDefaultValuesDeb=You use the Dolibarr setup wizard from a Linux package (Ubuntu, Debian, Fedora...), so values proposed here are already optimized. Only the password of the database owner to create must be completed. Change other parameters only if you know what you do.
KeepDefaultValuesMamp=You use the Dolibarr setup wizard from DoliMamp, so values proposed here are already optimized. Change them only if you know what you do.
KeepDefaultValuesProxmox=You use the Dolibarr setup wizard from a Proxmox virtual appliance, so values proposed here are already optimized. Change them only if you know what you do.
FieldRenamed=Field renamed
diff --git a/htdocs/langs/es_ES/companies.lang b/htdocs/langs/es_ES/companies.lang
index e1fdb8d248f..e6e83dca277 100644
--- a/htdocs/langs/es_ES/companies.lang
+++ b/htdocs/langs/es_ES/companies.lang
@@ -93,7 +93,7 @@ ProfId1Short=Prof. id 1
ProfId2Short=Prof. id 2
ProfId3Short=Prof. id 3
ProfId4Short=Prof. id 4
-TrainerId=Nº acreditación de formación
+ProfId5Short=Prof. id 5
ProfId1AR=CUIT/CUIL
ProfId2AR=Ingresos brutos
ProfId3AR=-
@@ -102,6 +102,7 @@ ProfId1=ID profesional 1
ProfId2=ID profesional 2
ProfId3=ID profesional 3
ProfId4=ID profesional 4
+ProfId5=ID profesional 5
ProfId1AU=ABN
ProfId2AU=-
ProfId3AU=-
diff --git a/htdocs/langs/es_ES/install.lang b/htdocs/langs/es_ES/install.lang
index 926e9bdc380..6f49cc9c974 100644
--- a/htdocs/langs/es_ES/install.lang
+++ b/htdocs/langs/es_ES/install.lang
@@ -132,7 +132,7 @@ BecauseConnectionFailedParametersMayBeWrong=La conexión falla, los parámetros
OrphelinsPaymentsDetectedByMethod=Pagos huérfanos detectados por el método %s
RemoveItManuallyAndPressF5ToContinue=Suprimalo manualmente y pulse F5 para continuar.
KeepDefaultValuesWamp=Está utilizando el asistente de instalación DoliWamp, los valores propuestos aquí están optimizados. Cambielos solamente si está seguro de ello.
-KeepDefaultValuesDeb=Está utilizando el asistente de instalación Dolibarr de un paquete de Ubuntu o Debian, los valores propuestos aquí están optimizados. Sólo será necesaria la contraseña del propietario de la base de datos a crear. Cambie la otra información sólamente si está seguro de ello.
+KeepDefaultValuesDeb=Está utilizando el asistente de instalación Dolibarr de un paquete Linux/BSD (Ubuntu, Debian, Fedora...), los valores propuestos aquí están optimizados. Sólo será necesaria la contraseña del propietario de la base de datos a crear. Cambie la otra información sólamente si está seguro de ello.
KeepDefaultValuesMamp=Está utilizando el asistente de instalación DoliMamp, los valores propuestos aquí están optimizados. Cambielos solamente si está seguro de ello.
KeepDefaultValuesProxmox=Está utilizando el asistente de instalación Dolibarr desde una máquina virtual Proxmox, los valores propuestos aquí están optimizados. Cambielos solamente si está seguro de ello.
FieldRenamed=Campo renombrado
diff --git a/htdocs/langs/fr_FR/boxes.lang b/htdocs/langs/fr_FR/boxes.lang
index efa386120c4..c8843ec7f78 100644
--- a/htdocs/langs/fr_FR/boxes.lang
+++ b/htdocs/langs/fr_FR/boxes.lang
@@ -51,6 +51,7 @@ LastRefreshDate=Date dernier rafraichissement
NoRecordedBookmarks=Pas de bookmarks personnels.
ClickToAdd=Cliquer ici pour ajouter.
NoRecordedCustomers=Pas de client enregistré
+NoRecordedContacts=Pas de contact enregistré
BoxTitleLastActionsToDo=Les %s derniers événements à réaliser
BoxTitleLastContracts=Les %s derniers contrats
NoActionsToDo=Pas d'événements à réaliser
diff --git a/htdocs/langs/fr_FR/companies.lang b/htdocs/langs/fr_FR/companies.lang
index e2187509027..392af21458f 100644
--- a/htdocs/langs/fr_FR/companies.lang
+++ b/htdocs/langs/fr_FR/companies.lang
@@ -93,11 +93,12 @@ ProfId1Short=Id prof. 1
ProfId2Short=Id prof. 2
ProfId3Short=Id prof. 3
ProfId4Short=Id prof. 4
+ProfId5Short=Id prof. 5
ProfId1=Id professionnel 1
ProfId2=Id professionnel 2
ProfId3=Id professionnel 3
ProfId4=Id professionnel 4
-TrainerId=N° d'accréditation formation
+ProfId5=Id professionnel 5
ProfId1AR=Id prof. 1 (CUIT/CUIL)
ProfId2AR=Id prof. 2 (Revenu brutes)
ProfId3AR=-
@@ -130,6 +131,7 @@ ProfId1FR=Id prof. 1 (SIREN)
ProfId2FR=Id prof. 2 (SIRET)
ProfId3FR=Id prof. 3 (NAF, ex APE)
ProfId4FR=Id prof. 4 (RCS/RM)
+ProfId5FR=Id prof. 5
ProfId1GB=Id prof. 1 (Registration Number)
ProfId2GB=-
ProfId3GB=Id prof. 3 (SIC)
diff --git a/htdocs/langs/fr_FR/install.lang b/htdocs/langs/fr_FR/install.lang
index b70025dc003..ae12b68a6a7 100644
--- a/htdocs/langs/fr_FR/install.lang
+++ b/htdocs/langs/fr_FR/install.lang
@@ -132,7 +132,7 @@ BecauseConnectionFailedParametersMayBeWrong=La connexion ayant échoué, les par
OrphelinsPaymentsDetectedByMethod=Paiement orphelins détectés par la méthode %s
RemoveItManuallyAndPressF5ToContinue=Supprimez le manuellement et appuyez sur F5 pour continuer.
KeepDefaultValuesWamp=Comme vous utilisez l'assistant d'installation Dolibarr depuis DoliWamp, les valeurs proposées aux paramètres sont déjà optimisées. Ne les modifier qu'en connaissance de cause.
-KeepDefaultValuesDeb=Comme vous utilisez l'assistant d'installation Dolibarr depuis un package Ubuntu ou Debian, les valeurs proposées aux paramètres sont déjà optimisées. Seul le mot de passe du propriétaire de la base de données à créer est à renseigner. Ne modifiez les autres informations qu'en connaissance de cause.
+KeepDefaultValuesDeb=Comme vous utilisez l'assistant d'installation Dolibarr depuis un package Linux/BSD (Ubuntu, Debian, Fedora, ...), les valeurs proposées aux paramètres sont déjà optimisées. Seul le mot de passe du propriétaire de la base de données à créer est à renseigner. Ne modifiez les autres informations qu'en connaissance de cause.
KeepDefaultValuesMamp=Comme vous utilisez l'assistant d'installation Dolibarr depuis DoliMamp, les valeurs proposées aux paramètres sont déjà optimisées. Ne les modifiez qu'en connaissance de cause.
KeepDefaultValuesProxmox=Comme vous utilisez l'assistant d'installation Dolibarr depuis une machine virtuelle Proxmox, les valeurs proposées aux paramètres sont déjà optimisées. Ne les modifiez qu'en connaissance de cause.
FieldRenamed=Champ renommé
diff --git a/htdocs/projet/class/task.class.php b/htdocs/projet/class/task.class.php
index 28f3f1b31e1..00c12c6a6d5 100644
--- a/htdocs/projet/class/task.class.php
+++ b/htdocs/projet/class/task.class.php
@@ -21,7 +21,7 @@
* \file htdocs/projet/class/task.class.php
* \ingroup project
* \brief This file is a CRUD class file for Task (Create/Read/Update/Delete)
- * \version $Id$
+ * \version $Id: task.class.php,v 1.11 2011/06/25 10:55:11 eldy Exp $
* \remarks Initialy built by build_class_from_table on 2008-09-10 12:41
*/
@@ -469,7 +469,7 @@ class Task extends CommonObject
// List of tasks (does not care about permissions. Filtering will be done later)
$sql = "SELECT p.rowid as projectid, p.ref, p.title as plabel, p.public,";
- $sql.= " t.rowid as taskid, t.label, t.fk_task_parent, t.duration_effective, t.progress,";
+ $sql.= " t.rowid as taskid, t.label, t.description, t.fk_task_parent, t.duration_effective, t.progress,";
$sql.= " t.dateo as date_start, t.datee as date_end";
if ($mode == 0)
{