type fixed for xls

This commit is contained in:
Harry Bomrah 2016-06-06 17:16:39 +08:00
parent 0e9649f0e6
commit a9881e2838
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ wb = xlsx_package.workbook
row << proj.year
row << proj.language
row << (proj.project_types.map{|jl| jl.title}.join(", ") rescue "")
row << (proj.project_type.title rescue "")
row << proj.start_date.strftime("%Y-%m-%d") rescue ""
row << proj.end_date.strftime("%Y-%m-%d") rescue ""
row << proj.url