add business-onlinepayment-currency config setting, RT#13904
[freeside.git] / FS / FS / cust_main / Billing_Realtime.pm
index 97e7c94..0156c53 100644 (file)
@@ -299,6 +299,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;
 }