Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix missing border if comment is last line

as-op2708e0f5e0a3
diff --git a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb
index f22a01ea24b..8b248ced4b5 100644
--- a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb
+++ b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb
@@ -141,7 +141,7 @@ class CostQuery::PDF::TimesheetGenerator
end
table.columns(1).style do |c|
if c.colspan > 1
- c.borders = %i[left right]
+ c.borders = %i[left right bottom]
c.padding = [0, 5, 8, 5]
row_nr = c.row - 1
values = table.columns(1..-1).rows(row_nr..row_nr)