Fix: [ bug #1094 ] Invoice Text Reminder
This commit is contained in:
parent
358175b357
commit
7871ccb9aa
@ -3864,16 +3864,16 @@ else if ($id > 0 || ! empty($ref))
|
|||||||
// By default if $action=='presend'
|
// By default if $action=='presend'
|
||||||
$titreform='SendBillByMail';
|
$titreform='SendBillByMail';
|
||||||
$topicmail='SendBillRef';
|
$topicmail='SendBillRef';
|
||||||
$action='send';
|
|
||||||
$modelmail='facture_send';
|
$modelmail='facture_send';
|
||||||
|
|
||||||
if ($action == 'prerelance') // For backward compatibility
|
if ($action == 'prerelance') // For backward compatibility
|
||||||
{
|
{
|
||||||
$titrefrom='SendReminderBillByMail';
|
$titrefrom='SendReminderBillByMail';
|
||||||
$topicmail='SendReminderBillRef';
|
$topicmail='SendReminderBillRef';
|
||||||
$action='relance';
|
|
||||||
$modelmail='facture_relance';
|
$modelmail='facture_relance';
|
||||||
|
$action='relance';
|
||||||
}
|
}
|
||||||
|
else $action='send';
|
||||||
|
|
||||||
$ref = dol_sanitizeFileName($object->ref);
|
$ref = dol_sanitizeFileName($object->ref);
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user