Debug v24
This commit is contained in:
parent
ee47cf8c5e
commit
baf8cdf618
2 changed files with 6 additions and 5 deletions
|
|
@ -617,11 +617,9 @@ if ($object->fetch($id) >= 0) {
|
|||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
print '<br>';
|
||||
|
||||
|
||||
// Show email selectors
|
||||
if ($object->status == 0 && $user->hasRight('mailing', 'creer')) {
|
||||
if ($object->status < 2 && $user->hasRight('mailing', 'creer')) {
|
||||
// @phan-assert FormAdvTargetEmailing $formadvtargetemaling
|
||||
// @phan-assert AdvanceTargetingMailing $advTarget
|
||||
|
||||
|
|
@ -666,7 +664,9 @@ if ($object->fetch($id) >= 0) {
|
|||
</script>';
|
||||
|
||||
|
||||
print load_fiche_titre($langs->trans("AdvTgtTitle").'...', '', '');
|
||||
print '<div class="info">';
|
||||
print $langs->trans("AdvTgtTitle").'...';
|
||||
print '</div>';
|
||||
|
||||
print '<form name="find_customer" id="find_customer" action="'.$_SERVER['PHP_SELF'].'?id='.$id.'" method="POST">'."\n";
|
||||
print '<input type="hidden" name="token" value="'.newToken().'">'."\n";
|
||||
|
|
@ -709,7 +709,7 @@ if ($object->fetch($id) >= 0) {
|
|||
// Customer name
|
||||
print '<tr><td>'.$langs->trans('ThirdPartyName');
|
||||
if (!empty($array_query['cust_name'])) {
|
||||
print img_picto($langs->trans('AdvTgtUse'), 'ok.png@advtargetemailing');
|
||||
print img_picto($langs->trans('AdvTgtUse'), 'tick', 'class="marginleftonly"');
|
||||
}
|
||||
print '</td><td><input type="text" name="cust_name" value="'.$array_query['cust_name'].'"/></td><td>'."\n";
|
||||
print $form->textwithpicto('', $langs->trans("AdvTgtSearchTextHelp"), 1, 'help');
|
||||
|
|
|
|||
|
|
@ -380,6 +380,7 @@ if ((!defined('NOCSRFCHECK') && empty($dolibarr_nocsrfcheck) && getDolGlobalInt(
|
|||
'editfile',
|
||||
'editvalidator',
|
||||
'file_manager',
|
||||
'getCategories',
|
||||
'history',
|
||||
'presend',
|
||||
'presend_addmessage',
|
||||
|
|
|
|||
Loading…
Reference in a new issue