X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=01b167d9855ecb5d4aecba19254af3bf8961b156;hb=575fa4304beb3cd570a0352d52ee6c6aeb3864f7;hp=8a1066be7fdbd84d34cdf8911df7c905a4d7bd7f;hpb=0025c69bbcdcf7445db44656a408c18832ac3a68;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index 8a1066be..01b167d9 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -241,17 +241,7 @@ function customer_settings($selected_id) sales_types_list_row(_("Sales Type/Price List:"), 'sales_type', $_POST['sales_type']); if($selected_id) - { record_status_list_row(_("Customer status:"), 'inactive'); - if (!@$_REQUEST['popup']) - { - start_row(); - echo ' '; - echo viewer_link(''. _('Customer Transactions').'', "sales/inquiry/customer_inquiry.php?customer_id=$selected_id&popup=1"); - echo "\n"; - end_row(); - } - } elseif (isset($auto_create_branch) && $auto_create_branch == 1) { table_section_title(_("Branch")); @@ -347,6 +337,7 @@ if (!$selected_id) tabbed_content_start('tabs', array( 'settings' => array(_('&General settings'), $selected_id), 'contacts' => array(_('&Contacts'), $selected_id), + 'transactions' => array(_('Customer &Transactions'), $selected_id), )); switch (get_post('_tabs_sel')) { @@ -358,6 +349,12 @@ tabbed_content_start('tabs', array( $contacts = new contacts('contacts', $selected_id, 'customer'); $contacts->show(); break; + case 'transactions': + $_GET['customer_id'] = $selected_id; + $_GET['popup'] = 1; + $_SERVER['REQUEST_METHOD'] = 'GET'; + include_once($path_to_root."/sales/inquiry/customer_inquiry.php"); + break; case 'orders': }; br();