Skip to content

Commit

Permalink
PROD-156: Refresh container after refund
Browse files Browse the repository at this point in the history
  • Loading branch information
olayiwola-compucorp committed Feb 22, 2024
1 parent 68d920d commit 67df918
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/CRM/Financeextras/Form/Payment/Refund.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,13 @@
{include file="CRM/common/formButtons.tpl" location="bottom"}
</div>
</div>

<script type="text/javascript">
{literal}
CRM.$(function($) {
$("a[target='crm-popup']").on('crmPopupFormSuccess', function (e) {
CRM.refreshParent(e);
});
});
{/literal}
</script>

0 comments on commit 67df918

Please sign in to comment.