X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fprefs%2Fsysprefs.inc;h=f8e782826386d78afcec9e0fc7a7dbf44a852f9e;hb=ddadb47f2620ce6902ad4694ce6512568862ba05;hp=3c5df2f0652abe348e4be53d9f1f1d6ff1142865;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/includes/prefs/sysprefs.inc b/includes/prefs/sysprefs.inc index 3c5df2f0..f8e78282 100644 --- a/includes/prefs/sysprefs.inc +++ b/includes/prefs/sysprefs.inc @@ -1,5 +1,14 @@ . +***********************************************************************/ include_once($path_to_root . "/admin/db/company_db.inc"); class sys_prefs @@ -39,6 +48,11 @@ class sys_prefs return get_company_pref('default_workorder_required'); } + function default_delivery_required_by() + { + return get_company_pref('default_delivery_required'); + } + function default_dimension_required_by() { return get_company_pref('default_dim_required');