CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Offline contribution "Received" date
Pages: [1]

Author Topic: Offline contribution "Received" date  (Read 1510 times)

ww9rivers

  • Guest
Offline contribution "Received" date
November 02, 2007, 12:05:17 am
I have just installed CiviCRM and I am having a problem with entering offline contributions made in 2003. The "Received" field seems to only take year number 2004 to 2008.

How can I make 2003 available for that field?

Thanks for any help.

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Offline contribution "Received" date
November 02, 2007, 01:49:12 am
I believe this is the same issue that impacts activities. You might get a head start on figuring this out here:
http://issues.civicrm.org/jira/browse/CRM-792
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Offline contribution "Received" date
November 02, 2007, 10:32:46 am
Quote from: ww9rivers on November 02, 2007, 12:05:17 am
I have just installed CiviCRM and I am having a problem with entering offline contributions made in 2003. The "Received" field seems to only take year number 2004 to 2008.

How can I make 2003 available for that field?

A non-hack fix for this is being included for 2.0: http://issues.civicrm.org/jira/browse/CRM-2090

For now - you'll need to modify a php file in your CiviCRM installation: CRM/Contribute/Form/Contribution.php

On ~line 366...

Code: [Select]
// change this
        $element =& $this->add('date', 'receive_date', ts('Received'), CRM_Core_SelectValues::date('manual', 3, 1), false );         

// to this (the number 4 means show 4 years in the past)
        $element =& $this->add('date', 'receive_date', ts('Received'), CRM_Core_SelectValues::date('manual', 4, 1), false );         
[code]
[/code]
Protect your investment in CiviCRM by  becoming a Member!

ww9rivers

  • Guest
Re: Offline contribution "Received" date
November 02, 2007, 04:11:00 pm
geilhufe: Bummer. I was hoping it's something simple.

Dave, thanks for the simple fix. I'll give it a try.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Offline contribution "Received" date

This forum was archived on 2017-11-26.