projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
customer menu link to data usage report, #42310
[freeside.git]
/
httemplate
/
view
/
cust_main
/
menu.html
diff --git
a/httemplate/view/cust_main/menu.html
b/httemplate/view/cust_main/menu.html
index
b874063
..
7c7303b
100644
(file)
--- a/
httemplate/view/cust_main/menu.html
+++ b/
httemplate/view/cust_main/menu.html
@@
-131,8
+131,6
@@
</style>
</style>
-<& /elements/one_time_charge_link.html, form_only=>1 &>
-
<ul id="customer_menu">
% foreach my $submenu (@processed_menu) {
<li>
<ul id="customer_menu">
% foreach my $submenu (@processed_menu) {
<li>
@@
-317,7
+315,7
@@
my @menu = (
label => 'Schedule new appointment',
confexists => 'ticket_system',
acl => 'Make appointment',
label => 'Schedule new appointment',
confexists => 'ticket_system',
acl => 'Make appointment',
- popup => "
elements
/make_appointment.html?custnum=$custnum",
+ popup => "
misc
/make_appointment.html?custnum=$custnum",
actionlabel => 'Schedule appointment',
},
],
actionlabel => 'Schedule appointment',
},
],
@@
-358,12
+356,7
@@
my @menu = (
{
# it's just a popup, but there's some freaky CCH tax stuff in it
label => 'One-time charge',
{
# it's just a popup, but there's some freaky CCH tax stuff in it
label => 'One-time charge',
- content => sub {
- include( '/elements/one_time_charge_link.html',
- custnum => shift->custnum,
- no_form => 1,
- );
- },
+ url => "edit/quick-charge.html?custnum=$custnum",
acl => 'One-time charge',
},
{
acl => 'One-time charge',
},
{
@@
-398,8
+391,17
@@
my @menu = (
url => "search/report_svc_acct.html?custnum=$custnum",
},
{
url => "search/report_svc_acct.html?custnum=$custnum",
},
{
+ label => 'View data usage',
+ popup => "search/report_sqlradius_usage-custnum.html?$custnum",
+ acl => 'Usage: RADIUS sessions',
+ actionlabel => 'Data usage report',
+ width => 480,
+ height => 245,
+ },
+ {
label => 'View CDRs',
url => "search/report_cdr.html?custnum=$custnum",
label => 'View CDRs',
url => "search/report_cdr.html?custnum=$custnum",
+ # XXX should have a condition that the customer has any CDR packages
},
],
[
},
],
[