This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user