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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Default values for is_deductible
Pages: [1]

Author Topic: Default values for is_deductible  (Read 629 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Default values for is_deductible
July 04, 2011, 08:29:11 am
Currently, civicrm_data.mysql has default values for the initially configured contribution_types. The values may be correct in the US, which is a good reason to leave them that way, but are not correct in Canada. Instead of:
INSERT INTO
   civicrm_contribution_type(name, is_reserved, is_active, is_deductible)
VALUES
  ( 'Donation'             , 0, 1, 1 ),
  ( 'Member Dues'          , 0, 1, 1 ),
  ( 'Campaign Contribution', 0, 1, 0 ),
  ( 'Event Fee'            , 0, 1, 0 );
what about:
INSERT INTO
   civicrm_contribution_type(name, is_reserved, is_active, is_deductible)
VALUES
  ( 'Donation'             , 0, 1, 1 ),
  ( 'Member Dues'          , 0, 1, 0 ),
  ( 'Campaign Contribution', 0, 1, 1 ),
  ( 'Event Fee'            , 0, 1, 0 );
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Default values for is_deductible

This forum was archived on 2017-11-26.