X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gl%2Fmanage%2Fgl_accounts.php;h=807a53a72c194449c77f6b70142ec140b273e263;hb=d3bd7df5d72a7740630879ebd07e8e9a8bb7166f;hp=e9efad86bedc6fcde3fde1f5c8292750dbf1f809;hpb=ebc600101ceab69c06eac4b1bd4d1782af45de05;p=fa-stable.git diff --git a/gl/manage/gl_accounts.php b/gl/manage/gl_accounts.php index e9efad86..807a53a7 100644 --- 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 + 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