This commit is contained in:
@@ -164,7 +164,7 @@ app.customerSiteEdit = (function () {
|
|||||||
|
|
||||||
if (stateMap.id != "new") {
|
if (stateMap.id != "new") {
|
||||||
app.nav.contextAddLink("purchases/" + stateMap.id, "Purchases", "basket");
|
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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -78,6 +78,11 @@ app.ravLicenses = (function () {
|
|||||||
|
|
||||||
app.nav.contextClear(); ///ravLicense/122
|
app.nav.contextClear(); ///ravLicense/122
|
||||||
app.nav.contextAddLink("ravLicense/" + stateMap.id, "New", "plus");
|
app.nav.contextAddLink("ravLicense/" + stateMap.id, "New", "plus");
|
||||||
|
app.nav.contextAddLink(
|
||||||
|
"customerSiteEdit/" + stateMap.id + "/" + stateMap.context.params.cust_id,
|
||||||
|
"Site",
|
||||||
|
"city"
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
//PUBLIC METHODS
|
//PUBLIC METHODS
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ app.shell = (function () {
|
|||||||
page('/ops', ops);
|
page('/ops', ops);
|
||||||
page('/trials', trials);
|
page('/trials', trials);
|
||||||
page('/trialEdit/:id', trialEdit);
|
page('/trialEdit/:id', trialEdit);
|
||||||
page('/ravLicenses/:id', ravLicenses);
|
page('/ravLicenses/:id/:cust_id', ravLicenses);
|
||||||
page('/ravLicense/:id', ravLicense);
|
page('/ravLicense/:id', ravLicense);
|
||||||
page('*', notFound);
|
page('*', notFound);
|
||||||
page({
|
page({
|
||||||
|
|||||||
Reference in New Issue
Block a user