Fix: Lien incorrect si dolibarr utilisé dans un "sous répertoire".
This commit is contained in:
parent
c9fa454809
commit
badc43022d
@ -1416,15 +1416,15 @@ else
|
|||||||
if ($_GET["action"] == 'presend')
|
if ($_GET["action"] == 'presend')
|
||||||
{
|
{
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print_titre("Envoyer la facture par mail");
|
print_titre($langs->trans("SendBillByMail"));
|
||||||
|
|
||||||
$liste[0]=" ";
|
$liste[0]=" ";
|
||||||
foreach ($soc->contact_email_array() as $key=>$value) {
|
foreach ($soc->contact_email_array() as $key=>$value) {
|
||||||
$liste[$key]=$value;
|
$liste[$key]=$value;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Créé l'objet formulaire mail
|
// Créé l'objet formulaire mail
|
||||||
include_once("../html.formmail.class.php");
|
include_once(DOL_DOCUMENT_ROOT."/html.formmail.class.php");
|
||||||
$formmail = new FormMail($db);
|
$formmail = new FormMail($db);
|
||||||
$formmail->fromname = $user->fullname;
|
$formmail->fromname = $user->fullname;
|
||||||
$formmail->frommail = $user->email;
|
$formmail->frommail = $user->email;
|
||||||
@ -1450,7 +1450,7 @@ else
|
|||||||
if ($_GET["action"] == 'prerelance')
|
if ($_GET["action"] == 'prerelance')
|
||||||
{
|
{
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print_titre("Envoyer une relance par mail");
|
print_titre($langs->trans("SendReminderBillByMail"));
|
||||||
|
|
||||||
$liste[0]=" ";
|
$liste[0]=" ";
|
||||||
foreach ($soc->contact_email_array() as $key=>$value) {
|
foreach ($soc->contact_email_array() as $key=>$value) {
|
||||||
@ -1496,14 +1496,7 @@ else
|
|||||||
{
|
{
|
||||||
$i = 0; $total = 0;
|
$i = 0; $total = 0;
|
||||||
print "<br>";
|
print "<br>";
|
||||||
if ($num >1)
|
print_titre($langs->trans("RelatedCommercialProposals"));
|
||||||
{
|
|
||||||
print_titre("Propositions commerciales associées");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print_titre("Proposition commerciale associée");
|
|
||||||
}
|
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
@ -1535,7 +1528,7 @@ else
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Facture non trouvée */
|
/* Facture non trouvée */
|
||||||
print "Facture ".$_GET["facid"]." inexistante";
|
print $langs->trans("ErrorBillNotFound",$_GET["facid"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -1782,5 +1775,5 @@ else
|
|||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user