! -> Note
$ -> Affected files
+15-Mar-2009 Joe Hunt
+# Minor bug in Report List of Journal Entries
+$ /reporting/rep702.php
+
14-Mar-2009 Joe Hunt
! Changed so exchange variances is stamped on invoice GL instead of payment GL
if invoice date is later than payment date
$trans = get_gl_transactions($from, $to, -1, null, 0, 0, $systype);
- $typeno = 0;
+ $typeno = $type = 0;
while ($myrow=db_fetch($trans))
{
- if ($typeno != $myrow['type_no'])
+ if ($type != $myrow['type'] || $typeno != $myrow['type_no'])
{
if ($typeno != 0)
{
$rep->NewLine();
}
$typeno = $myrow['type_no'];
+ $type = $myrow['type'];
$TransName = systypes::name($myrow['type']);
$rep->TextCol(0, 2, $TransName . " # " . $myrow['type_no']);
$rep->DateCol(2, 3, $myrow['tran_date'], true);