projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0000593,0001093: Prepayments made against orders implemented.
[fa-stable.git]
/
includes
/
data_checks.inc
diff --git
a/includes/data_checks.inc
b/includes/data_checks.inc
index a37c91d4a6a711021deef3be48bc96f7f030fe90..cfb87a61e5c4d9c89c396431eab442b359dfa018 100644
(file)
--- a/
includes/data_checks.inc
+++ b/
includes/data_checks.inc
@@
-499,4
+499,14
@@
function check_is_closed($type, $type_no, $msg=null)
}
}
-?>
\ No newline at end of file
+function check_deferred_income_act($msg)
+{
+ global $path_to_root;
+
+ if (!get_company_pref('deferred_income_act'))
+ {
+ display_error($msg, true);
+ end_page();
+ exit;
+ }
+}