diff --git a/docs/docs/howto.md b/docs/docs/howto.md
index 672e2aa..5c65fbc 100644
--- a/docs/docs/howto.md
+++ b/docs/docs/howto.md
@@ -1,4 +1,4 @@
-# How to
+# How to
Common server management and troubleshooting tasks
@@ -389,3 +389,33 @@ return 0
Make it executable, from /etc/init.d folder execute: `chmod +x bootemail`
Enable: `update-rc.d bootemail defaults`
+
+## ShareIt product links
+
+Purchase links for AyaNova 8 products
+
+## Subscriptions
+
+### 301028468 - AyaNova 8 one user yearly subscription
+
+https://order.mycommerce.com/product?vendorid=14466&productid=301028468
+
+### 301028467 - AyaNova 8 one user monthly subscription
+
+https://order.mycommerce.com/product?vendorid=14466&productid=301028467
+
+### 301030109 - AyaNova subscription monthly 10GB file and attachment storage
+
+https://order.mycommerce.com/product?vendorid=14466&productid=301030109
+
+### 301030110 - AyaNova subscription yearly 10GB file and attachment storage
+
+https://order.mycommerce.com/product?vendorid=14466&productid=301030110
+
+## Perpetual
+
+### 301028317 - AyaNova 8 one user yearly maintenance plan includes perpetual license
+
+Minimum 3
+
+https://order.mycommerce.com/product?vendorid=14466&productid=301028317
diff --git a/wwwroot/js/app.ravLicense.js b/wwwroot/js/app.ravLicense.js
index c146af5..65155da 100644
--- a/wwwroot/js/app.ravLicense.js
+++ b/wwwroot/js/app.ravLicense.js
@@ -157,10 +157,12 @@ app.ravLicense = (function () {
return false; //prevent default
};
+
onLicenseExpiresSetOneMonth = function (event) {
event.preventDefault();
+ //Automatically add 7 days grace period to account for payment processing delays etc
$("#licenseExpirationDate").val(
- moment().add(1, "months").toISOString().substring(0, 10)
+ moment().add(1, "months").add(7,"days").toISOString().substring(0, 10)
);
return false; //prevent default
@@ -168,8 +170,9 @@ app.ravLicense = (function () {
onLicenseExpiresSetOneYear = function (event) {
event.preventDefault();
+ //Automatically add 7 days grace period to account for payment processing delays etc
$("#licenseExpirationDate").val(
- moment().add(1, "years").toISOString().substring(0, 10)
+ moment().add(1, "years").add(7,"days").toISOString().substring(0, 10)
);
return false; //prevent default
diff --git a/wwwroot/js/templates/app.ravLicense.handlebars b/wwwroot/js/templates/app.ravLicense.handlebars
index 7d4bad2..c91e5a9 100644
--- a/wwwroot/js/templates/app.ravLicense.handlebars
+++ b/wwwroot/js/templates/app.ravLicense.handlebars
@@ -76,7 +76,7 @@
id="licenseExpires"
checked
/>
- Temporary key / expires
+ Temporary license
+1 Year
+ (7 days grace period automatically added)