projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rerun
[fa-stable.git]
/
gl
/
manage
/
gl_accounts.php
diff --git
a/gl/manage/gl_accounts.php
b/gl/manage/gl_accounts.php
index e9efad86bedc6fcde3fde1f5c8292750dbf1f809..807a53a72c194449c77f6b70142ec140b273e263 100644
(file)
--- a/
gl/manage/gl_accounts.php
+++ b/
gl/manage/gl_accounts.php
@@
-121,6
+121,10
@@
function can_delete($selected_account)
$sql= "SELECT COUNT(*) FROM ".TB_PREF."company WHERE debtors_act=$acc
OR pyt_discount_act=$acc
OR creditors_act=$acc
$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
OR freight_act=$acc
OR default_sales_act=$acc
OR default_sales_discount_act=$acc