From 8f20806ac6eb7487c97f7d1c6d1b44acf0ad7674 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 2 Jan 2018 19:52:46 -0500 Subject: [PATCH] RT# 34134 - added open invoices selection when selecting pay specific invoice --- httemplate/elements/tr-select-invoice.html | 7 +++++++ 1 file changed, 7 insertions(+) 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', +}); + -- 2.11.0