Skip to content

Instantly share code, notes, and snippets.

View rajeshrhino's full-sized avatar

Rajesh Sundararajan rajeshrhino

View GitHub Profile
New memberships (individual)
Gift premiums are currently not showing in the membership wizard (when BTO membership selected)
(https://support.vedaconsulting.co.uk/issues/5164)
- Resolved. Updated ticket #5164
Discount field currently not showing in new member contribution form - when added, is it possible to over-ride template for field so that it doesn't render as a table (use div instead) - currently label overflows table cell
- Resolved. Also the discount field template is fixed to use div, label is displayed fine now. Please have a look https://btodev1.vedacrm.co.uk/civicrm/contribute/transact?reset=1&id=2
@rajeshrhino
rajeshrhino / gist:daa61c1dd609ab8f4e73b5b6c02f1931
Created October 19, 2017 11:35
BGS - Create recurring contributions
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE TABLE civicrm_contribution_recur;
SET FOREIGN_KEY_CHECKS = 1;
-- Prepare recurring data
DROP TABLE IF EXISTS recurring_data;
CREATE TABLE IF NOT EXISTS recurring_data (
`id` integer unsigned NOT NULL AUTO_INCREMENT,
`membership_id` varchar(255) COLLATE utf8_unicode_ci NULL,
`contact_id` varchar(255) COLLATE utf8_unicode_ci NULL,
<?php
/**
* @file
* File for the UnitTestCase class
*
*/
/**
* Include class definitions
*/