Moved payment terms in documents for better view. Increased space for legal text.
[fa-stable.git] / gl / includes / db / gl_db_trans.inc
index b529bd09a60771ee31569133b149332ac101be07..af06cedf7a4122aaad4554584c79bfb65f635c74 100644 (file)
@@ -130,7 +130,7 @@ function get_gl_transactions($from_date, $to_date, $trans_no=0,
        if ($amount_max != null)
                $sql .= " AND ABS(".TB_PREF."gl_trans.amount) <= ABS(".db_escape($amount_max).")";
 
-       $sql .= " ORDER BY tran_date";
+       $sql .= " ORDER BY tran_date, counter";
 
        return db_query($sql, "The transactions for could not be retrieved");
 }