Merge pull request #16526 from frederic34/patch-3
fix unknown constant and variable
This commit is contained in:
commit
d22f929779
@ -7519,7 +7519,7 @@ abstract class CommonObject
|
||||
*/
|
||||
public function getJSListDependancies($type = '_extra')
|
||||
{
|
||||
$out .= '
|
||||
$out = '
|
||||
<script>
|
||||
jQuery(document).ready(function() {
|
||||
function showOptions'.$type.'(child_list, parent_list, orig_select)
|
||||
|
||||
@ -7714,8 +7714,8 @@ class Form
|
||||
print '<td class="center">'.$objp->ref.'</td>';
|
||||
print '<td>'.$objp->ref_client.'</td>';
|
||||
print '<td class="right">';
|
||||
if ($possiblelink[label] == 'LinkToContract') {
|
||||
$form = new Form($db);
|
||||
if ($possiblelink['label'] == 'LinkToContract') {
|
||||
$form = new Form($this->db);
|
||||
print $form->textwithpicto('', $langs->trans("InformationOnLinkToContract")).' ';
|
||||
}
|
||||
print price($objp->total_ht).'</td>';
|
||||
@ -7732,8 +7732,6 @@ class Form
|
||||
dol_print_error($this->db);
|
||||
}
|
||||
print '</div>';
|
||||
if ($num > 0) {
|
||||
}
|
||||
|
||||
//$linktoelem.=($linktoelem?' ':'');
|
||||
if ($num > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user