Payments for last 7 days

Discussion in 'Templates customization' started by richeuro, Oct 17, 2011.

  1. richeuro

    richeuro New Member

    Joined:
    Jul 29, 2008
    Messages:
    3
    how to customize to 30 days
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    What do you mean?

    David
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    I assume he means that on the admin dashboard he wants to display the last 30 days of payments instead of 7.

    Have not tested this myself, but open amember\admin\index.php and look for this line:

    Code:
    $report_days = get_first($GLOBALS['config']['payment_report_num_days'], 7);
    and change the various elements below it for the time frame you wish.
  4. richeuro

    richeuro New Member

    Joined:
    Jul 29, 2008
    Messages:
    3
    I want to display the last 30 days of payments instead of 7. How can i do?
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    perhaps reading my comment above?

Share This Page