sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r12076: LJSUP-12161: Create new table for self p...

Committer: vtroitsky
LJSUP-12161: Create new table for self promo in paid summary.bml
U   trunk/htdocs/admin/accounts/paidsummary.bml
Modified: trunk/htdocs/admin/accounts/paidsummary.bml
===================================================================
--- trunk/htdocs/admin/accounts/paidsummary.bml	2012-06-07 12:44:36 UTC (rev 12075)
+++ trunk/htdocs/admin/accounts/paidsummary.bml	2012-06-07 14:13:00 UTC (rev 12076)
@@ -265,6 +265,10 @@
         }
         elsif ($item eq 'coupon') {
             $subkey = $amount;
+        } elsif ($item eq 'selfpromo') {
+            my $sp_type = $it->get_prop('selfpromo') || 'entry';
+            my $sp_country = $it->get_prop('selfpromo_country') || 'cyr';
+            $subkey = "selfpromo $sp_type $sp_country";
         }
         else {
             $subkey = ( UNIVERSAL::isa($it, 'LJ::Pay::Payment::PayItem::Addon::Sized')

Tags: bml, ljcom, sunnyman, vtroitsky
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments