Skip to content

Commit

Permalink
only show data in special-countries report if amount in row is > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ggalancs committed Jun 21, 2021
1 parent 97c3b88 commit f5a692d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/admin/collaboration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ def send_csv_file(header1, months, output_data, filename)
row.push(amount_month)
sum_row += amount_month
end
output_data << row
output_data << row if sum_row > 0
end
end

Expand Down

0 comments on commit f5a692d

Please sign in to comment.