diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-01-02 19:47:44 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-01-02 19:47:44 -0500 |
| commit | ca2f12276eb88b2e71762c76974ae564f008b8c1 (patch) | |
| tree | 84ea86c8cae2029fc71c441f76758ef660a078db /httemplate/elements/tr-select-invoice.html | |
| parent | 4d873df8a99f87a6427a58ccd3e69b1c9474f44a (diff) | |
RT# 34134 - removed payment amount field from payment screen, added 3 payment options (pay full balance, pay specific invoice, pay another amount) which will prefill the payment amount field.
Diffstat (limited to 'httemplate/elements/tr-select-invoice.html')
| -rw-r--r-- | httemplate/elements/tr-select-invoice.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-invoice.html b/httemplate/elements/tr-select-invoice.html new file mode 100644 index 000000000..03625b659 --- /dev/null +++ b/httemplate/elements/tr-select-invoice.html @@ -0,0 +1,25 @@ + + <TR ID="invoice_row" STYLE="display:none;"> + <TH ALIGN="right"><% mt('Open invoices') |h %></TH> + <TD COLSPAN=7> + <SELECT + ID = "<% $opt{prefix} %>invoice" + NAME = "<% $opt{prefix} %>invoice" + onChange = "<% $opt{prefix} %>invoice_select_changed(this)" + <% $opt{disabled} %> + > + <OPTION VALUE="select">Select an invoice to pay</OPTION> +% foreach my $record (@records) { +% my $read_date = time2str("%b %o, %Y", $record->_date); + <OPTION VALUE="<% $record->charged %>"><% $record->invnum %> (<% $read_date %>) - <% $record->charged %></OPTION> +% } + + </SELECT> + </TD> + </TR> + +<%init> + +my %opt = @_; + +</%init> |
