Show the discount on TakePOS

This commit is contained in:
Laurent Destailleur 2019-03-27 18:15:02 +01:00
parent 6e643e90cf
commit ef182e4155
2 changed files with 5 additions and 3 deletions

View File

@ -46,7 +46,7 @@ button.calcbutton3 {
text-align: center;
font-size:120%;
overflow: visible; /* removes extra width in IE */
width:12%;
width:24%;
height:24%;
}
@ -60,7 +60,7 @@ button.actionbutton {
text-align: center;
overflow: visible; /* removes extra width in IE */
width:33%;
height:33%;
height:24%;
}
div.wrapper{

View File

@ -379,6 +379,7 @@ print '<div class="div-table-responsive-no-min invoice">';
print '<table id="tablelines" class="noborder noshadow" width="100%">';
print '<tr class="liste_titre nodrag nodrop">';
print '<td class="linecoldescription">' . $langs->trans('Description') . '</td>';
print '<td class="linecolqty right">' . $langs->trans('ReductionShort') . '</td>';
print '<td class="linecolqty right">' . $langs->trans('Qty') . '</td>';
print '<td class="linecolht right">' . $langs->trans('TotalHTShort') . '</td>';
print "</tr>\n";
@ -408,7 +409,8 @@ if ($placeid > 0) {
}
if (!empty($line->array_options['options_order_notes'])) echo "<br>(".$line->array_options['options_order_notes'].")";
print '</td>';
print '<td class="right">' . $line->qty . '</td>';
print '<td class="right">' . vatrate($line->remise_percent, true) . '</td>';
print '<td class="right">' . $line->qty . '</td>';
print '<td class="right">' . price($line->total_ttc) . '</td>';
print '</tr>';
}