summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-01-02 19:52:46 -0500
committerMitch Jackson <mitch@freeside.biz>2018-01-08 21:35:47 -0600
commit856c15aef58e4a4574b15b5a1d4ba7a893883c3f (patch)
tree34f4a39b21ef6db772fa2f649835a26238ea020e
parent15c8ee2f20ee09f1210c484c6393ddb7d603dd3b (diff)
RT# 34134 - added open invoices selection when selecting pay specific invoice
-rw-r--r--httemplate/elements/tr-select-invoice.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-invoice.html b/httemplate/elements/tr-select-invoice.html
index 03625b6..70923b6 100644
--- a/httemplate/elements/tr-select-invoice.html
+++ b/httemplate/elements/tr-select-invoice.html
@@ -22,4 +22,11 @@
my %opt = @_;
+my @records = qsearch( {
+ 'select' => '*',
+ 'table' => 'cust_bill',
+ 'hashref' => { 'custnum' => $opt{custnum} },
+ 'order_by' => 'ORDER BY _date',
+});
+
</%init>