X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fview%2Fgl_deposit_view.php;h=42e1aa39fdc395234ef4d6e31c5e39a61c98733b;hb=733eb13076420ced9417f53d4180c87e8a8effd8;hp=949282b5699b717060da0ac729ffa613418de734;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;p=fa-stable.git diff --git a/gl/view/gl_deposit_view.php b/gl/view/gl_deposit_view.php index 949282b5..42e1aa39 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);