{% extends 'silverstrike/base.html' %}
{% load i18n %}
{% load static %}
{% load widget_tweaks %}
{% load tags %}
{% block content_header %}
{{ transaction.title }}
- Home
- Transactions
- {{ transaction }}
{% endblock %}
{% block content %}
{% trans 'Transaction Type' %} | {{ transaction.get_transaction_type_str }} |
Date | {{ transaction.date }} |
{% trans 'Total amount' %} | {{ transaction.amount }} |
{% if transaction.notes %}
{% trans 'Notes' %} | {{ transaction.notes }} |
{% endif %}
{% if transaction.recurrence %}
{% trans 'Recurrence' %} | {{ transaction.recurrence }} |
{% endif %}
Title |
Account |
Opposing Account |
Amount |
Date |
Category |
{% for split in transaction.splits.transfers_once %}
{{ split.title }} |
{{ split.account }} |
{{ split.opposing_account }} |
{% if split.is_transfer %}{{ split.amount|negate }}{% else %}{{ split.amount }}{% endif %}
|
{{ split.date }} |
{% if split.category %}{{ split.category }}{% else %}None{% endif %} |
{% endfor %}
{% endblock %}