Skip to content

Commit

Permalink
add emails to "Totals by project" (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
svonworl authored Nov 26, 2024
1 parent 416aa2f commit d1a1956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/gcp_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ <h2>Totals by project</h2>
</tr>
</thead>
<tbody>
{% for id, cost_month, cost_today, project in rows|group_by('id', 'cost_month', 'cost_today', 'name')|sort_by(1) %}
{% for id, cost_month, cost_today, project, created_by in rows|group_by('id', 'cost_month', 'cost_today', 'name', 'created_by')|sort_by(1) %}
{%- if cost_month >= cost_cutoff -%}
<tr>
<td><a href='#{{ id|to_project_id }}'>{{ project }}</a></td>
<td><a href='#{{ id|to_project_id }}'>{{ project }}</a>{% if created_by != 'Unowned' %} ({{ created_by }}){% endif %}</td>
<td>{{ cost_month|print_amount }}</td>
<td>{{ cost_today|print_diff }}</td>
</tr>
Expand Down

0 comments on commit d1a1956

Please sign in to comment.