! -> Note
$ -> Affected files
-
+------------------------------- Release 2.3.2 ------------------------------------
+13-Feb-2011 Joe Hunt
+! Release 2.3.2
+$ version.php
+! A global variable in config.php, $show_voided_gl_trans = 1 shows 0 amount
+ transactions in gl inquiry and reports.
+$ /config.default.php
+ /gl/includes/db/gl_db_trans.inc
+ .
13-Feb-2011 Janusz Dobrowolski
! Updated gettext template
$ /lang/new_language_template/LC_MESSAGES/empty.po
/* use Audit Trails in GL */
$use_audit_trail = 0;
+ /* $show_voiced_gl_trans = 0, setting this to 1 will show the voided gl trans */
+ $show_voided_gl_trans = 0;
+
/* use old style convert (income and expense in BS, PL) */
$use_oldstyle_convert = 0;
$account=null, $dimension=0, $dimension2=0, $filter_type=null,
$amount_min=null, $amount_max=null)
{
+ global $show_voided_gl_trans;
+
$from = date2sql($from_date);
$to = date2sql($to_date);
AND ISNULL(v.date_)
AND tran_date >= '$from'
AND tran_date <= '$to'";
+ if (isset($show_voided_gl_trans) && $show_voided_gl_trans == 1)
+ $sql .= " AND ".TB_PREF."gl_trans.amount <> 0";
if ($trans_no > 0)
$sql .= " AND ".TB_PREF."gl_trans.type_no LIKE ".db_escape('%'.$trans_no);
// application version - can be overriden in config.php
if (!isset($version))
- $version = "2.3.1";
+ $version = "2.3.2";
//======================================================================
// Extension packages repository settings