forked from saurabh/personal-project
Fix bug(excel).
This commit is contained in:
parent
5386bcfb97
commit
a816dcd88b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue