[ljcom] r11750: LJSUP-11857: Cyr sub domains
Committer: akanashin
LJSUP-11857: Cyr sub domainsU trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm 2012-04-20 14:17:25 UTC (rev 11749)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm 2012-04-20 14:45:42 UTC (rev 11750)
@@ -54,6 +54,7 @@
'current_username' => $current->user,
'type' => $buy_manage ||= 'buy',
'domains' => $domains,
+ 'total_cost' => $LJ::Pay::Payment::PayItem::DomainRU::shop_price*LJ::Pay::Wallet::EXCHANGE_RATE,
);
unless ($LJ::TESTING_ENVIRONMENT) {
@@ -67,7 +68,6 @@
$ret{'is_authas'} = $current->user eq $remote->user ? 0 : 1;
} else {
$ret{'authas'} = [ LJ::get_authas_list($remote, $authas_opts) ];
- $ret{'total_cost'} = $self->{'total_cost'};
}
return \%ret;
