From: Christopher Burger Date: Wed, 3 Jan 2018 00:52:46 +0000 (-0500) Subject: RT# 34134 - added open invoices selection when selecting pay specific invoice X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=8f20806ac6eb7487c97f7d1c6d1b44acf0ad7674 RT# 34134 - added open invoices selection when selecting pay specific invoice --- diff --git a/httemplate/elements/tr-select-invoice.html b/httemplate/elements/tr-select-invoice.html index 03625b659..70923b633 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', +}); +