Commit 60cdacf4 authored by jaapjansma's avatar jaapjansma
Browse files

Fixed issue with expenses text in case summary screen.

parent 51757417
Version 1.4.2
--------------
* Fixed issue with expenses text in case summary screen.
Version 1.4.1
--------------
......
......@@ -20,7 +20,7 @@ function expenses_civicrm_permission(&$permissions) {
}
/**
* Display the documents linked to a case
* Display the expenses linked to a case
*
* Implementatio of hook_civicrm_caseSummary
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseSummary
......@@ -28,7 +28,7 @@ function expenses_civicrm_permission(&$permissions) {
function expenses_civicrm_caseSummary($caseId) {
$page = new CRM_Expenses_Page_CaseExpenses($caseId);
$content = $page->run();
return array('documents' => array('value' => $content, 'label' => E::ts('Expenses')));
return array('expenses_summary_section' => array('value' => $content, 'label' => E::ts('Expenses')));
}
/**
......
......@@ -13,8 +13,8 @@
<url desc="Documentation">https://lab.civicrm.org/extensions/expenses/blob/master/README.md</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-09-07</releaseDate>
<version>1.4.1</version>
<releaseDate>2021-09-21</releaseDate>
<version>1.4.2</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.0</ver>
......
......@@ -48,6 +48,7 @@
cj(function() {
var caseExpenses = cj('#case-expenses').detach();
var expensesSection = cj('#expenses_summary_section').detach();
cj('#case_custom_edit').after(caseExpenses);
function loadExpenses() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment