$ -> Affected files
05-Jun-2010 Joe Hunt
-! Allowing SA_FISCALYEAR access to enter transactions on open fiscal years
+! Allowing SA_MULTIFISCALYEAR access to enter transactions on open fiscal years
$ /admin/db/fiscalyears_db.inc
/includes/date_functions.inc
+ /includes/acces_levels.inc
31-May-2010 Joe Hunt
! Allowing modifying of Bank Payments/Deposits
'SA_FISCALYEARS' => array(SS_GL_C|9, _("Fiscal years maintenance")),
'SA_GLSETUP' => array(SS_GL_C|10, _("Company GL setup")),
'SA_GLACCOUNTTAGS' => array(SS_GL_C|11, _("GL Account tags")),
+ 'SA_MULTIFISCALYEARS' => array(SS_GL_C|13, _("Allow entry on non closed Fiscal years")),
'SA_BANKTRANSVIEW' => array(SS_GL|1, _("Bank transactions view")),
'SA_GLTRANSVIEW' => array(SS_GL|2, _("GL postings view")),
global $path_to_root;
include_once($path_to_root . "/admin/db/fiscalyears_db.inc");
- if ($_SESSION["wa_current_user"]->can_access('SA_FISCALYEARS')) // allow all open years for this one
+ if ($_SESSION["wa_current_user"]->can_access('SA_MULTIFISCALYEARS')) // allow all open years for this one
return is_date_in_fiscalyears($date, false);
$myrow = get_current_fiscalyear();
if ($myrow['closed'] == 1)