sub price_info {
my $self = shift;
- my $str = $self->SUPER::price_info;
+ my $str = $self->SUPER::price_info(@_);
$str .= " (or local currency pricing)" if $str;
$str;
}
sub can_discount { 0; } #can't discount yet (percentage would work, but amount?)
sub calc_recur {
my $self = shift;
+
#my($cust_pkg, $sdate, $details, $param ) = @_;
- #$self->calc_recur_Common($cust_pkg,$sdate,$details,$param);
- $self->calc_recur_Common(@_);
+ my $cust_pkg = $_[0];
+
+ ($cust_pkg->quantity || 1) * $self->calc_recur_Common(@_); #($cust_pkg,$sdate,$details,$param);
+
}
sub is_free { 0; }
sub can_currency_exchange { 1; }
+sub can_usageprice { 0; }
+
1;