fix when model mail selected
This commit is contained in:
parent
606011180b
commit
cfba5a5e0f
@ -1667,6 +1667,7 @@ MailToSendSupplierRequestForQuotation=Pour l'envoi de demande de prix fournisseu
|
||||
MailToSendSupplierOrder=Pour l'envoi de commande fournisseur
|
||||
MailToSendSupplierInvoice=Pour l'envoi de facture fournisseur
|
||||
MailToSendContract=Pour envoyer un contrat
|
||||
MailToSendReception=Pour l'envoi de réception fournisseur
|
||||
MailToThirdparty=Envoy email depuis la fiche Tiers
|
||||
ByDefaultInList=Afficher par défaut sur les vues listes
|
||||
YouUseLastStableVersion=Vous utilisez la dernière version stable
|
||||
|
||||
@ -83,6 +83,10 @@ else {
|
||||
}
|
||||
|
||||
$action = GETPOST('action','alpha');
|
||||
//Select mail models is same action as presend
|
||||
if (GETPOST('modelselected')) {
|
||||
$action = 'presend';
|
||||
}
|
||||
$confirm = GETPOST('confirm','alpha');
|
||||
$cancel = GETPOST('cancel','alpha');
|
||||
|
||||
@ -2181,10 +2185,7 @@ else if ($id || $ref)
|
||||
print '</div><div class="fichehalfright"><div class="ficheaddleft">';
|
||||
|
||||
}
|
||||
//Select mail models is same action as presend
|
||||
if (GETPOST('modelselected')) {
|
||||
$action = 'presend';
|
||||
}
|
||||
|
||||
if ($action == 'presend')
|
||||
{
|
||||
$ref = dol_sanitizeFileName($object->ref);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user