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
|
PrivateDownloadLinkDesc=You need to be logged and you need permissions to view or download the file
|
||||||
Download=Download
|
Download=Download
|
||||||
DownloadDocument=Download document
|
DownloadDocument=Download document
|
||||||
|
DownloadSignedDocument=Download signed document
|
||||||
ActualizeCurrency=Update currency rate
|
ActualizeCurrency=Update currency rate
|
||||||
Fiscalyear=Fiscal year
|
Fiscalyear=Fiscal year
|
||||||
ModuleBuilder=Module and Application Builder
|
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
|
PrivateDownloadLinkDesc=Vous devez être connecté et vous avez besoin d’autorisations pour afficher ou télécharger le fichier
|
||||||
Download=Téléchargement
|
Download=Téléchargement
|
||||||
DownloadDocument=Télécharger le document
|
DownloadDocument=Télécharger le document
|
||||||
|
DownloadSignedDocument=Télécharger le document signé
|
||||||
ActualizeCurrency=Mettre à jour le taux de devise
|
ActualizeCurrency=Mettre à jour le taux de devise
|
||||||
Fiscalyear=Exercice fiscal
|
Fiscalyear=Exercice fiscal
|
||||||
ModuleBuilder=Générateur de Module et Application
|
ModuleBuilder=Générateur de Module et Application
|
||||||
|
|||||||
@ -423,8 +423,12 @@ if ($source == 'proposal') {
|
|||||||
if ($directdownloadlink) {
|
if ($directdownloadlink) {
|
||||||
print '<br><a href="'.$directdownloadlink.'">';
|
print '<br><a href="'.$directdownloadlink.'">';
|
||||||
print img_mime($object->last_main_doc, '');
|
print img_mime($object->last_main_doc, '');
|
||||||
|
if ($message == "signed") {
|
||||||
|
print $langs->trans("DownloadSignedDocument").'</a>';
|
||||||
|
} else {
|
||||||
print $langs->trans("DownloadDocument").'</a>';
|
print $langs->trans("DownloadDocument").'</a>';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
print '<input type="hidden" name="source" value="'.GETPOST("source", 'alpha').'">';
|
print '<input type="hidden" name="source" value="'.GETPOST("source", 'alpha').'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user