[freeside-commits] freeside/httemplate/view/cust_main/payment_history statement.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Wed Aug 19 21:03:37 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history
In directory wavetail.420.am:/tmp/cvs-serv8501/httemplate/view/cust_main/payment_history
Added Files:
statement.html
Log Message:
Emailing statements of accounts, RT#4860
--- NEW FILE: statement.html ---
<% $link %><% $pre %>Statement #<% $statementnum %>
%# (Balance $ <% $cust_statement->owed %>)
<% $post %><% $link ? '</A>' : '' %><% $events %>
<%init>
my( $cust_statement, %opt ) = @_;
my $curuser = $FS::CurrentUser::CurrentUser;
my($pre, $post) = ('', '');
#if ( $cust_statement->owed > 0 ) {
# $pre = '<B><FONT SIZE="+1" COLOR="#FF0000">Open ';
# $post = '</FONT></B>';
#}
my $statementnum = $cust_statement->statementnum;
my $link = $curuser->access_right('View invoices')
? qq!<A HREF="${p}view/cust_statement.html?$statementnum">!
: '';
my $events = '';
#if ( $cust_statement->num_cust_event
# && ( $curuser->access_right('Billing event reports')
# || $curuser->access_right('View customer billing events')
# )
# ) {
# $events =
# qq!<BR><FONT SIZE="-1"><A HREF="${p}search/cust_event.html?statementnum=!.
# $cust_statement->statementnum. '">( View statement events )</A></FONT>';
#}
</%init>
More information about the freeside-commits
mailing list