projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged changes form stabel branch up to the current state (2.3.22+).
[fa-stable.git]
/
sales
/
manage
/
customers.php
diff --git
a/sales/manage/customers.php
b/sales/manage/customers.php
index f76e1cd9ccecc8e24a7056d5b6a6f9aa310c4151..6515b8af9624371435d1cc13b82ed522ac4d4ad8 100644
(file)
--- a/
sales/manage/customers.php
+++ b/
sales/manage/customers.php
@@
-12,7
+12,7
@@
$page_security = 'SA_CUSTOMER';
$path_to_root = "../..";
$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)
include_once($path_to_root . "/includes/session.inc");
$js = "";
if ($use_popup_windows)
@@
-117,7
+117,7
@@
function handle_submit(&$selected_id)
$selected_branch = db_insert_id();
$selected_branch = db_insert_id();
- add_crm_person($_POST['
CustName'], $_POST['cust_ref
'], '', $_POST['address'],
+ add_crm_person($_POST['
cust_ref'], $_POST['CustName
'], '', $_POST['address'],
$_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], '', '');
$pers_id = db_insert_id();
$_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], '', '');
$pers_id = db_insert_id();
@@
-362,12
+362,10
@@
tabbed_content_start('tabs', array(
break;
case 'transactions':
$_GET['customer_id'] = $selected_id;
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;
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;
};
include_once($path_to_root."/sales/inquiry/sales_orders_view.php");
break;
};