Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
This commit is contained in:
commit
36fd6e6870
@ -2425,7 +2425,7 @@ if ($id > 0) {
|
||||
$tmpuserstatic = new User($db);
|
||||
|
||||
foreach ($object->reminders as $actioncommreminderid => $actioncommreminder) {
|
||||
print $TRemindTypes[$actioncommreminder->typeremind];
|
||||
print $TRemindTypes[$actioncommreminder->typeremind]['label'];
|
||||
if ($actioncommreminder->fk_user > 0) {
|
||||
$tmpuserstatic->fetch($actioncommreminder->fk_user);
|
||||
print ' ('.$tmpuserstatic->getNomUrl(0, '', 0, 0, 16).')';
|
||||
|
||||
@ -314,6 +314,7 @@ class mailing_contacts1 extends MailingTargets
|
||||
$s .= '<span class="opacitymedium">'.$langs->trans("DefaultLang").':</span> ';
|
||||
$s .= $formadmin->select_language($langs->getDefaultLang(1), 'filter_lang', 0, 0, 1, 0, 0, '', 0, 0, 0, null, 1);
|
||||
}
|
||||
|
||||
return $s;
|
||||
}
|
||||
|
||||
|
||||
@ -603,7 +603,7 @@ if ($object->id > 0) {
|
||||
if ($permissiontoadd) {
|
||||
// Link to launch scan tool
|
||||
if (isModEnabled('barcode') || isModEnabled('productbatch')) {
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=updatebyscaning" class="marginrightonly paddingright marginleftonly paddingleft">'.img_picto('', 'barcode', 'class="paddingrightonly"').$langs->trans("UpdateByScaning").'</a>';
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=updatebyscaning&token='.currentToken().'" class="marginrightonly paddingright marginleftonly paddingleft">'.img_picto('', 'barcode', 'class="paddingrightonly"').$langs->trans("UpdateByScaning").'</a>';
|
||||
}
|
||||
|
||||
// Link to autofill
|
||||
|
||||
Loading…
Reference in New Issue
Block a user