----------------------------------------
* CRM-20193: Draw currency from better table on Batch Transaction form
https://issues.civicrm.org/jira/browse/CRM-20193
$where = implode(' AND ', $query->_where[0]) .
" AND civicrm_entity_batch.batch_id IS NULL ";
$where = str_replace('civicrm_contribution.payment_instrument_id', 'civicrm_financial_trxn.payment_instrument_id', $where);
- $searchValue = TRUE;
}
else {
- $searchValue = FALSE;
- }
-
- if (!$searchValue) {
if (!$notPresent) {
$where = " civicrm_entity_batch.batch_id = {$entityID} ";
}