Commit 9b6b5b87 authored by neo's avatar neo

[Bugfix] fixed approval skip to report view

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