Skip to content

Commit 47e03dc

Browse files
committed
Merge pull request #158 from plasticcube/develop
reordred so that day P/L comes before unreal. P/L
2 parents 5ff45ea + 888090c commit 47e03dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frano/positions/templates/positions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@
9191
<td>Price</td>
9292
<td>Cost Price</td>
9393
<td>Market Value</td>
94-
<td>Unreal. P/L $</td>
95-
<td>Unreal. P/L %</td>
9694
<td>Day's P/L $</td>
9795
<td>Day's P/L %</td>
96+
<td>Unreal. P/L $</td>
97+
<td>Unreal. P/L %</td>
9898
<td>&nbsp;</td>
9999
</tr>
100100
</thead>
@@ -119,10 +119,10 @@
119119
<td>${{ position.price|num_format }}</td>
120120
<td>${{ position.cost_price|num_format }}</td>
121121
<td>${{ position.market_value|num_format }}</td>
122-
<td class="{{ position.pl|sign_choice:'pos,neg,' }}">${{ position.pl|num_format }}</td>
123-
<td class="{{ position.pl|sign_choice:'pos,neg,' }}">{{ position.pl_percent|floatformat:2 }}%</td>
124122
<td class="{{ position.day_pl|sign_choice:'pos,neg,' }}">${{ position.day_pl|num_format }}</td>
125123
<td class="{{ position.day_pl|sign_choice:'pos,neg,' }}">{{ position.day_pl_percent|floatformat:2 }}%</td>
124+
<td class="{{ position.pl|sign_choice:'pos,neg,' }}">${{ position.pl|num_format }}</td>
125+
<td class="{{ position.pl|sign_choice:'pos,neg,' }}">{{ position.pl_percent|floatformat:2 }}%</td>
126126
<td>
127127
{% ifnotequal position.lots|length 0 %}
128128
<a href="#" class="showLots">more...</a>

0 commit comments

Comments
 (0)