- my( $self, $cust_pkg, $sdate, $details, $param ) = @_;
- $param ||= {};
- $self->calc_currency_option('recur_fee', $cust_pkg, $sdate, $details, $param);
+ my( $self, $cust_or_quotation_pkg, $sdate, $details, $param ) = @_;
+ $self->calc_currency_option(
+ 'recur_fee', $cust_or_quotation_pkg, $sdate, $details, $param || {}
+ );