update flat_introrate plan to better fit current codebase RT#4912
[freeside.git] / httemplate / search / cust_pkg.cgi
index 13d0c7a..4e35b91 100755 (executable)
@@ -39,8 +39,9 @@
                                    shift->part_pkg->option('setup_fee'),
                                  );
                         },
-                    sub { sprintf( $money_char.'%.2f',
-                                   shift->part_pkg->base_recur
+                    sub { my $c = shift;
+                          sprintf( $money_char.'%.2f',
+                                   $c->part_pkg->base_recur($c)
                                  );
                         },
                     sub { #shift->part_pkg->freq_pretty;