Commit 6421b091 authored by neo's avatar neo

[DEV] fixed approval skip null tempGroupId

parent b9d9d047
...@@ -603,9 +603,11 @@ ...@@ -603,9 +603,11 @@
vatSessionService.project = result; vatSessionService.project = result;
vatSessionService.project.projectName = approvalInfo.projectName; vatSessionService.project.projectName = approvalInfo.projectName;
vatSessionService.project.month = approvalInfo.period; vatSessionService.project.month = approvalInfo.period;
vatSessionService.project.templateGroupID = template.templateGroupId;
vatSessionService.month = approvalInfo.period; vatSessionService.month = approvalInfo.period;
vatSessionService.approvalInfo=approvalInfo; vatSessionService.approvalInfo=approvalInfo;
$state.go('vat.generateReport.reportView', { $state.go('vat.generateReport.reportView', {
id: approvalInfo.reportIds.split(",")[0], id: approvalInfo.reportIds.split(",")[0],
templateid: approvalInfo.templateIds.split(",")[0], templateid: approvalInfo.templateIds.split(",")[0],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment