Tokens flow

{{if count($data)>0}} {{if $total_count>0}}
{{assign var="last_item" value=$showing_from+$items_per_page}} {{if $last_item>$total_count}} {{assign var="last_item" value=$total_count}} {{/if}} Showing {{$showing_from+1}} - {{$last_item}} of {{$total_count}} records
{{/if}}
{{foreach item=item from=$data}} {{/foreach}}
Action Tokens Info Date
{{if $item.flow_type=='purchase_video'}} Video purchased {{elseif $item.flow_type=='purchase_album'}} Album purchased {{elseif $item.flow_type=='purchase_tokens'}} Tokens purchased {{elseif $item.flow_type=='award_signup'}} Signup {{elseif $item.flow_type=='award_avatar'}} Avatar uploaded {{elseif $item.flow_type=='award_comment'}} Comment posted {{elseif $item.flow_type=='award_video_upload'}} Video uploaded {{elseif $item.flow_type=='award_album_upload'}} Album created {{elseif $item.flow_type=='award_post_upload'}} Post created {{elseif $item.flow_type=='award_video_sale'}} Video sold {{elseif $item.flow_type=='award_album_sale'}} Album sold {{elseif $item.flow_type=='award_referral'}} Referral revenue {{elseif $item.flow_type=='award_donation'}} Donation from user {{elseif $item.flow_type=='payout'}} Payout {{elseif $item.flow_type=='donation'}} Donation to user {{elseif $item.flow_type=='award_video_traffic'}} Video views {{elseif $item.flow_type=='award_album_traffic'}} Album views {{/if}} {{$item.tokens}} {{if $item.object_info!=''}} {{$item.object_info}} {{elseif $item.object_id>0}} Object has been deleted {{/if}} {{if $item.notes!=''}} ({{$item.notes}}) {{/if}} {{$item.date|date_format:"%text"}}
{{else}}
There are no records in the list.
{{/if}}