Fix: [ bug #1094 ] Invoice Text Reminder

Conflicts:
	htdocs/compta/facture.php
This commit is contained in:
Laurent Destailleur 2013-11-21 02:07:13 +01:00
parent 35596acf40
commit 23f7de0873

View File

@ -3674,16 +3674,16 @@ else if ($id > 0 || ! empty($ref))
// By default if $action=='presend'
$titreform='SendBillByMail';
$topicmail='SendBillRef';
$action='send';
$modelmail='facture_send';
if ($action == 'prerelance') // For backward compatibility
{
$titrefrom='SendReminderBillByMail';
$topicmail='SendReminderBillRef';
$action='relance';
$modelmail='facture_relance';
$action='relance';
}
else $action='send';
$ref = dol_sanitizeFileName($object->ref);
include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';