Skip to content

Commit 2639f35

Browse files
shreyanshdwivedimariobehling
authored andcommitted
feat: company data possible to be added without ticking 'Send tax invoice' (#3121)
1 parent c635c9f commit 2639f35

File tree

1 file changed

+24
-26
lines changed

1 file changed

+24
-26
lines changed

app/templates/components/modals/tax-info-modal.hbs

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -44,32 +44,30 @@
4444
</label>
4545
</div>
4646
</div>
47-
{{#if tax.shouldSendInvoice}}
48-
<div class="field">
49-
<label class="required">{{t 'Registered Company'}}</label>
50-
{{input type='text' id='tax_invoice_company' value=tax.registeredCompany}}
51-
</div>
52-
<div class="field">
53-
<label class="required">{{t 'Business Address'}}</label>
54-
{{textarea rows=3 id='tax_invoice_address' value=tax.address}}
55-
</div>
56-
<div class="field">
57-
<label class="required">{{t 'City'}}</label>
58-
{{input type='text' id='tax_invoice_city' value=tax.city}}
59-
</div>
60-
<div class="field">
61-
<label class="required">{{t 'State'}}</label>
62-
{{input type='text' id='tax_invoice_state' value=tax.state}}
63-
</div>
64-
<div class="field">
65-
<label class="required">{{t 'Zipcode'}}</label>
66-
{{input type='text' id='tax_invoice_zipcode' value=tax.zip}}
67-
</div>
68-
<div class="field">
69-
<label>{{t 'Text for invoice footer (optional)'}}</label>
70-
{{textarea rows=3 id='tax_invoice_footer' value=tax.invoiceFooter}}
71-
</div>
72-
{{/if}}
47+
<div class="field">
48+
<label class="required">{{t 'Registered Company'}}</label>
49+
{{input type='text' id='tax_invoice_company' value=tax.registeredCompany}}
50+
</div>
51+
<div class="field">
52+
<label class="required">{{t 'Business Address'}}</label>
53+
{{textarea rows=3 id='tax_invoice_address' value=tax.address}}
54+
</div>
55+
<div class="field">
56+
<label class="required">{{t 'City'}}</label>
57+
{{input type='text' id='tax_invoice_city' value=tax.city}}
58+
</div>
59+
<div class="field">
60+
<label class="required">{{t 'State'}}</label>
61+
{{input type='text' id='tax_invoice_state' value=tax.state}}
62+
</div>
63+
<div class="field">
64+
<label class="required">{{t 'Zipcode'}}</label>
65+
{{input type='text' id='tax_invoice_zipcode' value=tax.zip}}
66+
</div>
67+
<div class="field">
68+
<label>{{t 'Text for invoice footer (optional)'}}</label>
69+
{{textarea rows=3 id='tax_invoice_footer' value=tax.invoiceFooter}}
70+
</div>
7371
<div class="grouped fields">
7472
<label for="privacy">{{t 'Add or Include Tax Fee'}}</label>
7573
<div class="field">

0 commit comments

Comments
 (0)