projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The average material cost test for either qoh > 0 and qoh + qty > 0 has changed to...
[fa-stable.git]
/
admin
/
fiscalyears.php
diff --git
a/admin/fiscalyears.php
b/admin/fiscalyears.php
index d886608f92cd4feba91ba2a0f00db3e7a0baea0e..d6d05c5a14153a643c25e7fc4c924adcd66c32cc 100644
(file)
--- a/
admin/fiscalyears.php
+++ b/
admin/fiscalyears.php
@@
-20,7
+20,7
@@
include_once($path_to_root . "/includes/ui.inc");
include_once($path_to_root . "/sales/includes/db/cust_trans_db.inc");
include_once($path_to_root . "/admin/db/maintenance_db.inc");
$js = "";
include_once($path_to_root . "/sales/includes/db/cust_trans_db.inc");
include_once($path_to_root . "/admin/db/maintenance_db.inc");
$js = "";
-if (
$use_date_picker
)
+if (
user_use_date_picker()
)
$js .= get_js_date_picker();
page(_($help_context = "Fiscal Years"), false, false, "", $js);
$js .= get_js_date_picker();
page(_($help_context = "Fiscal Years"), false, false, "", $js);
@@
-99,7
+99,7
@@
function check_can_delete($selected_id)
// PREVENT DELETES IF DEPENDENT RECORDS IN gl_trans
if (check_years_before(sql2date($myrow['begin']), true))
{
// PREVENT DELETES IF DEPENDENT RECORDS IN gl_trans
if (check_years_before(sql2date($myrow['begin']), true))
{
- display_error(_("Cannot delete this fiscal year because ther
a
are fiscal years before."));
+ display_error(_("Cannot delete this fiscal year because ther
e
are fiscal years before."));
return false;
}
if ($myrow['closed'] == 0)
return false;
}
if ($myrow['closed'] == 0)
@@
-253,4
+253,3
@@
display_fiscalyear_edit($selected_id);
end_page();
end_page();
-?>