summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-month_year.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-09-12 04:28:25 -0700
committerIvan Kohler <ivan@freeside.biz>2013-09-12 04:28:25 -0700
commitd046cb57be3c1a74362d15e90486239cc8a5f4d7 (patch)
tree040eb0cb25fbaab97cf988bf6a3a7473bf8bc3c2 /httemplate/elements/tr-select-month_year.html
parentcc401559d97ade5a8a87afdb741195626bbdd0c4 (diff)
multiple payment options, RT#23741
Diffstat (limited to 'httemplate/elements/tr-select-month_year.html')
-rw-r--r--httemplate/elements/tr-select-month_year.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-month_year.html b/httemplate/elements/tr-select-month_year.html
new file mode 100644
index 000000000..b1943bdbd
--- /dev/null
+++ b/httemplate/elements/tr-select-month_year.html
@@ -0,0 +1,22 @@
+% unless ( $opt{'js_only'} ) {
+
+ <% include('tr-td-label.html', %opt ) %>
+
+ <TD <% $colspan %> <% $style %>>
+% }
+
+ <% include('select-month_year.html', %opt ) %>
+
+% unless ( $opt{'js_only'} ) {
+ </TD>
+ </TR>
+% }
+<%init>
+
+my %opt = @_;
+
+my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+
+my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : '';
+
+</%init>