add business-onlinepayment-currency config setting, RT#13904
[freeside.git] / FS / FS / cust_main / Billing_Realtime.pm
index 91f22ee..da6b31b 100644 (file)
@@ -306,6 +306,10 @@ sub _bop_content {
   $content{referer} = 'http://cleanwhisker.420.am/'; #XXX fix referer :/
   $content{phone} = $self->daytime || $self->night;
 
+  my $currency =    $conf->exists('business-onlinepayment-currency')
+                 && $conf->config('business-onlinepayment-currency');
+  $content{currency} = $currency if $currency;
+
   \%content;
 }