From 094f2276c201414c84c7cddfac387247c4877966 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 27 Jul 2009 10:05:26 +0000 Subject: [PATCH] Fixed branch selection via url --- sales/manage/customer_branches.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sales/manage/customer_branches.php b/sales/manage/customer_branches.php index 433b0127..0fe2dbe2 100644 --- a/sales/manage/customer_branches.php +++ b/sales/manage/customer_branches.php @@ -43,6 +43,7 @@ if (isset($_GET['SelectedBranch'])) $br = get_branch($_GET['SelectedBranch']); $_POST['customer_id'] = $br['debtor_no']; $selected_id = $_POST['branch_code'] = $br['branch_code']; + $Mode = 'Edit'; } //----------------------------------------------------------------------------------------------- @@ -195,7 +196,7 @@ if ($num_branches) $th = array(_("Name"), _("Contact"), _("Sales Person"), _("Area"), _("Phone No"), _("Fax No"), _("E-mail"), _("Tax Group"), "", ""); inactive_control_column($th); - if (count($_SESSION['Context'])) $th[] = ''; + if (count($_REQUEST['popup'])) $th[] = ''; table_header($th); -- 2.30.2