From 10bb1734fb090a6867efd35d102112247971844c Mon Sep 17 00:00:00 2001 From: Muhammad Shahrukh <> Date: Thu, 31 Oct 2024 12:03:14 +0500 Subject: [PATCH] COMCL-885: Adjust code according to old template engine --- templates/CRM/Financial/Page/BatchTransaction.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Financial/Page/BatchTransaction.tpl b/templates/CRM/Financial/Page/BatchTransaction.tpl index 4077b7f91f37..3e7a69f6c4ae 100644 --- a/templates/CRM/Financial/Page/BatchTransaction.tpl +++ b/templates/CRM/Financial/Page/BatchTransaction.tpl @@ -123,7 +123,7 @@ function saveRecord(recordID, op, recordBAO, entityID) { window.location.href = CRM.url('civicrm/financial/batch/export', {reset: 1, id: recordID, status: 1}); return; } - var postUrl = {/literal}"{crmURL p='civicrm/ajax/rest' h=0 q="className=CRM_Financial_Page_AJAX&fnName=assignRemove&qfKey={$financialAJAXQFKey}"}"{literal}; + var postUrl = {/literal}"{crmURL p='civicrm/ajax/rest' h=0 q="className=CRM_Financial_Page_AJAX&fnName=assignRemove&qfKey=$financialAJAXQFKey"}"{literal}; //post request and get response CRM.$.post( postUrl, { records: [recordID], recordBAO: recordBAO, op:op, entityID:entityID, key: {/literal}"{crmKey name='civicrm/ajax/ar'}"{literal} }, function( html ){ //this is custom status set when record update success.