securis/src/main/webapp/src/app/resources/packs.ts
.. .. @@ -75,6 +75,11 @@ 75 75 public putonhold(id: number) { 76 76 return super.action(id, "putonhold"); 77 77 } 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 +78 83 79 84 public isActionAvailable(action:string, pack:any) { 80 85 var validStatuses = PACK_ACTIONS_BY_STATUS[action];