Skip to content

Commit

Permalink
COMCL-885: Adjust code according to old template engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Shahrukh authored and shahrukh-compuco committed Oct 31, 2024
1 parent 3b60651 commit 10bb173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/Financial/Page/BatchTransaction.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 10bb173

Please sign in to comment.