|
@@ -38,8 +38,11 @@ link href=url("/css/print_a3.css") rel="stylesheet" media="all"
|
|
|
.voffset-1
|
|
|
.col-xs-12
|
|
|
table.table-noten
|
|
|
- /* -hj.noten.select{|f| f.fach.fach_krz.start_with? "AS"}.each do |as| */
|
|
|
- -s.abschnitte.map{|a| a.noten.select{|n|n.fach.fach_krz.start_with?("AS") && n._lernentw}}.flatten.compact.each do |as|
|
|
|
+ -as_noten = hj.noten.select{|f| f.fach.fach_krz.start_with?("AS") && f._lernentw}
|
|
|
+ -p as_noten
|
|
|
+ -if as_noten.empty?
|
|
|
+ -as_noten = s.abschnitte.map{|a| a.noten.select{|n|n.fach.fach_krz.start_with?("AS") && n._lernentw}}.flatten.compact
|
|
|
+ -as_noten.each do |as|
|
|
|
tr
|
|
|
td width="22%" =as.fach.zeugnisbez
|
|
|
/* -titel_as=s.abschnitte.map{|a| a.noten.find{|n|n.fach_id==as.fach_id && n._lernentw}}.find{|a|a}.lernentw */
|