diff --git a/app/components/add-reimbursement/component.js b/app/components/add-reimbursement/component.js index a379a28..ca2c5a4 100644 --- a/app/components/add-reimbursement/component.js +++ b/app/components/add-reimbursement/component.js @@ -84,6 +84,11 @@ export default class AddReimbursementComponent extends Component { this.total = btcAmount.toFixed(8); } + @action + updateContributor(event) { + this.contributorId = event.target.value; + } + @action showExpenseForm () { this.expenseFormVisible = true; diff --git a/app/components/add-reimbursement/template.hbs b/app/components/add-reimbursement/template.hbs index 314460a..7360686 100644 --- a/app/components/add-reimbursement/template.hbs +++ b/app/components/add-reimbursement/template.hbs @@ -1,8 +1,8 @@ -
+ @@ -58,13 +58,15 @@ {{fmt-fiat-currency expense.amount expense.currency}}
- +
{{/each}}

- +

{{else}}

No line items yet.

@@ -72,11 +74,11 @@

{{#if this.inProgress}} - {{input type="submit" value="Submitting..." disabled=true - title="Submit/propose this reimbursement"}} + {{else}} - {{input type="submit" value="Submit" disabled=this.submitButtonDisabled - title="Submit/propose this reimbursement"}} + {{/if}}