Skip to content

Commit 73e54ae

Browse files
FIX: rename and add class for column total_ttc in line template (view and title) (#33590)
1 parent 125b61d commit 73e54ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

htdocs/core/tpl/objectline_title.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
}
205205

206206
if ($outputalsopricetotalwithtax) {
207-
print '<th class="right" style="width: 80px">'.$langs->trans('TotalTTCShort').'</th>';
207+
print '<th class="linecolttc right" style="width: 80px">'.$langs->trans('TotalTTCShort').'</th>';
208208
}
209209

210210
if (isModEnabled('asset') && $object->element == 'invoice_supplier') {

htdocs/core/tpl/objectline_view.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@
517517

518518
// Price inc tax
519519
if ($outputalsopricetotalwithtax) {
520-
print '<td class="linecolht nowrap right">'.price($sign * $line->total_ttc).'</td>';
520+
print '<td class="linecolttc nowrap right">'.price($sign * $line->total_ttc).'</td>';
521521
$coldisplay++;
522522
}
523523

0 commit comments

Comments
 (0)