Commit a2667995 authored by jaapjansma's avatar jaapjansma
Browse files

Fixed edit expense link in data processor so that expense opens in a popup.

parent ffbb28b6
Version 1.6.0 (not yet released)
Version 1.6.0
--------------
* Fixed edit expense link in data processor so that expense opens in a popup.
Version 1.5.0
--------------
......
......@@ -24,7 +24,7 @@ class EditExpenseLineFieldOutputHandler extends AbstractSimpleFieldOutputHandler
$id = $rawRecord[$this->inputFieldSpec->alias];
$url = \CRM_Utils_System::url('civicrm/expense/form', ['id' => $id, 'action' => 'update']);
$link = '<a href="'.$url.'"><i class="crm-i fa-pencil">&nbsp;</i>'.E::ts("Edit Expense").'</a>';
$link = '<a href="'.$url.'" class="crm-popup"><i class="crm-i fa-pencil">&nbsp;</i>'.E::ts("Edit Expense").'</a>';
$formattedValue = new HTMLFieldOutput($url);
$formattedValue->formattedValue = $url;
$formattedValue->setHtmlOutput($link);
......
......@@ -14,7 +14,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-11-24</releaseDate>
<version>1.6.0-dev</version>
<version>1.6.0</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.0</ver>
......
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