This commit is contained in:
2020-06-17 22:07:37 +00:00
parent 72c24ae17a
commit bcf2277664
7 changed files with 41 additions and 27 deletions

View File

@@ -24,6 +24,7 @@ app.api = (function () {
putAction,
postAction,
createLicense,
createRavLicense,
getLicenseRequests,
generateFromRequest,
licenseEmailResponse;
@@ -273,8 +274,7 @@ app.api = (function () {
});
};
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
//CreateRavLicense
//Route app.post('/api/license/create', function (req, res) {
//
@@ -299,7 +299,6 @@ app.api = (function () {
});
};
///////////////////////////////////////////////////////////
//GetLicenseRequests
//Fetch license requests
@@ -387,6 +386,7 @@ app.api = (function () {
putAction: putAction,
postAction: postAction,
createLicense: createLicense,
createRavLicense: createRavLicense,
getLicenseRequests: getLicenseRequests,
generateFromRequest: generateFromRequest,
licenseEmailResponse: licenseEmailResponse

View File

@@ -131,6 +131,9 @@ app.ravLicense = (function () {
}
$container.html(Handlebars.templates['app.ravLicense']({}));
///ravLicense/:id/:site_id
//either fetch one to display or start one to create
debugger;
//case 3233 customer list
//Fill customer list combo

View File

@@ -46,7 +46,7 @@ app.ravLicenses = (function() {
//===================
//Get licenses
app.api.get("rvl/list/"+ stateMap.id, function(res) {
app.api.get("rvl/list/"+ stateMap.id, function(res) {
if (res.error) {
$.gevent.publish("app-show-error", res.msg);
} else {

View File

@@ -240,8 +240,8 @@ app.shell = (function () {
page('/ops', ops);
page('/trials', trials);
page('/trialEdit/:id', trialEdit);
page('/ravLicenses/:id/', ravLicenses);
page('/ravLicense/:id/:site_id', ravLicense);
page('/ravLicenses/:id', ravLicenses);
page('/ravLicense/:id', ravLicense);
page('*', notFound);
page({
hashbang: true

File diff suppressed because one or more lines are too long