rsanchez
2017-03-19 280daa7f3f858ecfef9c91ffd5dea1007f021048
securis/src/main/webapp/src/app/resources/packs.ts
....@@ -75,6 +75,11 @@
7575 public putonhold(id: number) {
7676 return super.action(id, "putonhold");
7777 }
78
+ public nextLicCode(id: number) {
79
+ let url = `pack/${id}/next_license_code`
80
+ return this.http.get(url).map(response => response.text());
81
+ }
82
+
7883
7984 public isActionAvailable(action:string, pack:any) {
8085 var validStatuses = PACK_ACTIONS_BY_STATUS[action];