RT# 79353 Update discount reports
authorMitch Jackson <mitch@freeside.biz>
Mon, 16 Apr 2018 20:33:30 +0000 (20:33 +0000)
committerMitch Jackson <mitch@freeside.biz>
Mon, 16 Apr 2018 20:33:30 +0000 (20:33 +0000)
httemplate/search/cust_bill_pkg_discount.html

index ba1b820..eb39dea 100644 (file)
@@ -38,7 +38,7 @@ Parameters:
         if ( $_[0]->pkgdiscountnum ) {
             # Standard discount, not a waived setup fee
             my $discount = qsearchs('discount',{
-                discountnum => $_[0]->pkgdiscountnum
+                discountnum => $_[0]->discountnum
             });
             return $discount->description;
         } else {