Fix wrong BTC sum when adding multiple line items

closes #220
This commit is contained in:
2024-03-20 17:24:37 +01:00
parent f5f74ae27f
commit 7afc75dbff
3 changed files with 37 additions and 4 deletions
@@ -14,6 +14,7 @@
<p class="label">Total amount (BTC):</p>
<p>
<Input @type="text"
@name="total-btc"
@placeholder="0.0015"
@value={{this.total}}
@required={{true}}
@@ -49,7 +50,9 @@
<p class="actions">
<button {{on "click" this.showExpenseForm}}
class="green small" type="button">+ Add another item</button>
id="add-another-item" class="green small" type="button">
+ Add another item
</button>
</p>
{{else}}
<p>No line items yet.</p>