{% extends 'ssmain/base.html' %}
{#
Society Self-Service
Copyright © 2018-2019 Yingtong Li (RunasSudo)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see
ID | BU-{{ revision.budget.id }} |
Title | {{ revision.name }} |
Due date | {{ revision.date or '' }} |
Event details | {% if revision.event_dt %}{{ localtime(revision.event_dt) }}.{% endif %} {% if revision.event_attendees %}{{ revision.event_attendees }} attendees.{% endif %} {% if not revision.event_dt and not revision.event_attendees %}N/A{% endif %} |
Contributors |
{% for contributor in revision.contributors.all() %}
{% endfor %}
|
Comments | {{ revision.comments }} |
Revenue |
{% if revision.revenue_comments %}
Revenue comments
{{ revision.revenue_comments }}
|
Expenses |
{% if revision.expense_no_emergency_fund %}
No emergency fund required (please add a comment explaining why) {% endif %} {% if revision.expense_comments %}
Expense comments
{{ revision.expense_comments }}
|
Total Profit (Loss) | {{ '${:.2f}'.format(revision.get_revenue_total() - revision.get_expense_total()) if revision.get_revenue_total() >= revision.get_expense_total() else '(${:.2f})'.format(revision.get_expense_total() - revision.get_revenue_total()) }} |