Commit 9b6b5b87 authored by neo's avatar neo

[Bugfix] fixed approval skip to report view

parent 0de4d6c1
...@@ -606,14 +606,13 @@ ...@@ -606,14 +606,13 @@
vatSessionService.project.projectName = approvalInfo.projectName; vatSessionService.project.projectName = approvalInfo.projectName;
vatSessionService.project.month = approvalInfo.period; vatSessionService.project.month = approvalInfo.period;
vatSessionService.month = approvalInfo.period; vatSessionService.month = approvalInfo.period;
vatApproveService.getApprovalTemplateInfo(approvalInfo.templateIds.split(",")[0]).success( vatApproveService.getApprovalTemplateInfo(approvalInfo.templateIds.split(",")[0]).success(
function(template){ function(template){
$state.go('vat.generateReport.reportView', { $state.go('vat.generateReport.reportView', {
id: approvalInfo.reportIds.split(",")[0], reportId: approvalInfo.reportIds.split(",")[0],
templateid: template.templateId, templateId: template.id,
name: template.name, templateName: template.name,
templatecode: template.code templateCode: template.code
}); });
}); });
}); });
......
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