1c88ed8073
In most cases this mirrors the primary header on the page, but in some cases the title is simplified and/or nested to reflect the depth of the current page Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
20 lines
788 B
HTML
20 lines
788 B
HTML
{% extends 'base.html' %}
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}
|
|
Details for Credebtor {{ credebtor.name }} (Chain {{ credebtor.chain.name }}) | {{ block.super }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Details for Credebtor {{ credebtor.name }} (Chain {{ credebtor.chain.name }})</h2>
|
|
<a href="{% url "backoffice:chain_detail" camp_slug=camp.slug chain_slug=credebtor.chain.slug %}">Back to Credebtor list</a>
|
|
|
|
<h3>{{ credebtor.expenses.count }} Expenses for Credebtor {{ credebtor.name }}</h3>
|
|
{% include 'includes/expense_list_panel.html' with expense_list=credebtor.expenses.all %}
|
|
|
|
<h3>{{ credebtor.revenues.count }} Revenues for Credebtor {{ credebtor.name }}</h3>
|
|
{% include 'includes/revenue_list_panel.html' with revenue_list=credebtor.revenues.all %}
|
|
|
|
{% endblock content %}
|
|
|