116 |
print '<td>'.$langs->trans("Description").'</td>'; |
print '<td>'.$langs->trans("Description").'</td>'; |
117 |
print '<td nowrap>'.$langs->trans("Example").'</td>'; |
print '<td nowrap>'.$langs->trans("Example").'</td>'; |
118 |
print '<td align="center" width="60">'.$langs->trans("Default").'</td>'; |
print '<td align="center" width="60">'.$langs->trans("Default").'</td>'; |
|
print '<td nowrap>'.$langs->trans("NextValue").'</td>'; |
|
119 |
print '</tr>'."\n"; |
print '</tr>'."\n"; |
120 |
|
|
121 |
clearstatcache(); |
clearstatcache(); |
149 |
print '<td align="center">'; |
print '<td align="center">'; |
150 |
if ($facture_addon_var == "$file") |
if ($facture_addon_var == "$file") |
151 |
{ |
{ |
152 |
print img_tick(); |
$title=''; |
153 |
print "</td><td nowrap>".$obj->getNextValue()."</td>\n"; |
if ($obj->getNextValue() != $langs->trans("NotAvailable")) |
154 |
|
{ |
155 |
|
$title=$langs->trans("NextValue").': '.$obj->getNextValue(); |
156 |
|
} |
157 |
|
print img_tick($title); |
158 |
} |
} |
159 |
else |
else |
160 |
{ |
{ |
161 |
print '<a href="facture.php?action=set&value='.$file.'">'.$langs->trans("Default").'</a>'; |
print '<a href="facture.php?action=set&value='.$file.'">'.$langs->trans("Default").'</a>'; |
|
print "</td><td nowrap> </td>\n"; |
|
162 |
} |
} |
163 |
print "</td></tr>\n"; |
print "</td></tr>\n"; |
164 |
} |
} |