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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Pledges: Checking for irrational dates
Pages: [1]

Author Topic: Pledges: Checking for irrational dates  (Read 1838 times)

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Pledges: Checking for irrational dates
August 05, 2008, 11:36:25 am
In playing with creating a pledge on the sandbox, I unintentionally switched the start and pledge made dates.  We shouldn't allow such irrational dates but give a warning instead:

Dr Chetan U Adams Sr
Total Amount
$ 520.00
To be paid in
52 weekly installments of $ 10.00 each
Payments are due on the
1 day of the period
Pledge Made
January 4th, 2009
Payment Start
August 5th, 2008
Contribution Type
Donation
Self-service Payments Page
Pledge for CiviCRM!
Pledge Status
Pending
Initial Reminder Day
5 days prior to schedule date
Maximum Reminders Send
1
Send additional reminders
5 days after the last one sent
Lead Developer, C3 Design.
Twitter: @FatherShawn

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Pledges: Checking for irrational dates
August 05, 2008, 03:24:34 pm
We discussed having a form rule that Payment Start Date would have to be >= Pledge Made Date. However, we were concerned that there might be use cases where this rule wouldn't apply. For now we'll leave this open and see if folks have problems w/ it or find the current "no rule" situation to be useful.
Protect your investment in CiviCRM by  becoming a Member!

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Pledges: Checking for irrational dates
August 07, 2008, 09:06:40 am
I take it back.  That is good thinking - there are occasionally some who make pledges into the the beginning of our year that actually have back dated start dates.  Not common but useful.

It's not an error, it's a feature!!  ;D
Lead Developer, C3 Design.
Twitter: @FatherShawn

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Pledges: Checking for irrational dates

This forum was archived on 2017-11-26.