add missing attributes for xlsx templates
This commit is contained in:
parent
a7d031f0c6
commit
4d62acaf8c
|
@ -29,6 +29,10 @@ wb = xlsx_package.workbook
|
|||
|
||||
row << t("personal_journal.issue_no")
|
||||
|
||||
row << t("personal_journal.form_to_start")
|
||||
|
||||
row << t("personal_journal.form_to_end")
|
||||
|
||||
row << t("personal_journal.total_pages")
|
||||
|
||||
row << t("personal_journal.level_type")
|
||||
|
@ -70,6 +74,8 @@ wb = xlsx_package.workbook
|
|||
row << jp.language
|
||||
row << jp.vol_no
|
||||
row << jp.issue_no
|
||||
row << jp.form_to_start
|
||||
row << jp.form_to_end
|
||||
row << jp.total_pages
|
||||
row << (jp.journal_levels.map{|jl| jl.title}.join(", ") rescue "")
|
||||
row << (jp.journal_paper_type.title rescue "")
|
||||
|
|
|
@ -52,6 +52,14 @@ wb.add_worksheet(name: "Journal Paper") do |sheet|
|
|||
row1 << "textfield"
|
||||
row2 << ""
|
||||
|
||||
row << t("personal_journal.form_to_start")
|
||||
row1 << "number"
|
||||
row2 << "Example: 11 or 21"
|
||||
|
||||
row << t("personal_journal.form_to_end")
|
||||
row1 << "number"
|
||||
row2 << "Example: 13 or 23"
|
||||
|
||||
row << t("personal_journal.total_pages")
|
||||
row1 << "number"
|
||||
row2 << "Example: 10 or 20 or 100"
|
||||
|
@ -142,4 +150,4 @@ wb.add_worksheet(name: "Journal Paper") do |sheet|
|
|||
end
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue