diff --git a/ChangeLog b/ChangeLog index 3af4a6cfe95..cc720cc0c01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -119,6 +119,8 @@ Fix: If only service module is activated, it's impossible to delete service Fix: [ bug #1043 ] Bad interventions ref numbering Fix: Mailing module : if an email is already in destinaires list all other email from selector was not inserted Fix: Localtaxes balance not showing +Fix: Intervention box links to contracts id +Fix: Compatiblity with multicompany module ***** ChangeLog for 3.4 compared to 3.3.* ***** For users: diff --git a/dev/translation/txpull.sh b/dev/translation/txpull.sh index fdd59729791..a572de9bdb9 100755 --- a/dev/translation/txpull.sh +++ b/dev/translation/txpull.sh @@ -11,7 +11,7 @@ if [ "x$1" = "x" ] then echo "This pull remote transifex files to local dir." - echo "Note: If you push a language file (not source), file will be skipped if transifex file is newer." + echo "Note: If you pull a language file (not source), file will be skipped if local file is newer." echo " Using -f will overwrite local file (does not work with 'all')." echo "Usage: txpull.sh (all|xx_XX) [-r dolibarr.file] [-f]" exit diff --git a/doc/images/dolibarr_screenshot1_640x400.png b/doc/images/dolibarr_screenshot1_640x400.png new file mode 100644 index 00000000000..9ed384263ad Binary files /dev/null and b/doc/images/dolibarr_screenshot1_640x400.png differ diff --git a/htdocs/adherents/cartes/carte.php b/htdocs/adherents/cartes/carte.php index e60a76bd936..ab964100c04 100644 --- a/htdocs/adherents/cartes/carte.php +++ b/htdocs/adherents/cartes/carte.php @@ -107,8 +107,7 @@ if ((! empty($foruserid) || ! empty($foruserlogin) || ! empty($mode)) && ! $mesg '%MONTH%'=>$month, '%DAY%'=>$day, '%DOL_MAIN_URL_ROOT%'=>DOL_MAIN_URL_ROOT, - '%SERVER%'=>"http://".$_SERVER["SERVER_NAME"]."/", - '%SOCIETE%'=>$objp->company + '%SERVER%'=>"http://".$_SERVER["SERVER_NAME"]."/" ); complete_substitutions_array($substitutionarray, $langs); @@ -204,7 +203,7 @@ if ((! empty($foruserid) || ! empty($foruserlogin) || ! empty($mode)) && ! $mesg dol_print_error($db); } - if (! $mesg) + if (! $mesg) { $db->close(); exit; diff --git a/htdocs/admin/contract.php b/htdocs/admin/contract.php index 07912e8759c..b059fa34bec 100644 --- a/htdocs/admin/contract.php +++ b/htdocs/admin/contract.php @@ -35,6 +35,8 @@ if (!$user->admin) accessforbidden(); $action = GETPOST('action','alpha'); $value = GETPOST('value','alpha'); +$scandir = GETPOST('scandir','alpha'); +$type='contrat'; if (empty($conf->global->CONTRACT_ADDON)) { @@ -64,11 +66,6 @@ if ($action == 'updateMask') } } -if ($action == 'setmod') -{ - dolibarr_set_const($db, "CONTRACT_ADDON",$value,'chaine',0,'',$conf->entity); -} - else if ($action == 'specimen') // For contract { $modele= GETPOST('module','alpha'); @@ -155,10 +152,10 @@ else if ($action == 'setmod') dolibarr_set_const($db, "CONTRACT_ADDON",$value,'chaine',0,'',$conf->entity); } -else if ($action == 'set_CONTRAT_FREE_TEXT') +else if ($action == 'set_CONTRACT_FREE_TEXT') { - $freetext= GETPOST('CONTRAT_FREE_TEXT','alpha'); - $res = dolibarr_set_const($db, "CONTRAT_FREE_TEXT",$freetext,'chaine',0,'',$conf->entity); + $freetext= GETPOST('CONTRACT_FREE_TEXT','alpha'); + $res = dolibarr_set_const($db, "CONTRACT_FREE_TEXT",$freetext,'chaine',0,'',$conf->entity); if (! $res > 0) $error++; @@ -172,11 +169,11 @@ else if ($action == 'set_CONTRAT_FREE_TEXT') } } -else if ($action == 'set_CONTRAT_DRAFT_WATERMARK') +else if ($action == 'set_CONTRACT_DRAFT_WATERMARK') { - $draft= GETPOST('CONTRAT_DRAFT_WATERMARK','alpha'); + $draft= GETPOST('CONTRACT_DRAFT_WATERMARK','alpha'); - $res = dolibarr_set_const($db, "CONTRAT_DRAFT_WATERMARK",trim($draft),'chaine',0,'',$conf->entity); + $res = dolibarr_set_const($db, "CONTRACT_DRAFT_WATERMARK",trim($draft),'chaine',0,'',$conf->entity); if (! $res > 0) $error++; @@ -492,10 +489,10 @@ $var=true; $var=! $var; print '