mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-13 16:22:42 +02:00
feat(DCA): add buying price when hovering over paid amount
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
{% load currency_display %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<div class="container-fluid px-md-3 py-3 column-gap-5">
|
<div class="container-fluid px-md-3 py-3 column-gap-5">
|
||||||
<div class="d-lg-flex justify-content-between mb-3 w-100">
|
<div class="d-lg-flex justify-content-between mb-3 w-100">
|
||||||
@@ -49,8 +50,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>{% trans "Date" %}</th>
|
<th>{% trans "Date" %}</th>
|
||||||
<th>{% trans "Amount Paid" %}</th>
|
|
||||||
<th>{% trans "Amount Received" %}</th>
|
<th>{% trans "Amount Received" %}</th>
|
||||||
|
<th>{% trans "Amount Paid" %}</th>
|
||||||
<th>{% trans "Current Value" %}</th>
|
<th>{% trans "Current Value" %}</th>
|
||||||
<th>{% trans "P/L" %}</th>
|
<th>{% trans "P/L" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -83,13 +84,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>{{ entry.date|date:"SHORT_DATE_FORMAT" }}</td>
|
<td>{{ entry.date|date:"SHORT_DATE_FORMAT" }}</td>
|
||||||
<td>
|
|
||||||
<c-amount.display
|
|
||||||
:amount="entry.amount_paid"
|
|
||||||
:prefix="entry.strategy.payment_currency.prefix"
|
|
||||||
:suffix="entry.strategy.payment_currency.suffix"
|
|
||||||
:decimal_places="entry.strategy.payment_currency.decimal_places"></c-amount.display>
|
|
||||||
</td>
|
|
||||||
<td>
|
<td>
|
||||||
<c-amount.display
|
<c-amount.display
|
||||||
:amount="entry.amount_received"
|
:amount="entry.amount_received"
|
||||||
@@ -97,6 +91,13 @@
|
|||||||
:suffix="entry.strategy.target_currency.suffix"
|
:suffix="entry.strategy.target_currency.suffix"
|
||||||
:decimal_places="entry.strategy.target_currency.decimal_places"></c-amount.display>
|
:decimal_places="entry.strategy.target_currency.decimal_places"></c-amount.display>
|
||||||
</td>
|
</td>
|
||||||
|
<td title="{% currency_display amount=entry.entry_price prefix=entry.strategy.payment_currency.prefix suffix=entry.strategy.payment_currency.suffix decimal_places=entry.strategy.payment_currency.decimal_places %}">
|
||||||
|
<c-amount.display
|
||||||
|
:amount="entry.amount_paid"
|
||||||
|
:prefix="entry.strategy.payment_currency.prefix"
|
||||||
|
:suffix="entry.strategy.payment_currency.suffix"
|
||||||
|
:decimal_places="entry.strategy.payment_currency.decimal_places"></c-amount.display>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c-amount.display
|
<c-amount.display
|
||||||
:amount="entry.current_value"
|
:amount="entry.current_value"
|
||||||
|
|||||||
Reference in New Issue
Block a user