2
0
forked from Wavyzz/dolibarr

Fix message

This commit is contained in:
Laurent Destailleur
2023-02-15 18:23:02 +01:00
parent bfd48d44ad
commit ec1f6de6ac

View File

@@ -917,7 +917,7 @@ foreach ($listofreferent as $key => $value) {
print '<td class="right">'.$i.'</td>';
// Amount HT
print '<td class="right">';
if ($key == 'intervention' && !$qualifiedforfinalprofit) {
if ($key == 'intervention' && !$margin) {
print '<span class="opacitymedium">'.$form->textwithpicto($langs->trans("NA"), $langs->trans("AmountOfInteventionNotIncludedByDefault")).'</span>';
} else {
if ($key == 'propal') {
@@ -928,7 +928,7 @@ foreach ($listofreferent as $key => $value) {
print '</td>';
// Amount TTC
print '<td class="right">';
if ($key == 'intervention' && !$qualifiedforfinalprofit) {
if ($key == 'intervention' && !$margin) {
print '<span class="opacitymedium">'.$form->textwithpicto($langs->trans("NA"), $langs->trans("AmountOfInteventionNotIncludedByDefault")).'</span>';
} else {
if ($key == 'propal') {