Fixed error log warning (missing installed_extensions.inc) during upgrade to 2.2.
[fa-stable.git] / reporting / rep710.php
index 0efb023f7847a38b85066204594f60b00d3c3949..131b4b4e8a162fcc6a090230111d1a243400de08 100644 (file)
@@ -36,6 +36,7 @@ function getTransactions($from, $to, $type, $user)
        $sql = "SELECT a.*, 
                SUM(IF(ISNULL(g.amount), NULL, IF(g.amount > 0, g.amount, 0))) AS amount,
                u.user_id,
+               DATE(a.stamp) as stamp,
                UNIX_TIMESTAMP(a.stamp) as unix_stamp
                FROM ".TB_PREF."audit_trail AS a JOIN ".TB_PREF."users AS u
                LEFT JOIN ".TB_PREF."gl_trans AS g ON (g.type_no=a.trans_no