From 358a85b3bde83fef2919a30347ad5b6b45a44282 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 7 Feb 2014 09:02:01 +0100 Subject: [PATCH] If no memo on GL line in GL account inquiry, the comments for the voucher is shown on the line. --- gl/inquiry/gl_account_inquiry.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gl/inquiry/gl_account_inquiry.php b/gl/inquiry/gl_account_inquiry.php index 9aff2365..a44b12ea 100644 --- a/gl/inquiry/gl_account_inquiry.php +++ b/gl/inquiry/gl_account_inquiry.php @@ -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(); -- 2.30.2