X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomer_branches.php;h=cad472e24c8264c3b646f5bdf2a15830ce1b3d30;hb=9581421554b8e422fac73119acc3a8fe060ce310;hp=b3f86cfc2e5f9edf406f6b300e19bbbf02217b4d;hpb=8cac19c37c960e50f7c11964510c0d09a530e7b5;p=fa-stable.git diff --git a/sales/manage/customer_branches.php b/sales/manage/customer_branches.php index b3f86cfc..cad472e2 100644 --- a/sales/manage/customer_branches.php +++ b/sales/manage/customer_branches.php @@ -140,9 +140,9 @@ elseif ($Mode == 'Delete') $sql="DELETE FROM ".TB_PREF."cust_branch WHERE branch_code='" . $_POST['branch_code']. "' AND debtor_no='" . $_POST['customer_id']. "'"; db_query($sql,"could not delete branch"); display_notification(_('Selected customer branch has been deleted')); - $Mode = 'RESET'; } } //end ifs to test if the branch can be deleted + $Mode = 'RESET'; } if ($Mode == 'RESET' || get_post('_customer_id_update'))