{% extends "base.html" %} {% load static i18n humanize %} {% block title %}{{ portfolio.name }} - Transactions{% endblock %} {% block content %}
Back to Dashboard

{{ portfolio.name }}

Transaction History

View Portfolio
{% if transactions %}
{% for tx in transactions %} {% endfor %}
Date Action Stock Quantity Source
{{ tx.date|date:"Y-m-d" }} {{ tx.action }} {{ tx.stock_code }} {{ tx.quantity|floatformat:2|intcomma }} {% if tx.source %} {% if tx.source|lower == 'ai' or tx.source|lower == 'ocr' %}🤖 AI{% else %}手动{% endif %} {% if tx.confidence is not None and tx.confidence < 0.9 %} ⚠ 低置信 {% endif %} {% endif %}
{% else %}

No transactions in this portfolio.

{% endif %}
{% endblock %}