From 280daa7f3f858ecfef9c91ffd5dea1007f021048 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Sun, 19 Mar 2017 11:29:37 +0000
Subject: [PATCH] #3527 fix - Added applications and some minor refactoring
---
securis/src/main/webapp/src/app/resources/packs.ts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/securis/src/main/webapp/src/app/resources/packs.ts b/securis/src/main/webapp/src/app/resources/packs.ts
index 6da7c06..f92292f 100644
--- a/securis/src/main/webapp/src/app/resources/packs.ts
+++ b/securis/src/main/webapp/src/app/resources/packs.ts
@@ -75,6 +75,11 @@
public putonhold(id: number) {
return super.action(id, "putonhold");
}
+ public nextLicCode(id: number) {
+ let url = `pack/${id}/next_license_code`
+ return this.http.get(url).map(response => response.text());
+ }
+
public isActionAvailable(action:string, pack:any) {
var validStatuses = PACK_ACTIONS_BY_STATUS[action];
--
Gitblit v1.3.2