Skip to content

Commit

Permalink
Fix hidden feature to send remind by email
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 2, 2015
1 parent df3f29e commit e3af0b9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions htdocs/compta/facture/mergepdftool.php
Expand Up @@ -248,12 +248,11 @@
}
}
else
{
{
$nbignored++;
$langs->load("other");
$resultmasssend.='<div class="error">'.$langs->trans('ErrorCantReadFile',$file).'</div>';
dol_syslog('Failed to read file: '.$file, LOG_WARNING);
break ;
}
}
}
Expand Down Expand Up @@ -558,9 +557,7 @@
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
$formmail = new FormMail($db);

print '<br>';
print_fiche_titre($langs->trans("SendRemind"),'','');
print '<br>';
dol_fiche_head(null, '', $langs->trans("SendRemind"));

$topicmail="MailTopicSendRemindUnpaidInvoices";
$modelmail="facture_relance";
Expand Down Expand Up @@ -600,7 +597,8 @@
$formmail->param['returnurl']=$_SERVER["PHP_SELF"].'?id='.$object->id;

print $formmail->get_form();
print '<br>'."\n";

dol_fiche_end();
}

print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
Expand Down

0 comments on commit e3af0b9

Please sign in to comment.