X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fview%2Fgl_deposit_view.php;h=88b9a2f23e415e0ebb0d7e068be7ce46eb47ac4b;hb=f1fe277df787cdefb65142d66ce247b8757ba057;hp=bd231d93f5a2a43f2c3c009dd235a3f707de07ca;hpb=50606312fee0bb0dbe984e2c08af53b7dab229bd;p=fa-stable.git diff --git a/gl/view/gl_deposit_view.php b/gl/view/gl_deposit_view.php index bd231d93..88b9a2f2 100644 --- a/gl/view/gl_deposit_view.php +++ b/gl/view/gl_deposit_view.php @@ -122,14 +122,14 @@ else label_cell(get_dimension_string($item['dimension_id'], true)); if ($dim > 1) label_cell(get_dimension_string($item['dimension2_id'], true)); - amount_cell($item["amount"]); + amount_cell(-$item["amount"]); label_cell($item["memo_"]); end_row(); $total_amount += $item["amount"]; } } - label_row(_("Total"), number_format2($total_amount, user_price_dec()),"colspan=".(2+$dim)." align=right", "align=right"); + label_row(_("Total"), number_format2(-$total_amount, user_price_dec()),"colspan=".(2+$dim)." align=right", "align=right"); end_table(1);