X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=8cc3401d9638f0a4117d1e867f99cfef9378d8b2;hb=cfedd5f88e44b4dfa5453dea789fe600f76c3331;hp=01b167d9855ecb5d4aecba19254af3bf8961b156;hpb=575fa4304beb3cd570a0352d52ee6c6aeb3864f7;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index 01b167d9..8cc3401d 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -338,6 +338,7 @@ tabbed_content_start('tabs', array( 'settings' => array(_('&General settings'), $selected_id), 'contacts' => array(_('&Contacts'), $selected_id), 'transactions' => array(_('Customer &Transactions'), $selected_id), + 'orders' => array(_('&Orders'), $selected_id), )); switch (get_post('_tabs_sel')) { @@ -356,6 +357,11 @@ tabbed_content_start('tabs', array( include_once($path_to_root."/sales/inquiry/customer_inquiry.php"); break; case 'orders': + $_GET['customer_id'] = $selected_id; + $_GET['popup'] = 1; + $_SERVER['REQUEST_METHOD'] = 'GET'; + include_once($path_to_root."/sales/inquiry/sales_orders_view.php"); + break; }; br(); tabbed_content_end();