X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=af14b9a6af09421cd6bad62a1f3b60b31bfe701e;hb=7840540918bfd37c886877a5d52e3ba0b3373289;hp=006d4b90f22f33b0063ee0a35ec94f00ebb574ee;hpb=c5646306f1674738722b94590b5f1bcb78d23f49;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index 006d4b90..af14b9a6 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -12,7 +12,7 @@ $page_security = 'SA_CUSTOMER'; $path_to_root = "../.."; -include($path_to_root . "/includes/db_pager.inc"); +include_once($path_to_root . "/includes/db_pager.inc"); include_once($path_to_root . "/includes/session.inc"); $js = ""; if ($use_popup_windows) @@ -356,12 +356,10 @@ tabbed_content_start('tabs', array( break; case 'transactions': $_GET['customer_id'] = $selected_id; - $_GET['popup'] = 1; include_once($path_to_root."/sales/inquiry/customer_inquiry.php"); break; case 'orders': $_GET['customer_id'] = $selected_id; - $_GET['popup'] = 1; include_once($path_to_root."/sales/inquiry/sales_orders_view.php"); break; }; @@ -370,6 +368,6 @@ tabbed_content_end(); hidden('popup', @$_REQUEST['popup']); end_form(); -end_page(); +end_page(@$_REQUEST['popup']); ?>