summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-01-02 19:52:46 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-06-19 12:29:12 -0400
commit929f727a3d09b7f4d4918fc6b15aade1a0e43ce6 (patch)
tree48b24f2bc942029e42f0351eb39ecff9598f017a
parentc187712be2bdaf85586bfcf6b4070dbe165a33dd (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 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',
+});
+
</%init>