Precision 'signed' for download link after document is signed
This commit is contained in:
parent
441b04e2f1
commit
800dab111b
@ -927,6 +927,7 @@ DirectDownloadInternalLink=Private download link
|
||||
PrivateDownloadLinkDesc=You need to be logged and you need permissions to view or download the file
|
||||
Download=Download
|
||||
DownloadDocument=Download document
|
||||
DownloadSignedDocument=Download signed document
|
||||
ActualizeCurrency=Update currency rate
|
||||
Fiscalyear=Fiscal year
|
||||
ModuleBuilder=Module and Application Builder
|
||||
|
||||
@ -927,6 +927,7 @@ DirectDownloadInternalLink=Lien de téléchargement privé
|
||||
PrivateDownloadLinkDesc=Vous devez être connecté et vous avez besoin d’autorisations pour afficher ou télécharger le fichier
|
||||
Download=Téléchargement
|
||||
DownloadDocument=Télécharger le document
|
||||
DownloadSignedDocument=Télécharger le document signé
|
||||
ActualizeCurrency=Mettre à jour le taux de devise
|
||||
Fiscalyear=Exercice fiscal
|
||||
ModuleBuilder=Générateur de Module et Application
|
||||
|
||||
@ -423,7 +423,11 @@ if ($source == 'proposal') {
|
||||
if ($directdownloadlink) {
|
||||
print '<br><a href="'.$directdownloadlink.'">';
|
||||
print img_mime($object->last_main_doc, '');
|
||||
print $langs->trans("DownloadDocument").'</a>';
|
||||
if ($message == "signed") {
|
||||
print $langs->trans("DownloadSignedDocument").'</a>';
|
||||
} else {
|
||||
print $langs->trans("DownloadDocument").'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user