Skip to content

Commit

Permalink
fix: Removing Billing Info if not filled from the Order Dashboa… (#3700)
Browse files Browse the repository at this point in the history
  • Loading branch information
kushthedude authored and iamareebjamal committed Dec 14, 2019
1 parent f8cf8c1 commit bee2a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/forms/orders/attendee-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class extends Component {
return this.data.attendees;
}

@or('data.amount', 'data.isBillingEnabled')
@or('event.isBillingInfoMandatory', 'data.isBillingEnabled')
showBillingInfo;

@computed('fields.@each.form')
Expand Down
2 changes: 1 addition & 1 deletion app/templates/orders/view.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
<div class="row">
<div class="ten wide column">
{{forms/orders/attendee-list save='save' data=model.order fields=model.form}}
{{forms/orders/attendee-list save='save' data=model.order fields=model.form event=model.event}}
</div>
<div class="six wide column">
<div class="row">
Expand Down

0 comments on commit bee2a25

Please sign in to comment.