@@ -132,11 +132,12 module Redmine | |||||
132 |
|
132 | |||
133 | custom_field_values = issue.visible_custom_field_values.select {|value| value.custom_field.full_width_layout?} |
|
133 | custom_field_values = issue.visible_custom_field_values.select {|value| value.custom_field.full_width_layout?} | |
134 | custom_field_values.each do |value| |
|
134 | custom_field_values.each do |value| | |
|
135 | text = show_value(value, false) | |||
|
136 | next if text.blank? | |||
|
137 | ||||
135 | pdf.SetFontStyle('B',9) |
|
138 | pdf.SetFontStyle('B',9) | |
136 | pdf.RDMCell(35+155, 5, value.custom_field.name, "LRT", 1) |
|
139 | pdf.RDMCell(35+155, 5, value.custom_field.name, "LRT", 1) | |
137 | pdf.SetFontStyle('',9) |
|
140 | pdf.SetFontStyle('',9) | |
138 |
|
||||
139 | text = show_value(value, false) |
|
|||
140 | pdf.RDMwriteFormattedCell(35+155, 5, '', '', text, issue.attachments, "LRB") |
|
141 | pdf.RDMwriteFormattedCell(35+155, 5, '', '', text, issue.attachments, "LRB") | |
141 | end |
|
142 | end | |
142 |
|
143 |
General Comments 0
You need to be logged in to leave comments.
Login now