2026-04-24 FE Backup
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
def GenerateCompleteReport(startDate, endDate, location):
|
||||
|
||||
# reports = ["MBR/0-Cover", "MBR/1-Total Power", "MBR/2-CriticalPower", "MBR/3-Cooling", "MBR/4-Generators"]
|
||||
# reportBytes = []
|
||||
# for report in reports:
|
||||
# repParams= {"StartDate":startDate, "EndDate":endDate, "location":location}
|
||||
# print report
|
||||
# try:
|
||||
# bytes = system.report.executeReport(path=report, parameters=repParams, fileType="pdf")
|
||||
# except:
|
||||
# bytes= system.report.executeReport(path=report,project=system.util.getProjectName(), parameters=repParams, fileType="pdf")
|
||||
#
|
||||
# reportBytes.append(bytes)
|
||||
#
|
||||
# return system.artek.mergeMultiPDF(reportBytes)
|
||||
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user