FIX: Total_ht not show in contract link element

This commit is contained in:
Alexandre SPANGARO 2021-03-01 03:09:36 +01:00
parent de241eced3
commit 0d954cb1c7
2 changed files with 7 additions and 1 deletions

View File

@ -7206,7 +7206,12 @@ class Form
print '</td>';
print '<td class="center">'.$objp->ref.'</td>';
print '<td>'.$objp->ref_client.'</td>';
print '<td class="right">'.price($objp->total_ht).'</td>';
print '<td class="right">';
if ($possiblelink[label] == 'LinkToContract') {
$form = new Form($db);
print $form->textwithpicto('', $langs->trans("InformationOnLinkToContract")).' ';
}
print price($objp->total_ht).'</td>';
print '<td>'.$objp->name.'</td>';
print '</tr>';
$i++;

View File

@ -1115,3 +1115,4 @@ EventReminder=Event Reminder
UpdateForAllLines=Update for all lines
OnHold=On hold
Civility=Civility
InformationOnLinkToContract=This amount is only the total of all the lines of the contract. No notion of time is taken into account.