$ config.default.php
/lang/new_language_template/LC_MESSAGES/empty.po
/lang/en_US/LC_MESSAGES/en_US.mo
+# More restrictions on deleting gl_accounts
+$ /gl/manage/gl_accounts.php
01-Dec-2009 Janusz Dobrowolski
# Removing config.php after error during install. Otherwise misleading message is displayed.
$sql= "SELECT COUNT(*) FROM ".TB_PREF."company WHERE debtors_act=$acc
OR pyt_discount_act=$acc
OR creditors_act=$acc
+ OR bank_charge_act=$acc
+ OR exchange_diff_act=$acc
+ OR profit_loss_year_act=$acc
+ OR retained_earnings_act=$acc
OR freight_act=$acc
OR default_sales_act=$acc
OR default_sales_discount_act=$acc
case 31 : return array("".TB_PREF."service_orders", null, "order_no", "cust_ref", "date");
case ST_SALESQUOTE : return array("".TB_PREF."sales_orders", "trans_type", "order_no", "reference", "ord_date");
case ST_DIMENSION : return array("".TB_PREF."dimensions", null, "id", "reference", "date_");
- case ST_COSTUPDATE : return null;
+ case ST_COSTUPDATE : return array("".TB_PREF."gl_trans", "type", "type_no", null, "tran_date");
}
display_db_error("invalid type ($type) sent to get_systype_db_info", "", true);