diff --git a/wwwroot/default.htm b/wwwroot/default.htm
index d646e76..2324d74 100644
--- a/wwwroot/default.htm
+++ b/wwwroot/default.htm
@@ -73,6 +73,7 @@
+
diff --git a/wwwroot/js/app.purchaseEdit.js b/wwwroot/js/app.purchaseEdit.js
index fe8057a..ddd5f06 100644
--- a/wwwroot/js/app.purchaseEdit.js
+++ b/wwwroot/js/app.purchaseEdit.js
@@ -188,7 +188,7 @@ app.purchaseEdit = (function() {
$container = $("#app-shell-main-content");
}
- $container.html(Handlebars.templates["app.purchaseEdit"]({}));
+ $container.html(Handlebars.templates["app.ravLicense"]({}));
var title = "Purchase";
if (!stateMap.context.params.site_id) {
diff --git a/wwwroot/js/app.ravlicense.js b/wwwroot/js/app.ravlicense.js
index 2019aff..8b201d2 100644
--- a/wwwroot/js/app.ravlicense.js
+++ b/wwwroot/js/app.ravlicense.js
@@ -12,7 +12,7 @@
/*global $, app */
-app.ravlicense = (function () {
+app.ravLicense = (function () {
'use strict';
//---------------- BEGIN MODULE SCOPE VARIABLES --------------
var
@@ -23,7 +23,35 @@ app.ravlicense = (function () {
//------------------- BEGIN UTILITY METHODS ------------------
//-------------------- END UTILITY METHODS -------------------
+/*
+ public class dtoRavLicense
+ {
+ [Required]
+ public string RegisteredTo { get; set; }
+ [Required]
+ public Guid DbId { get; set; }
+ [Required]
+ public long LicenseExpiration { get; set; }
+ [Required]
+ public long MaintenanceExpiration { get; set; }
+ [Required]
+ public List Features { get; set; }
+ [Required]
+ public long SiteId { get; set; }
+ }
+ public class dtoLicenseFeature
+ {
+ dtoLicenseFeature()
+ {
+ Count = 0;
+ }
+ //name of feature / product
+ public string Feature { get; set; }
+ //Optional count for items that require it
+ public long Count { get; set; }
+ }
+*/
//------------------- BEGIN EVENT HANDLERS -------------------
onGenerate = function (event) {
@@ -96,7 +124,7 @@ app.ravlicense = (function () {
if (typeof $container === 'undefined') {
$container = $('#app-shell-main-content');
}
- $container.html(Handlebars.templates['app.license']({}));
+ $container.html(Handlebars.templates['app.ravLicense']({}));
//case 3233 customer list
diff --git a/wwwroot/js/app.shell.js b/wwwroot/js/app.shell.js
index 484c039..6aaa128 100644
--- a/wwwroot/js/app.shell.js
+++ b/wwwroot/js/app.shell.js
@@ -240,6 +240,7 @@ app.shell = (function () {
page('/ops', ops);
page('/trials', trials);
page('/trialEdit/:id', trialEdit);
+ page('/ravLicense/:id/:site_id', ravLicense);
page('*', notFound);
page({
hashbang: true
@@ -569,6 +570,22 @@ app.shell = (function () {
app.trialEdit.initModule();
}
+ var trialEdit = function (ctx) {
+ app.nav.setSelectedMenuItem('trials');
+ app.trialEdit.configModule({
+ context: ctx
+ });
+ app.trialEdit.initModule();
+ }
+
+ var ravLicense = function (ctx) {
+ app.nav.setSelectedMenuItem('customers');
+ app.ravLicense.configModule({
+ context: ctx
+ });
+ app.ravLicense.initModule();
+ }
+
var notFound = function (ctx) {
app.fourohfour.configModule({