Fix amount display format on New Transaction - Promotions page
This commit is contained in:
parent
560c162ee1
commit
06b2de9311
@ -46,7 +46,7 @@
|
|||||||
@promotion.Items.Sum(item => Model.Items.Single(i => i.ItemId == item.Id).Quantity)
|
@promotion.Items.Sum(item => Model.Items.Single(i => i.ItemId == item.Id).Quantity)
|
||||||
</td>
|
</td>
|
||||||
<td class="table__cell table__cell--compact table__cell--numeric">
|
<td class="table__cell table__cell--compact table__cell--numeric">
|
||||||
@(-promotion.Amount)
|
@((-promotion.Amount).ToString("c"))
|
||||||
</td>
|
</td>
|
||||||
<td class="table__cell table__cell--compact">
|
<td class="table__cell table__cell--compact">
|
||||||
<a class="link" asp-action="EditTransactionPromotion" asp-route-id="@promotion.Id" data-turbo-frame="modal">Edit</a>
|
<a class="link" asp-action="EditTransactionPromotion" asp-route-id="@promotion.Id" data-turbo-frame="modal">Edit</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user