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
remove not needed functions
as-op51bc5816718a
diff --git a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rbindex 87c5e7ef828..a2783031aa9 100644--- a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb+++ b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb@@ -125,7 +125,7 @@ class CostQuery::PDF::TimesheetGeneratorcontent: result_entry.fields["comments"],text_color: COMMENT_FONT_COLOR,font_style: :italic,- colspan: table_columns_span+ colspan: table_columns_widths.size}]end@@ -145,20 +145,12 @@ class CostQuery::PDF::TimesheetGenerator[COLUMN_DATE_WIDTH, COLUMN_WP_WIDTH + COLUMN_TIME_WIDTH, COLUMN_HOURS_WIDTH, COLUMN_ACTIVITY_WIDTH]end- def table_width- table_columns_widths.sum- end-- def table_columns_span- table_columns_widths.size- end-# rubocop:disable Metrics/AbcSizedef build_table(rows)pdf.make_table(rows,header: true,- width: table_width,+ width: table_columns_widths.sum,column_widths: table_columns_widths,cell_style: {size: TABLE_CELL_FONT_SIZE,