summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-12-30 01:43:16 -0800
committerIvan Kohler <ivan@freeside.biz>2013-12-30 01:43:16 -0800
commitcb6cca67db487271ce96b49289ada58691a2067d (patch)
tree003581386f08c392c03ea7757907fa7d0992d857 /httemplate/edit
parent6b4a2501a75964c864467a3bf85bbba039009049 (diff)
self-service access for contacts, RT#25533
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/cust_main-contacts.html4
-rw-r--r--httemplate/edit/msg_template.html1
-rw-r--r--httemplate/edit/process/cust_main-contacts.html4
3 files changed, 6 insertions, 3 deletions
diff --git a/httemplate/edit/cust_main-contacts.html b/httemplate/edit/cust_main-contacts.html
index cd83a2960..9f0654608 100644
--- a/httemplate/edit/cust_main-contacts.html
+++ b/httemplate/edit/cust_main-contacts.html
@@ -4,7 +4,7 @@
'post_url' => popurl(1). 'process/cust_main-contacts.html',
'no_pkey_display' => 1,
'labels' => {
- 'contactnum' => 'Contact',
+ 'contactnum' => ' ', #'Contact',
#'locationnum' => '&nbsp;',
},
'fields' => [
@@ -13,7 +13,7 @@
'colspan' => 6,
'm2m_method' => 'cust_contact',
'm2m_dstcol' => 'contactnum',
- 'm2_label' => 'Contact',
+ 'm2_label' => ' ', #'Contact',
'm2_error_callback' => $m2_error_callback,
},
],
diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html
index 06cac440e..6c9d2f414 100644
--- a/httemplate/edit/msg_template.html
+++ b/httemplate/edit/msg_template.html
@@ -209,6 +209,7 @@ my %substitutions = (
'$company_name' => 'Our company name',
'$company_address'=> 'Our company address',
'$company_phonenum' => 'Our phone number',
+ '$selfservice_server_base_url' => 'Base URL of customer self-service',
],
'contact' => [ # duplicate this for shipping
'$name' => 'Company and contact name',
diff --git a/httemplate/edit/process/cust_main-contacts.html b/httemplate/edit/process/cust_main-contacts.html
index ed874a55e..d902dee09 100644
--- a/httemplate/edit/process/cust_main-contacts.html
+++ b/httemplate/edit/process/cust_main-contacts.html
@@ -12,7 +12,9 @@
%>
<%init>
-my @contact_fields = qw( classnum first last title comment emailaddress );
+my @contact_fields = qw(
+ classnum first last title comment emailaddress selfservice_access
+);
foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
push @contact_fields, 'phonetypenum'.$phone_type->phonetypenum;
}