Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
Conflicts: htdocs/core/tpl/advtarget.tpl.php
This commit is contained in:
commit
263b679af4
@ -166,6 +166,7 @@ class HookManager
|
|||||||
'doActions',
|
'doActions',
|
||||||
'doMassActions',
|
'doMassActions',
|
||||||
'formatEvent',
|
'formatEvent',
|
||||||
|
'formConfirm',
|
||||||
'formCreateThirdpartyOptions',
|
'formCreateThirdpartyOptions',
|
||||||
'formObjectOptions',
|
'formObjectOptions',
|
||||||
'formattachOptions',
|
'formattachOptions',
|
||||||
|
|||||||
@ -664,11 +664,11 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
|||||||
$larg_sign = ($this->page_largeur-$this->marge_gauche-$this->marge_droite)/3;
|
$larg_sign = ($this->page_largeur-$this->marge_gauche-$this->marge_droite)/3;
|
||||||
$pdf->Rect($this->marge_gauche, $posy + 1, $larg_sign, 25);
|
$pdf->Rect($this->marge_gauche, $posy + 1, $larg_sign, 25);
|
||||||
$pdf->SetXY($this->marge_gauche + 2, $posy + 2);
|
$pdf->SetXY($this->marge_gauche + 2, $posy + 2);
|
||||||
$pdf->MultiCell($larg_sign, 2, $outputlangs->trans("For").' '.$outputlangs->convToOutputCharset($mysoc->name).":", '', 'L');
|
$pdf->MultiCell($larg_sign, 2, $outputlangs->transnoentities("For") . ' ' . $outputlangs->convToOutputCharset($mysoc->name) . ":", '', 'L');
|
||||||
|
|
||||||
$pdf->Rect(2*$larg_sign+$this->marge_gauche, $posy + 1, $larg_sign, 25);
|
$pdf->Rect(2*$larg_sign+$this->marge_gauche, $posy + 1, $larg_sign, 25);
|
||||||
$pdf->SetXY(2*$larg_sign+$this->marge_gauche + 2, $posy + 2);
|
$pdf->SetXY(2*$larg_sign+$this->marge_gauche + 2, $posy + 2);
|
||||||
$pdf->MultiCell($larg_sign, 2, $outputlangs->trans("ForCustomer").':', '', 'L');
|
$pdf->MultiCell($larg_sign, 2, $outputlangs->transnoentities("ForCustomer") . ':', '', 'L');
|
||||||
}
|
}
|
||||||
|
|
||||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
|
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
|
||||||
|
|||||||
@ -76,7 +76,7 @@ print '<input type="button" name="savefilter" id="savefilter" value="'.$langs->t
|
|||||||
print '</td><td>' . "\n";
|
print '</td><td>' . "\n";
|
||||||
print '</td></tr>' . "\n";
|
print '</td></tr>' . "\n";
|
||||||
|
|
||||||
print '<tr><td>' . $langs->trans('AdvTgtOrCreateNewFilter') . '</td><td>';
|
print '<tr><td>'.$langs->trans('AdvTgtOrCreateNewFilter').'</td><td>';
|
||||||
print '<input type="text" name="template_name" id="template_name" value=""/>';
|
print '<input type="text" name="template_name" id="template_name" value=""/>';
|
||||||
print '<input type="button" name="createfilter" id="createfilter" value="'.$langs->trans('AdvTgtCreateFilter').'" class="button"/>';
|
print '<input type="button" name="createfilter" id="createfilter" value="'.$langs->trans('AdvTgtCreateFilter').'" class="button"/>';
|
||||||
print '</td><td>'."\n";
|
print '</td><td>'."\n";
|
||||||
@ -510,14 +510,11 @@ if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) {
|
|||||||
print $formadvtargetemaling->advMultiselectarraySelllist('options_'.$key.'_cnct', $extrafields->attributes[$key]['param']['options'], $array_query['options_'.$key.'_cnct']);
|
print $formadvtargetemaling->advMultiselectarraySelllist('options_'.$key.'_cnct', $extrafields->attributes[$key]['param']['options'], $array_query['options_'.$key.'_cnct']);
|
||||||
print '</td><td>'."\n";
|
print '</td><td>'."\n";
|
||||||
} else {
|
} else {
|
||||||
print '<table class="nobordernopadding"><tr>';
|
|
||||||
print '<td></td><td>';
|
|
||||||
if (is_array($array_query['options_'.$key.'_cnct'])) {
|
if (is_array($array_query['options_'.$key.'_cnct'])) {
|
||||||
print $extrafields->showInputField($key, implode(',', $array_query['options_'.$key.'_cnct']), '', '_cnct');
|
print $extrafields->showInputField($key, implode(',', $array_query['options_'.$key.'_cnct']), '', '_cnct');
|
||||||
} else {
|
} else {
|
||||||
print $extrafields->showInputField($key, $array_query['options_'.$key.'_cnct'], '', '_cnct');
|
print $extrafields->showInputField($key, $array_query['options_'.$key.'_cnct'], '', '_cnct');
|
||||||
}
|
}
|
||||||
print '</td></tr></table>';
|
|
||||||
print '</td><td>'."\n";
|
print '</td><td>'."\n";
|
||||||
}
|
}
|
||||||
print '</td></tr>'."\n";
|
print '</td></tr>'."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user