If no memo on GL line in GL account inquiry, the comments for the voucher is shown...
authorJoe <unknown>
Fri, 7 Feb 2014 08:02:01 +0000 (09:02 +0100)
committerJoe <unknown>
Fri, 7 Feb 2014 08:02:01 +0000 (09:02 +0100)
gl/inquiry/gl_account_inquiry.php

index 9aff2365ac093c3c9d50d8c1d315100e4ad847bc..a44b12ea49c72b8e9870538874f0b45a37a2104d 100644 (file)
@@ -194,6 +194,8 @@ function show_results()
                display_debit_or_credit_cells($myrow["amount"]);
                if ($show_balances)
                    amount_cell($running_total);
+               if ($myrow['memo_'] == "")
+                       $myrow['memo_'] = get_comments_string($myrow['type'], $myrow['type_no']);
        label_cell($myrow['memo_']);
        end_row();