Skip to content

Commit

Permalink
Merge pull request #1057 from compucorp/comcl-954-smarty-4-fixes
Browse files Browse the repository at this point in the history
COMCL-954: Add Fixes For Smarty4 Upgrade
  • Loading branch information
shahrukh-compuco authored Feb 10, 2025
2 parents b6f735d + d01c895 commit fb81c05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/CRM/Civicase/Form/CaseSalesOrderDelete.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="alert alert-warning text-center">
<h1><i class="fa fa-question-circle"></i></h1>
<h3>{ts}Are you sure, you want to delete the record?{/ts} </h3>

<h4>{ts}Any existing contributions will not be deleted and will still be visible on the relevant contact records{/ts}</h4>
</div>
<div class="crm-submit-buttons">
Expand All @@ -11,7 +11,7 @@
</div>

<script type="text/javascript">
const id = { $id }
const id = {$id}
{literal}
CRM.$(function($) {
$("a[target='crm-popup']").on('crmPopupFormSuccess', function (e) {
Expand Down
6 changes: 3 additions & 3 deletions templates/CRM/Civicase/Page/CaseSalesOrder.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</div>
</div>
<script type="text/javascript">
const id = { $sales_order_id };
const id = {$sales_order_id};
{literal}
(function(angular, $, _) {
const app = angular.module('civicaseSalesOrderView', ['civicase-features']);
Expand All @@ -13,8 +13,8 @@
template: `<quotations-view sales-order-id="${id}"></quotations-view>`
}
})
})(angular, CRM.$, CRM._);
CRM.$(document).one('crmLoad', function() {
Expand Down

0 comments on commit fb81c05

Please sign in to comment.