memo field was not written in list of journal entries
[fa-stable.git] / reporting / rep702.php
index 2600df6ba3f02fced02f9598cc88050603b15b1d..5955c52fb14ebe0d9bd9d7d06e8b2300c98b752d 100644 (file)
@@ -87,7 +87,12 @@ function print_list_of_journal_entries()
             $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);
         }