Skip to content
Snippets Groups Projects
Commit 8757a378 authored by Eileen McNaughton's avatar Eileen McNaughton
Browse files

CRM-14080 default to now

----------------------------------------
* CRM-14080: Have noticed there is no default on received_date on contribution.create - should default to now
  http://issues.civicrm.org/jira/browse/CRM-14080
parent c7acbd3e
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ function _civicrm_api3_contribution_create_spec(&$params) {
$params['contact_id']['api.required'] = 1;
$params['total_amount']['api.required'] = 1;
$params['payment_instrument_id']['api.aliases'] = array('payment_instrument');
$params['receive_date']['api.default'] = 'now';
$params['payment_processor'] = array(
'name' => 'payment_processor',
'title' => 'Payment Processor ID',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment