diff --git a/build/aps/APP-META.xml b/build/aps/APP-META.xml new file mode 100755 index 00000000000..f4c877aa961 --- /dev/null +++ b/build/aps/APP-META.xml @@ -0,0 +1,119 @@ + + + +http://www.dolibarr.org/ +Dolibarr +__VERSION__ +__RELEASE__ +http://www.dolibarr.org/ + +Dolibarr +http://www.dolibarr.org/ + + + +Parallels +http://parallels.com +uuid:714f0a7b-85d6-4eb8-b68e-40f9acbb3103 + + +Dolibarr ERP - CRM, the easy to use software to manage small or medium companies, freelancers or foundations + +Dolibarr is a free modular software (you see only features you need) to manage small and medium companies, freelancers or foundations. +This Opensource software is designed to provide all features you need to manage information on many aspects of your business +into an intuitive and user-friendly graphical interface +It's an OpenSource software you can install on a web server or as a standalone software. Dolibarr is designed to provide simplicity: +* Simple to use (any module can be disabled to removed not required features, only the permissions features can not be disabled). +* Simple to install (with DoliWamp the auto-installer for Windows, DoliBuntu, the auto-installer for Ubuntu/Debian or DoliMamp the auto-installer for Mac OS X, for those who do not know how to install an Apache server, MySQL, PHP. A web assistant is available for others, no additional components required, no Java, no Python, no Perl, no PEARL PHP modules, no other exotic library). +* Simple for development (no heavy frameworks). Dolibarr, developed in PHP object, incorporates its own natural code, allowing every developer to be immediately operational, with no other knowledge than PHP). + + + +Screenshot 1 + + + +See http://www.dolibarr.org/files/ChangeLog + + + +Back office/Customer Relationship Management + + +en +fr +es +de +pt + + + + + + + + +GPLv2 +COPYING + + + +Dolibarr instance + + +Application entry point + + + + + + +Administrator's preferences + +Administrator's login +Please make sure the text you entered +starts with a letter and continues with either numbers, +letters, underscores or hyphens. + + +Password + + + + + + +mysql +mbstring +false + +main +dolibarr +false +mysql +4.1.0 + + + + + +dolibarr +35000000 + + +php + + + + + +php + + + + \ No newline at end of file diff --git a/build/aps/configure b/build/aps/configure new file mode 100755 index 00000000000..365aec19b82 --- /dev/null +++ b/build/aps/configure @@ -0,0 +1 @@ +# This script will be invoked when application instance is to be setup \ No newline at end of file diff --git a/build/makepack-dolibarr.pl b/build/makepack-dolibarr.pl index b6424ee616c..ea265d1c0d4 100644 --- a/build/makepack-dolibarr.pl +++ b/build/makepack-dolibarr.pl @@ -2,7 +2,7 @@ #---------------------------------------------------------------------------- # \file build/makepack-dolibarr.pl # \brief Dolibarr package builder (tgz, zip, rpm, deb, exe) -# \version $Id$ +# \version $Id: makepack-dolibarr.pl,v 1.103 2011/06/24 23:10:52 eldy Exp $ # \author (c)2004-2011 Laurent Destailleur #---------------------------------------------------------------------------- @@ -14,14 +14,14 @@ $MINOR="1"; $BUILD="0-dev"; # Mettre x pour release, x-dev pour dev, x-beta pour beta, x-rc pour release candidate $RPMSUBVERSION="auto"; # auto use value found into BUILD -@LISTETARGET=("TGZ","ZIP","RPM","DEB","EXE","EXEDOLIWAMP","SNAPSHOT"); # Possible packages +@LISTETARGET=("TGZ","ZIP","RPM","DEB","APS","EXEDOLIWAMP","SNAPSHOT"); # Possible packages %REQUIREMENTTARGET=( # Tool requirement for each package "SNAPSHOT"=>"tar", "TGZ"=>"tar", "ZIP"=>"7z", "RPM"=>"rpmbuild", "DEB"=>"dpkg", -"EXE"=>"makensis.exe", +"APS"=>"zip", "EXEDOLIWAMP"=>"iscc.exe" ); %ALTERNATEPATH=( @@ -35,7 +35,7 @@ $FILENAMETGZ="$PROJECT-$MAJOR.$MINOR.$BUILD"; $FILENAMEZIP="$PROJECT-$MAJOR.$MINOR.$BUILD"; $FILENAMERPM="$PROJECT-$MAJOR.$MINOR.$BUILD-$RPMSUBVERSION"; $FILENAMEDEB="$PROJECT-$MAJOR.$MINOR.$BUILD"; -$FILENAMEEXE="$PROJECT-$MAJOR.$MINOR.$BUILD"; +$FILENAMEAPS="$PROJECT-$MAJOR.$MINOR.$BUILD.app"; $FILENAMEEXEDOLIWAMP="$PROJECT-$MAJOR.$MINOR.$BUILD"; if (-d "/usr/src/redhat") { # redhat @@ -48,7 +48,7 @@ if (-d "/usr/src/RPM") { use vars qw/ $REVISION $VERSION /; -$REVISION='$Revision$'; $REVISION =~ /\s(.*)\s/; $REVISION=$1; +$REVISION='$Revision: 1.103 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1; $VERSION="1.0 (build $REVISION)"; @@ -460,7 +460,6 @@ if ($nboftargetok) { $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/usr/share/$PROJECT/htdocs/conf/conf*sav*`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/usr/share/$PROJECT/test`; # To remove once stable - $ret=`rm -f $BUILDROOT/$PROJECT.tmp/usr/share/$PROJECT/htdocs/incluces/modules/facture/doc/doc_generic_invoice_odt.modules.php`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/usr/share/$PROJECT/htdocs/htdocs/theme/bureau2crea`; print "Edit version in file $BUILDROOT/$PROJECT.tmp/DEBIAN/control\n"; @@ -539,19 +538,81 @@ if ($nboftargetok) { next; } - if ($target eq 'EXE') { - print "Remove target $FILENAMEEXE.exe...\n"; - unlink "$DESTI/$FILENAMEEXE.exe"; + if ($target eq 'APS') { + print "Remove target $FILENAMEAPS.zip...\n"; + unlink "$DESTI/$FILENAMEAPS.zip"; - print "Compress into $FILENAMEEXE.exe by $FILENAMEEXE.nsi...\n"; - $cmd="\"$REQUIREMENTTARGET{$target}\" /DMUI_VERSION_DOT=$MAJOR.$MINOR.$BUILD /X\"SetCompressor bzip2\" \"$SOURCE\\build\\exe\\$FILENAME.nsi\""; - print "$cmd\n"; - $ret=`$cmd`; - print "Move $FILENAMEEXE.exe to $DESTI\n"; - rename("$SOURCE\\build\\exe\\$FILENAMEEXE.exe","$DESTI/$FILENAMEEXE.exe"); - next; + #rmdir "$BUILDROOT/$PROJECT.tmp"; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp`; + print "Create directory $BUILDROOT/$PROJECT.tmp\n"; + $ret=`mkdir -p "$BUILDROOT/$PROJECT.tmp"`; + print "Copy $BUILDROOT/$PROJECT to $BUILDROOT/$PROJECT.tmp\n"; + $cmd="cp -pr \"$BUILDROOT/$PROJECT\" \"$BUILDROOT/$PROJECT.tmp\""; + $ret=`$cmd`; + + print "Remove other files\n"; + $ret=`rm -f $BUILDROOT/$PROJECT.tmp/build/DoliWamp-*`; + $ret=`rm -f $BUILDROOT/$PROJECT.tmp/build/DoliMamp-*`; + $ret=`rm -f $BUILDROOT/$PROJECT.tmp/build/dolibarr-*.tar`; + $ret=`rm -f $BUILDROOT/$PROJECT.tmp/build/dolibarr-*.tgz`; + $ret=`rm -f $BUILDROOT/$PROJECT.tmp/build/dolibarr-*.zip`; + $ret=`rm -f $BUILDROOT/$PROJECT.tmp/build/dolibarr-*.deb`; + $ret=`rm -f $BUILDROOT/$PROJECT.tmp/build/doxygen/doxygen_warnings.log`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/build/html`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/dbmodel`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/fpdf`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/initdata`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/iso-normes`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/phpcheckstyle`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/phpunit`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/spec`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/uml`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/dev/xdebug`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/doc/flyer`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/doc/font`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/doc/tshirt`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/doc/rollup`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/conf/conf.php.mysql`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/conf/conf.php.old`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/conf/conf.php.postgres`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/conf/conf*sav*`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/test`; + + print "Create APS files\n"; + $cmd="cp -pr \"$BUILDROOT/$PROJECT/build/aps/APP-META.xml\" \"$BUILDROOT/$PROJECT.tmp/$PROJECT/APP-META.xml\""; + $ret=`$cmd`; + $cmd="cp -pr \"$BUILDROOT/$PROJECT/build/aps/configure\" \"$BUILDROOT/$PROJECT.tmp/$PROJECT/scripts/configure\""; + $ret=`$cmd`; + $cmd="cp -pr \"$BUILDROOT/$PROJECT/doc/images\" \"$BUILDROOT/$PROJECT.tmp/$PROJECT/images\""; + $ret=`$cmd`; + + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/$PROJECT/dev`; + $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/$PROJECT/doc`; + + print "Compress $BUILDROOT/$PROJECT.tmp/$PROJECT into $FILENAMEAPS.zip...\n"; + + print "Go to directory $BUILDROOT/$PROJECT.tmp\n"; + $olddir=getcwd(); + chdir("$BUILDROOT\/$PROJECT.tmp"); + #$cmd= "7z a -r -tzip -xr\@\"$BUILDROOT\/$PROJECT.tmp\/$PROJECT\/build\/zip\/zip_exclude.txt\" -mx $BUILDROOT/$FILENAMEAPS.zip $BUILDROOT/$PROJECT.tmp/$PROJECT\\*"; + $cmd= "zip -9 -r $BUILDROOT/$FILENAMEAPS.zip $PROJECT\\*"; + print $cmd."\n"; + $ret= `$cmd`; + chdir("$olddir"); + + if ($OS =~ /windows/i) + { + print "Move $FILENAMEAPS.zip to $DESTI/$FILENAMEAPS.zip\n"; + $ret=`mv "$BUILDROOT/$FILENAMEAPS.zip" "$DESTI/$FILENAMEAPS.zip"`; + } + else + { + print "Move $FILENAMEAPS.zip to $DESTI/$FILENAMEAPS.zip\n"; + $ret=`mv "$BUILDROOT/$FILENAMEAPS.zip" "$DESTI/$FILENAMEAPS.zip"`; + } + next; } - + if ($target eq 'EXEDOLIWAMP') { print "Remove target $FILENAMEEXEDOLIWAMP.exe...\n"; diff --git a/build/rpm/dolibarr.spec b/build/rpm/dolibarr.spec index 3ea9dee9c29..d8bad08806c 100644 --- a/build/rpm/dolibarr.spec +++ b/build/rpm/dolibarr.spec @@ -150,15 +150,6 @@ echo Set permission on $docdir chown -R apache.apache $docdir chmod -R o-w $docdir -if [ -s /usr/bin/chcon ]; then - echo Set SELinux permissions - chcon -R -h -t httpd_sys_content_t $targetdir - chcon -R -h -t httpd_sys_content_t $docdir - chcon -R -h -t httpd_sys_script_rw_t $targetdir - chcon -R -h -t httpd_sys_script_rw_t $docdir - chcon -R -h -t httpd_sys_script_exec_t $targetdir -fi - # Create empty conf.php file for web installer if [ ! -s $targetdir/htdocs/conf/conf.php ]; then echo Create empty Dolibarr conf.php file @@ -167,6 +158,16 @@ if [ ! -s $targetdir/htdocs/conf/conf.php ]; then chmod ug+rw $targetdir/htdocs/conf/conf.php fi +if [ -s /usr/bin/chcon ]; then + echo Set SELinux permissions + # Warning: chcon seems not cumulative + #chcon -R -h -t httpd_sys_content_t $targetdir + #chcon -R -h -t httpd_sys_content_t $docdir + chcon -R -h -t httpd_sys_script_rw_t $targetdir + chcon -R -h -t httpd_sys_script_rw_t $docdir + #chcon -R -h -t httpd_sys_script_exec_t $targetdir +fi + # Restart web server echo Restart web server if [ -f %{_sysconfdir}/init.d/httpd ]; then @@ -187,6 +188,11 @@ echo #---- postun (after uninstall) %postun +# Dolibarr files are stored into /var/www +export targetdir='/var/www/dolibarr' +# Dolibarr uploaded files and generated documents are stored into /usr/share/dolibarr/documents +export docdir='/usr/share/dolibarr/documents' + export conffile="%{_sysconfdir}/httpd/conf.d/dolibarr.conf" if [ -f $conffile ] ; then @@ -205,6 +211,8 @@ then fi rm -rf /etc/dolibarr +rm -rf $targetdir/htdocs/conf +rm -rf $targetdir/htdocs/install %changelog diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index a315de333c2..ffbaf536729 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -23,7 +23,7 @@ * \file htdocs/admin/company.php * \ingroup company * \brief Setup page to configure company/foundation - * \version $Id$ + * \version $Id: company.php,v 1.92 2011/06/24 19:57:45 eldy Exp $ */ require("../main.inc.php"); @@ -136,9 +136,10 @@ if ( (isset($_POST["action"]) && $_POST["action"] == 'update' && empty($_POST["c dolibarr_set_const($db, "MAIN_INFO_SIRET",$_POST["siret"],'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_APE",$_POST["ape"],'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_RCS",$_POST["rcs"],'chaine',0,'',$conf->entity); - dolibarr_set_const($db, "MAIN_INFO_TVAINTRA",$_POST["tva"],'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_TRAINER",$_POST["trainer"],'chaine',0,'',$conf->entity); + dolibarr_set_const($db, "MAIN_INFO_TVAINTRA",$_POST["tva"],'chaine',0,'',$conf->entity); + dolibarr_set_const($db, "SOCIETE_FISCAL_MONTH_START",$_POST["fiscalmonthstart"],'chaine',0,'',$conf->entity); dolibarr_set_const($db, "FACTURE_TVAOPTION",$_POST["optiontva"],'chaine',0,'',$conf->entity); @@ -471,6 +472,22 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; } + // ProfId5 + if ($langs->transcountry("ProfId5",$pays_code) != '-') + { + $var=!$var; + print ''.$langs->transcountry("ProfId5",$pays_code).''; + if ($pays_code) + { + print ''; + } + else + { + print $countrynotdefined; + } + print ''; + } + // TVA Intra $var=!$var; print ''.$langs->trans("VATIntra").''; @@ -478,12 +495,6 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; print ''; - - // Trainer accreditation - $var=!$var; - print ''.$langs->trans("TrainerId").''; - print ''; - print ''; /* @@ -794,10 +805,18 @@ else } print ''; } - - // Trainer accreditation - $var=!$var; - print ''.$langs->trans("TrainerId").'' . $conf->global->MAIN_INFO_TRAINER . ''; + + // ProfId5 + if ($langs->transcountry("ProfId5",$pays_code) != '-') + { + $var=!$var; + print ''.$langs->transcountry("ProfId5",$pays_code).''; + if ($langs->transcountry("ProfId5",$pays_code) != '-') + { + print $conf->global->MAIN_INFO_TRAINER; + } + print ''; + } // 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) {