projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merging RT 4.0.6
[freeside.git]
/
httemplate
/
view
/
svc_acct.cgi
diff --git
a/httemplate/view/svc_acct.cgi
b/httemplate/view/svc_acct.cgi
index
47dc369
..
3ad21bb
100755
(executable)
--- a/
httemplate/view/svc_acct.cgi
+++ b/
httemplate/view/svc_acct.cgi
@@
-1,22
+1,22
@@
% if ( $custnum ) {
% if ( $custnum ) {
- <& /elements/header.html, mt("View
$svc account"
) &>
+ <& /elements/header.html, mt("View
[_1] account",$svc
) &>
<& /elements/small_custview.html, $custnum, '', 1,
"${p}view/cust_main.cgi" &>
<BR>
% } else {
<& /elements/small_custview.html, $custnum, '', 1,
"${p}view/cust_main.cgi" &>
<BR>
% } else {
-% my $delmsg = mt('Permanently delete this account?');
+% my $delmsg =
e
mt('Permanently delete this account?');
<SCRIPT>
function areyousure(href) {
<SCRIPT>
function areyousure(href) {
- if (confirm(
"<% $delmsg %>"
) == true)
+ if (confirm(
<% $delmsg |js_string %>
) == true)
window.location.href = href;
}
</SCRIPT>
<& /elements/header.html, mt('View account'), menubar(
window.location.href = href;
}
</SCRIPT>
<& /elements/header.html, mt('View account'), menubar(
- mt("Cancel this (unaudited) account") =>
+
e
mt("Cancel this (unaudited) account") =>
"javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')",
) &>
"javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')",
) &>
@@
-47,6
+47,7
@@
<& svc_acct/basics.html,
'svc_acct' => $svc_acct,
'part_svc' => $part_svc,
<& svc_acct/basics.html,
'svc_acct' => $svc_acct,
'part_svc' => $part_svc,
+ 'cust_svc' => $cust_svc,
%gopt,
&>
%gopt,
&>
@@
-71,8
+72,15
@@
<BR><BR>
% }
<BR><BR>
% }
+<& elements/svc_export_status.html, $svc_acct &>
+
<& elements/svc_export_settings.html, $svc_acct &>
<& elements/svc_export_settings.html, $svc_acct &>
+% if ( $conf->config('ticket_system') ) {
+<& /elements/table-tickets.html, object => $cust_svc &>
+% }
+
+<BR>
<% joblisting({'svcnum'=>$svcnum}, 1) %>
<& /elements/footer.html &>
<% joblisting({'svcnum'=>$svcnum}, 1) %>
<& /elements/footer.html &>