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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Accept that work package can be empty on time entry
Oliver Günther63ea328cde38
diff --git a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rbindex 647daa18814..a383441f723 100644--- a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb+++ b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb@@ -137,7 +137,7 @@ class CostQuery::PDF::TimesheetGeneratordef build_table_row(spent_on, entry)[{ content: format_date(spent_on), rowspan: entry.comments.present? ? 2 : 1 },- entry.work_package.subject || "",+ entry.work_package&.subject || "",with_times_column? ? format_spent_on_time(entry) : nil,format_hours(entry.hours),entry.activity&.name || ""