Committer: wisest-owl
LJSUP-13388: LJ Shop - StylesU trunk/htdocs/admin/accounts/paidsummary.bml
Modified: trunk/htdocs/admin/accounts/paidsummary.bml =================================================================== --- trunk/htdocs/admin/accounts/paidsummary.bml 2012-12-05 06:05:30 UTC (rev 12995) +++ trunk/htdocs/admin/accounts/paidsummary.bml 2012-12-05 07:48:04 UTC (rev 12996) @@ -352,6 +352,16 @@ elsif ($item eq 'donate') { # LJSUP-14373: Remove donate and repost from paid summary next; } + elsif ($item eq 'theme') { + my ($is_buyout) = $it->{'subitem'} =~ m#^theme-\d+:\d+:(\d+)#; + if ($is_buyout) { + $subkey = 'theme_buyout'; + } elsif ($it->get_prop ('have_discount') > 0) { + $subkey = 'theme_discount'; + } else { + $subkey = 'theme_purchase'; + } + } else { $subkey = ( UNIVERSAL::isa($it, 'LJ::Pay::Payment::PayItem::Addon::Sized') ? ((split('-', $it->{subitem}))[0] . '-')