# [0000159] Memo field's GL entries are not saved (gl_trans) in supplier invoice
$ /purchasing/includes/purchasing_db.inc
/purchasing/includes/db/invoice_db.inc
+# memo field was not written in list of journal entries.
+$ /reporting/rep702.php
08-Aug-2009 Janusz Dobrowolski
# Fixed bug in calculation of taxes for quick entries using multiply tax rates
$coms = payment_person_types::person_name($myrow["person_type_id"],$myrow["person_id"]);
$memo = get_comments_string($myrow['type'], $myrow['type_no']);
if ($memo != '')
- $coms .= ($coms!= "")?"/":"" . $memo;
+ {
+ if ($coms == "")
+ $coms = $memo;
+ else
+ $coms .= " / ".$memo;
+ }
$rep->TextCol(3, 6, $coms);
$rep->NewLine(2);
}