diff options
-rw-r--r-- | httemplate/elements/tr-select-invoice.html | 7 |
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> |