Fix missing br
This commit is contained in:
parent
072a0a26d6
commit
ec1acf710c
@ -742,39 +742,39 @@ if ($invoice->socid != $conf->global->{'CASHDESK_ID_THIRDPARTY'.$_SESSION["takep
|
|||||||
}
|
}
|
||||||
print '</p>';
|
print '</p>';
|
||||||
|
|
||||||
// Module Adherent
|
// Module Adherent
|
||||||
if (! empty($conf->adherent->enabled))
|
if (! empty($conf->adherent->enabled))
|
||||||
|
{
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
|
||||||
|
$langs->load("members");
|
||||||
|
print '<p style="font-size:120%;" class="right">';
|
||||||
|
print $langs->trans("Member").': ';
|
||||||
|
$adh=new Adherent($db);
|
||||||
|
$result=$adh->fetch('', '', $invoice->socid);
|
||||||
|
if ($result > 0)
|
||||||
{
|
{
|
||||||
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
|
$adh->ref=$adh->getFullName($langs);
|
||||||
$langs->load("members");
|
print $adh->getFullName($langs);
|
||||||
print '<p style="font-size:120%;" class="right">';
|
print '<br>'.$langs->trans("Type").': '.$adh->type;
|
||||||
print $langs->trans("Member").': ';
|
if ($adh->datefin)
|
||||||
$adh=new Adherent($db);
|
|
||||||
$result=$adh->fetch('', '', $invoice->socid);
|
|
||||||
if ($result > 0)
|
|
||||||
{
|
{
|
||||||
$adh->ref=$adh->getFullName($langs);
|
print '<br>'.$langs->trans("SubscriptionEndDate").': '.dol_print_date($adh->datefin, 'day');
|
||||||
print $adh->getFullName($langs);
|
if ($adh->hasDelay()) {
|
||||||
print '<br>'.$langs->trans("Type").': '.$adh->type;
|
print " ".img_warning($langs->trans("Late"));
|
||||||
if ($adh->datefin)
|
}
|
||||||
{
|
}
|
||||||
print '<br>'.$langs->trans("SubscriptionEndDate").': '.dol_print_date($adh->datefin, 'day');
|
else
|
||||||
if ($adh->hasDelay()) {
|
{
|
||||||
print " ".img_warning($langs->trans("Late"));
|
print '<br>'.$langs->trans("SubscriptionNotReceived");
|
||||||
|
if ($adh->statut > 0) print " ".img_warning($langs->trans("Late")); // displays delay Pictogram only if not a draft and not terminated
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $langs->trans("SubscriptionNotReceived");
|
print '<span class="opacitymedium">'.$langs->trans("ThirdpartyNotLinkedToMember").'</span>';
|
||||||
if ($adh->statut > 0) print " ".img_warning($langs->trans("Late")); // displays delay Pictogram only if not a draft and not terminated
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print '<span class="opacitymedium">'.$langs->trans("ThirdpartyNotLinkedToMember").'</span>';
|
|
||||||
}
|
|
||||||
print '</p>';
|
|
||||||
}
|
}
|
||||||
|
print '</p>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($action == "search")
|
if ($action == "search")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user