Skip to content

Commit 7de8234

Browse files
bug: show all available tax info (#7887)
Co-authored-by: Sundaram Dubey <[email protected]>
1 parent 0b00bd7 commit 7de8234

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

app/templates/components/forms/wizard/basic-details-step.hbs

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,15 +635,32 @@
635635
</div>
636636
<div class="content">
637637
<div class="header">{{this.data.event.tax.name}}</div>
638-
{{#if this.data.event.tax.shouldSendInvoice}}
638+
{{#if this.data.event.tax.country}}
639639
<div class="description">
640-
{{t 'Organisation Name '}}{{this.data.event.tax.registeredCompany}}
640+
<br/>{{this.data.event.tax.country}}
641641
</div>
642642
{{/if}}
643643
<div class="description">
644+
{{this.data.event.tax.rate}}% - {{if this.data.event.tax.isTaxIncludedInPrice 'Tax included in ticket price' 'Tax on top of ticket price'}}
644645
{{this.data.event.tax.taxId}}<br>
645-
{{this.data.event.tax.rate}}% - {{if this.data.event.tax.isTaxIncludedInPrice 'Included in ticket price' 'Extra fee on ticket price'}}
646646
</div>
647+
{{#if this.data.event.tax.shouldSendInvoice}}
648+
<div class="description">
649+
{{this.data.event.tax.registeredCompany}}
650+
{{#if this.data.event.tax.address}}
651+
<br/>{{this.data.event.tax.address}}
652+
{{/if}}
653+
{{#if this.data.event.tax.city}}
654+
<br/>{{this.data.event.tax.city}}
655+
{{/if}}
656+
{{#if this.data.event.tax.state}}
657+
<br/>{{this.data.event.tax.state}}
658+
{{/if}}
659+
{{#if this.data.event.tax.zip}}
660+
<br/>{{this.data.event.tax.zip}}
661+
{{/if}}
662+
</div>
663+
{{/if}}
647664
</div>
648665
<div class="ui bottom attached small buttons">
649666
<button class="ui button" type="button" {{action 'openTaxModal' false}}>

0 commit comments

Comments
 (0)