// Currency should have been fetched automatically and used to format the value
$this->assertEquals('GBP', $result[0]['data']['currency']);
- $this->assertEquals('£ 100.00', $result[0]['columns'][0]['val']);
+ $this->assertEquals('£100.00', $result[0]['columns'][0]['val']);
$this->assertEquals('USD', $result[1]['data']['currency']);
- $this->assertEquals('$ 200.00', $result[1]['columns'][0]['val']);
+ $this->assertEquals('$200.00', $result[1]['columns'][0]['val']);
$this->assertEquals('JPY', $result[2]['data']['currency']);
- $this->assertEquals('¥ 500.00', $result[2]['columns'][0]['val']);
+ $this->assertEquals('¥500', $result[2]['columns'][0]['val']);
// Now do a search for the contribution line-items
$params['savedSearch'] = [
// An automatic join should have been added to fetch the contribution currency
$this->assertEquals('GBP', $result[0]['data']['contribution_id.currency']);
- $this->assertEquals('£ 100.00', $result[0]['columns'][0]['val']);
+ $this->assertEquals('£100.00', $result[0]['columns'][0]['val']);
$this->assertEquals('USD', $result[1]['data']['contribution_id.currency']);
- $this->assertEquals('$ 200.00', $result[1]['columns'][0]['val']);
+ $this->assertEquals('$200.00', $result[1]['columns'][0]['val']);
$this->assertEquals('JPY', $result[2]['data']['contribution_id.currency']);
- $this->assertEquals('¥ 500.00', $result[2]['columns'][0]['val']);
+ $this->assertEquals('¥500', $result[2]['columns'][0]['val']);
}
}
([dev/core#1188](https://lab.civicrm.org/dev/core/issues/1188):
[15043](https://github.com/civicrm/civicrm-core/pull/15043))**
- Ensures that the Psalm Autoloader can find `CiviCRM_API3_Exception`.
+ Ensures that the Psalm Autoloader can find `CRM_Core_Exception`.
- **File attachment uploads - pptx issue
([dev/core#1190](https://lab.civicrm.org/dev/core/issues/1190):