diff --git a/wwwroot/js/app.customerSiteEdit.js b/wwwroot/js/app.customerSiteEdit.js index cc27dd5..c2ce1d6 100644 --- a/wwwroot/js/app.customerSiteEdit.js +++ b/wwwroot/js/app.customerSiteEdit.js @@ -164,7 +164,7 @@ app.customerSiteEdit = (function () { if (stateMap.id != "new") { app.nav.contextAddLink("purchases/" + stateMap.id, "Purchases", "basket"); - app.nav.contextAddLink("ravLicenses/" + stateMap.id, "Licenses", "ticket");//from here to new license + app.nav.contextAddLink("ravLicenses/" + stateMap.id +"/"+ stateMap.context.params.cust_id, "Licenses", "ticket");//from here to new license } }; diff --git a/wwwroot/js/app.ravLicenses.js b/wwwroot/js/app.ravLicenses.js index ff24635..56485c4 100644 --- a/wwwroot/js/app.ravLicenses.js +++ b/wwwroot/js/app.ravLicenses.js @@ -78,6 +78,11 @@ app.ravLicenses = (function () { app.nav.contextClear(); ///ravLicense/122 app.nav.contextAddLink("ravLicense/" + stateMap.id, "New", "plus"); + app.nav.contextAddLink( + "customerSiteEdit/" + stateMap.id + "/" + stateMap.context.params.cust_id, + "Site", + "city" + ); }; //PUBLIC METHODS diff --git a/wwwroot/js/app.shell.js b/wwwroot/js/app.shell.js index 63f514b..70ce0bd 100644 --- a/wwwroot/js/app.shell.js +++ b/wwwroot/js/app.shell.js @@ -240,7 +240,7 @@ app.shell = (function () { page('/ops', ops); page('/trials', trials); page('/trialEdit/:id', trialEdit); - page('/ravLicenses/:id', ravLicenses); + page('/ravLicenses/:id/:cust_id', ravLicenses); page('/ravLicense/:id', ravLicense); page('*', notFound); page({