projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add customer status column to customer & most other reports. also put the C in ACL...
[freeside.git]
/
httemplate
/
search
/
cust_bill_event.html
diff --git
a/httemplate/search/cust_bill_event.html
b/httemplate/search/cust_bill_event.html
index
197f280
..
334bda3
100755
(executable)
--- a/
httemplate/search/cust_bill_event.html
+++ b/
httemplate/search/cust_bill_event.html
@@
-1,16
+1,15
@@
-<%
=
include(
+<% include(
'/elements/header.html',
( $cgi->param('failed') ? 'Failed invoice events' : 'Invoice events' ),
'/elements/header.html',
( $cgi->param('failed') ? 'Failed invoice events' : 'Invoice events' ),
- include('/elements/menubar.html',
- 'Main menu' => $p, # popurl(2),
- ),
-
- )
+ )
%>
<FORM ACTION="cust_bill_event.cgi" METHOD="GET">
%>
<FORM ACTION="cust_bill_event.cgi" METHOD="GET">
- <INPUT TYPE="hidden" NAME="failed" VALUE="<%
=
$cgi->param('failed') %>">
+ <INPUT TYPE="hidden" NAME="failed" VALUE="<% $cgi->param('failed') %>">
<TABLE>
<TABLE>
+
+ <% include( '/elements/tr-select-agent.html' ) %>
+
<!--<TR>
<TD ALIGN="right">Customer type</TD>
<TD><SELECT MULTIPLE NAME="perhaps_payby">
<!--<TR>
<TD ALIGN="right">Customer type</TD>
<TD><SELECT MULTIPLE NAME="perhaps_payby">
@@
-23,15
+22,16
@@
</TD>
</TR>
-->
</TD>
</TR>
-->
- <%
=
include( '/elements/tr-input-beginning_ending.html' ) %>
+ <% include( '/elements/tr-input-beginning_ending.html' ) %>
<!--
<TR>
<TD ALIGN="right">Events: </TD>
<TD>
<SELECT NAME="eventpart">
<!--
<TR>
<TD ALIGN="right">Events: </TD>
<TD>
<SELECT NAME="eventpart">
- <OPTION SELECTED VALUE=""><%= $cgi->param('failed') ? '(all failed events)' : '(all events)' %>
- <% foreach my $part_bill_event ( qsearch( 'part_bill_event', {} ) ) { %>
- <% } %>
+ <OPTION SELECTED VALUE=""><% $cgi->param('failed') ? '(all failed events)' : '(all events)' %>
+% #foreach my $part_bill_event ( qsearch( 'part_bill_event', {} ) ) {
+% #}
+
</SELECT>
</TD>
</TR>
</SELECT>
</TD>
</TR>
@@
-54,5
+54,11
@@
</TABLE>
<BR><INPUT TYPE="submit" VALUE="Get Report">
</FORM>
</TABLE>
<BR><INPUT TYPE="submit" VALUE="Get Report">
</FORM>
- </BODY>
-</HTML>
+
+<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Billing event reports');
+
+</%init>