- {
- $total = $order->gl_items_total();
- if ($order->trans_type == systypes::bank_deposit())
- $total *= -1;
- label_row(_("Total"), number_format2($total, user_price_dec()),"colspan=" . $colspan . " align=right", "align=right",3);
- }
+ label_row(_("Total"), number_format2(abs($order->gl_items_total()), user_price_dec()),"colspan=" . $colspan . " align=right", "align=right",3);
+