Fix bug(excel).

This commit is contained in:
chiu 2020-07-27 15:43:40 +08:00
parent 5386bcfb97
commit a816dcd88b
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ wb.add_worksheet(name: "Project") do |sheet|
row1 << "select"
t = ""
ProjectType.asc(:created_at).each_with_index do |jl,i|
next if jl.title.blank?
t = t + "#{i}" + " -> " + jl.title + ", "
end
if ProjectType.count > 0