diff --git a/budget/templates/compute_bills.html b/budget/templates/compute_bills.html deleted file mode 100644 index 4c6fd56..0000000 --- a/budget/templates/compute_bills.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "layout.html" %} - -{% block top_menu %} -Back to the list -{% endblock %} - -{% block content %} -
Name | Balance |
---|---|
{{ person.name }} | {{ balance }} |
Periodically (probably at the end of each month, you can compute the balance of each people, in order to reset all the debts. You can also let this "as-is" and try to find a good balance, that's up to you
- {% else %}Nothing to list yet. You probably want to add a bill ?
{% endif %} diff --git a/budget/web.py b/budget/web.py index b98e764..24a034b 100644 --- a/budget/web.py +++ b/budget/web.py @@ -169,7 +169,7 @@ def add_bill(project): db.session.add(form.save()) db.session.commit() - flash("The bill have been added") + flash("The bill has been added") return redirect(url_for('list_bills', project_id=project.id)) return render_template("add_bill.html", form=form, project=project)