Fix not visible template selector for supplier order/invoice emails
Conflicts: htdocs/fourn/facture/card.php
This commit is contained in:
parent
af9fff4f83
commit
ad96229ec4
@ -2695,7 +2695,7 @@ elseif (! empty($object->id))
|
||||
}
|
||||
|
||||
// Presend form
|
||||
$modelmail='supplier_order_send';
|
||||
$modelmail='order_supplier_send';
|
||||
$defaulttopic='SendOrderRef';
|
||||
$diroutput = $conf->fournisseur->commande->dir_output;
|
||||
$trackid = 'sor'.$object->id;
|
||||
|
||||
@ -265,7 +265,7 @@ if (empty($reshook))
|
||||
$action='';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
elseif ($action == 'confirm_paid' && $confirm == 'yes' && $user->rights->fournisseur->facture->creer)
|
||||
{
|
||||
$object->fetch($id);
|
||||
@ -2928,7 +2928,7 @@ else
|
||||
}
|
||||
|
||||
// Presend form
|
||||
$modelmail='order_supplier_send';
|
||||
$modelmail='invoice_supplier_send';
|
||||
$defaulttopic='SendBillRef';
|
||||
$diroutput = $conf->fournisseur->facture->dir_output;
|
||||
$trackid = 'sin'.$object->id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user