delete school adress in download school code xlsx
This commit is contained in:
parent
b69e0df320
commit
0ef80b8848
|
@ -5,7 +5,7 @@ wb.add_worksheet(name: "school_class") do |sheet|
|
||||||
row = []
|
row = []
|
||||||
title = sheet.styles.add_style(:bg_color => "FFFF00",:border=>{ :style => :thin, :color => "666666" },:alignment=>{ :horizontal => :center,:vertical => :center ,:wrap_text => true})
|
title = sheet.styles.add_style(:bg_color => "FFFF00",:border=>{ :style => :thin, :color => "666666" },:alignment=>{ :horizontal => :center,:vertical => :center ,:wrap_text => true})
|
||||||
column = sheet.styles.add_style(:alignment=>{ :horizontal => :center,:vertical => :center ,:wrap_text => true},:border=>{ :style => :thin, :color => "666666" })
|
column = sheet.styles.add_style(:alignment=>{ :horizontal => :center,:vertical => :center ,:wrap_text => true},:border=>{ :style => :thin, :color => "666666" })
|
||||||
@fields = [ "school_code", "school_name" ,"school_address" ]
|
@fields = [ "school_code", "school_name" ]
|
||||||
@fields.each do |field|
|
@fields.each do |field|
|
||||||
row << t('olympiamanagement.'+field)
|
row << t('olympiamanagement.'+field)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue