[freeside-commits] freeside/httemplate/elements tr-select-part_event.html, NONE, 1.1.2.2 select-part_event.html, NONE, 1.1.2.2 select-payby.html, 1.1, 1.1.6.1
Ivan,,,
ivan at wavetail.420.am
Fri Oct 30 16:30:15 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv25066/httemplate/elements
Modified Files:
Tag: FREESIDE_1_9_BRANCH
select-payby.html
Added Files:
Tag: FREESIDE_1_9_BRANCH
tr-select-part_event.html select-part_event.html
Log Message:
more reporting options for failed billing events, RT#6447
Index: select-payby.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-payby.html,v
retrieving revision 1.1
retrieving revision 1.1.6.1
diff -u -d -r1.1 -r1.1.6.1
--- select-payby.html 1 Mar 2008 22:23:20 -0000 1.1
+++ select-payby.html 30 Oct 2009 23:30:13 -0000 1.1.6.1
@@ -8,7 +8,9 @@
% }
% foreach my $option ( keys %{ $opt{'paybys'} } ) {
-% my $sel = ( ref($value) && $value->{$option} ) || $option eq $value;
+% my $sel = $opt{'all_selected'}
+% || ( ref($value) && $value->{$option} )
+% || $option eq $value;
<OPTION VALUE="<% $option %>"
<% $sel ? 'SELECTED' : '' %>
--- NEW FILE: tr-select-part_event.html ---
% unless ( $opt{'js_only'} ) {
<% include('tr-td-label.html', @_ ) %>
<TD <% $style %>>
% }
<% include( '/elements/select-part_event.html', %opt ) %>
% unless ( $opt{'js_only'} ) {
</TD>
</TR>
% }
<%init>
my( %opt ) = @_;
my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
</%init>
--- NEW FILE: select-part_event.html ---
<% include( '/elements/select-table.html',
'table' => 'part_event',
'name_col' => 'event',
@_,
)
%>
More information about the freeside-commits
mailing list