From: Joe Date: Fri, 7 Feb 2014 08:02:01 +0000 (+0100) Subject: If no memo on GL line in GL account inquiry, the comments for the voucher is shown... X-Git-Tag: 2.3-final~156 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=358a85b3bde83fef2919a30347ad5b6b45a44282;p=fa-stable.git If no memo on GL line in GL account inquiry, the comments for the voucher is shown on the line. --- 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();