projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71513: Card tokenization [tweaks to paycardtype checks]
[freeside.git]
/
httemplate
/
search
/
report_sqlradius_usage.html
diff --git
a/httemplate/search/report_sqlradius_usage.html
b/httemplate/search/report_sqlradius_usage.html
index
01215e8
..
3f94f29
100644
(file)
--- a/
httemplate/search/report_sqlradius_usage.html
+++ b/
httemplate/search/report_sqlradius_usage.html
@@
-1,26
+1,43
@@
+%# some overlap with report_sqlradius_usage_custnum.html
<& /elements/header.html, mt($title) &>
<FORM ACTION="sqlradius_usage.html" METHOD="GET">
<& /elements/header.html, mt($title) &>
<FORM ACTION="sqlradius_usage.html" METHOD="GET">
-<TABLE BGCOLOR="#cccccc" CELLSPACING=0
+<TABLE BGCOLOR="#cccccc" CELLSPACING=0
>
<& /elements/tr-select-agent.html,
<& /elements/tr-select-agent.html,
- 'empty_label' => 'all',
+ 'multiple' => 1,
+ 'disable_empty' => 1,
+ #'empty_label' => 'all',
&>
&>
-% my @exporttypes = map { "'$_'" } qw(sqlradius broadband_sqlradius);
+%#more future-proof to actually ask all exports if they ->can('usage_sessions')
+% my @exporttypes = qw( sqlradius sqlradius_withdomain broadband_sqlradius
+% phone_sqlradius radiator
+% );
<& /elements/tr-select-table.html,
'label' => 'Export',
'table' => 'part_export',
'name_col' => 'label',
'hashref' => {},
<& /elements/tr-select-table.html,
'label' => 'Export',
'table' => 'part_export',
'name_col' => 'label',
'hashref' => {},
- 'extra_sql' => ' WHERE exporttype IN('.join(',', @exporttypes).')',
- 'disable_empty' => 1,
+ 'extra_sql' => ' WHERE exporttype IN ( '.
+ join(',', map "'$_'", @exporttypes).
+ ')',
+ 'multiple' => 1,
'order_by' => 'ORDER BY exportnum',
&>
<& /elements/tr-input-beginning_ending.html &>
'order_by' => 'ORDER BY exportnum',
&>
<& /elements/tr-input-beginning_ending.html &>
+<& /elements/tr-radio.html,
+ 'field' => 'combine_svcs',
+ 'options' => [ 0, 1 ],
+ 'labels' => { 0 => 'Per service',
+ 1 => 'Per package',
+ },
+ 'curr_value' => 0,
+&>
+
</TABLE>
<BR>
</TABLE>
<BR>