Update societe.php
This commit is contained in:
parent
c5cd6a5f3c
commit
a9450f5673
1 changed files with 1 additions and 1 deletions
|
|
@ -612,7 +612,7 @@ foreach ($dirsociete as $dirroot) {
|
|||
// Preview
|
||||
print '<td class="center nowrap">';
|
||||
if ($module->type == 'pdf') {
|
||||
$linkspec = '<a href="'.$_SERVER["PHP_SELF"].'?action=specimen&token='.newToken().'&module='.$name.'">'.img_object($langs->trans("Preview"), 'bill').'</a>';
|
||||
$linkspec = '<a href="'.$_SERVER["PHP_SELF"].'?action=specimen&token='.newToken().'&module='.$name.'">'.img_object($langs->trans("Preview"), 'pdf').'</a>';
|
||||
} else {
|
||||
$linkspec = img_object($langs->trans("PreviewNotAvailable"), 'generic');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue