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 CiviEvent (Moderator: Yashodha Chaku) »
  • Early bird discounts with price sets
Pages: 1 [2]

Author Topic: Early bird discounts with price sets  (Read 7536 times)

sanchez

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: Early bird discounts with price sets
January 03, 2011, 03:34:50 am
Quote from: Donald Lobo on January 02, 2011, 07:18:10 pm
all the price set code is here:

CRM/Price/BAO/Set.php

Thanks! I was not able to find it.
Quote from: Donald Lobo on January 02, 2011, 07:18:10 pm

You'll need to modify the functions there to implement this logic. You'll also need to modify the price set editing code to allow users to modify these dates via the online forms
I will work on that and feedback here whatever results.

Have a Happy New Year!


Apis more modoque

sanchez

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: Early bird discounts with price sets
January 03, 2011, 01:39:55 pm

OK. It is done.  I have been testing the software for a few hours, seems to be OK.

Most of the functionality was almost done, hibernating in the code. All I had to do was to include the filtering logic and a few changes here and there to deal with interface details.

Please tell me how to send you the code. I´d rather send the (four) modified files in full, since the last time I built a patch was about 20 years ago and I do not quite remember how to do make patches.
Apis more modoque

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Early bird discounts with price sets
January 03, 2011, 02:46:07 pm

please file an issue along with the unified patch (diff -u) for those 4 files. A description of how/what/why you did it would also help

thanx for stepping up and doing this

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sanchez

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: Early bird discounts with price sets
January 04, 2011, 04:35:37 am
I filed the issue (CRM-7309) , patch included  ;D

http://issues.civicrm.org/jira/browse/CRM-7309
Apis more modoque

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Early bird discounts with price sets

This forum was archived on 2017-11-26.