Skip to content

Commit

Permalink
Get the new symfony format link
Browse files Browse the repository at this point in the history
Get admin link by smarty helper and passed it to js variable, then use it within the vue.js foreach loop with the correct customer id
  • Loading branch information
moncef-essid authored Dec 26, 2020
1 parent 39bc382 commit 954f7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/templates/admin/menu.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
var psgdpr_adminController = "{$psgdpr_adminController|escape:'htmlall':'UTF-8'}";
var adminControllerInvoices = "{$adminControllerInvoices|escape:'htmlall':'UTF-8'}";
var ps_version = "{$isPs17|escape:'htmlall':'UTF-8'}";
var customer_link = "{$customer_link|escape:'htmlall':'UTF-8'}";
var customer_link = "{url entity='sf' route='admin_customers_view' sf-params=['customerId' => '0']}";
var messageSuccessCopy = "{l s='Url has been copied to the clipboard!' mod='psgdpr' js=1}";
var messageSuccessInvoices = "{l s='Invoices have been successfully downloaded.' mod='psgdpr' js=1}";
Expand Down

0 comments on commit 954f7af

Please sign in to comment.