This commit is contained in:
@@ -76,14 +76,16 @@ app.ravLicense = (function () {
|
||||
features.push({ Feature: options[i], Count: 0 });
|
||||
}
|
||||
|
||||
submitData["features"]=features;
|
||||
submitData["features"] = features;
|
||||
//submit
|
||||
// alert("STUB submit");
|
||||
app.api.createRavLicense(submitData, function (res) {
|
||||
if (res.error) {
|
||||
$.gevent.publish("app-show-error", res.msg);
|
||||
} else {
|
||||
$("#key").val(res);
|
||||
page(
|
||||
"#!/ravLicenses/" + stateMap.id + "/" + stateMap.context.params.cust_id
|
||||
);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
@@ -173,7 +175,12 @@ app.ravLicense = (function () {
|
||||
// app.nav.contextAddLink("licenseRequests/", "Requests", "voice");
|
||||
// app.nav.contextAddLink("licenseTemplates/", "", "layers");
|
||||
//case 3233
|
||||
app.nav.contextAddLink("licenses/", "List", "");
|
||||
|
||||
app.nav.contextAddLink(
|
||||
"ravLicenses/" + stateMap.id + "/" + stateMap.context.params.cust_id,
|
||||
"Licenses",
|
||||
"ticket"
|
||||
); //from here to new license
|
||||
|
||||
//set all date inputs to today plus one year
|
||||
var oneYearFromNow = moment()
|
||||
|
||||
Reference in New Issue
Block a user