Gui improvements and ideas
This commit is contained in:
parent
3f4c7d17bf
commit
2ae0b55e42
54 changed files with 639 additions and 237 deletions
10
app/views/reports/show.xlsx.axlsx
Normal file
10
app/views/reports/show.xlsx.axlsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
wb = xlsx_package.workbook
|
||||
wb.add_worksheet(name: "Erfolgskriterien") do |sheet|
|
||||
sheet.add_row SuccessCriterion.column_names
|
||||
|
||||
@report.elements.each do |element|
|
||||
element.success_criteria.each do |sc|
|
||||
sheet.add_row sc.attributes.values
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue