Skip to content

Commit

Permalink
Merge pull request #1455 from sparc-request/kg-protocol_report
Browse files Browse the repository at this point in the history
KG - Export Consolidated Request Division Bug
  • Loading branch information
Stuart-Johnson committed Aug 3, 2018
2 parents 71833bc + 40ed159 commit 14b3768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/dashboard/protocols/show.xlsx.axlsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ wb.insert_worksheet(0, name: "Summary") do |sheet|
sheet.add_row ["Primary PI Name:", @protocol.primary_principal_investigator.full_name], :style => [bold_default, default]
sheet.add_row ["Business Manager:", @protocol.billing_managers.map(&:full_name).try(:join, ', ')], :style => [bold_default, default]
sheet.add_row ["Funding Source:", @protocol.display_funding_source_value], :style => [bold_default, default]
sheet.add_row ["Indirect Cost Rate:", @protocol.indirect_cost_rate / 100.0 || 0.0], style: [bold_default, percent]
sheet.add_row ["Indirect Cost Rate:", @protocol.indirect_cost_rate.try(:/, 100.0) || 0.0], style: [bold_default, percent]
sheet.add_row ["Staff Fringe Rate:", 0], style: [bold_default, percent]

indirect_cost_rate_row = sheet.rows.length
Expand Down

0 comments on commit 14b3768

Please sign in to comment.