Custom Stat for Rakeback in different currency
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jul 2008
    Posts
    153

    Default Custom Stat for Rakeback in different currency

    Hi

    I can see from previous examples to get a custom stat to show rakeback you would have something like the following:

    HTML Code:
    <Stat GroupName="Default" ColumnName="RB" ValueExpressions="Sum(PH.RakeAmount)/100.0*0.5 as RakeBackAmount" Evaluate="RakeBackAmount" ColumnHeader="Rakeback" 
    ColumnFormat="$0.00" ColumnWidth="*" Tooltip="Rakeback based on 50%" />
    However, this doesn't take into account the currency. I have noticed that the gt table has the currency_id and I have noticed that the currency table contains the actual conversion rate. However, I can't seem to access the currency table and can't find information on how to do the following

    HTML Code:
    <Stat GroupName="Default" ColumnName="RB" ValueExpressions="Sum(PH.RakeAmount*currency.current_rate_in_usd)/100.0*0.5 as RakeBackAmount" Evaluate="RakeBackAmount" ColumnHeader="Rakeback" 
    ColumnFormat="$0.00" ColumnWidth="*" Tooltip="Rakeback based on 50%" />
    Can anyone help? Much appreciated

  2. #2
    Junior Member
    Join Date
    Feb 2010
    Posts
    16

    Default

    push

Similar Threads

  1. Add rakeback as custom stat
    By Swollyourrollcom in forum Manager General
    Replies: 23
    Last Post: 04-24-2011, 05:40 PM
  2. WC rakeback custom stat?
    By Kikadell in forum Manager General
    Replies: 0
    Last Post: 10-31-2010, 07:21 AM
  3. custom stat bb/100 + rakeback
    By vlsup in forum Manager General
    Replies: 1
    Last Post: 11-05-2009, 07:01 PM
  4. custom stat, rakeback
    By Loomis in forum Manager General
    Replies: 0
    Last Post: 05-07-2009, 01:36 AM
  5. Custom Rakeback Stat
    By Ih8mycards in forum Manager General
    Replies: 3
    Last Post: 10-26-2008, 08:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •