|
85 | 85 | <div class="page-header">
|
86 | 86 | <h2>{{#i18n}}reservation-page.your-details{{/i18n}}</h2>
|
87 | 87 | </div>
|
| 88 | + |
| 89 | + {{#onlyInvoice}} |
88 | 90 | <div class="row">
|
89 | 91 | <div class="col-xs-12">
|
90 | 92 | <div class="form-group {{#field-has-error}}[billingAddressCompany] has-error{{/field-has-error}}">
|
|
94 | 96 | </div>
|
95 | 97 | </div>
|
96 | 98 | </div>
|
| 99 | + {{/onlyInvoice}} |
97 | 100 |
|
98 | 101 |
|
99 | 102 | {{#useFirstAndLastName}}
|
|
133 | 136 | </div>
|
134 | 137 | </div>
|
135 | 138 |
|
| 139 | + {{#onlyInvoice}} |
136 | 140 | <div class="row">
|
137 | 141 | <div class="col-xs-12">
|
138 | 142 | <div class="form-group {{#field-has-error}}[billingAddressLine1] has-error{{/field-has-error}}">
|
|
185 | 189 | </optgroup>
|
186 | 190 | </select>
|
187 | 191 | </div>
|
188 |
| - |
189 | 192 | </div>
|
190 |
| - </div> |
191 |
| - |
192 |
| - {{#customerReferenceEnabled}} |
| 193 | + {{#customerReferenceEnabled}} |
193 | 194 | <div class="form-group {{#field-has-error}}[customerReference] has-error{{/field-has-error}}">
|
194 | 195 | <label for="customerReference" class="control-label">{{#i18n}}common.customer-reference{{/i18n}}</label>
|
195 | 196 | <input type="text" name="customerReference" id="customerReference" class="form-control" maxlength="255" value="{{paymentForm.customerReference}}">
|
196 | 197 | {{#field-has-error}}[customerReference]<span class="help-block text-danger">{{#i18n}}{{#field-error}}customerReference{{/field-error}}{{/i18n}}</span>{{/field-has-error}}
|
197 | 198 | </div>
|
198 |
| - {{/customerReferenceEnabled}} |
| 199 | + {{/customerReferenceEnabled}} |
| 200 | + </div> |
| 201 | + <div class="row"> |
| 202 | + <div class="col-xs-12"> |
| 203 | + <input type="hidden" name="invoiceRequested" id="invoice-requested" value="true"> |
| 204 | + <div class="checkbox wMarginTop"> |
| 205 | + <label> |
| 206 | + <input type="checkbox" name="addCompanyBillingDetails" id="add-company-billing-details" value="true" {{#paymentForm.addCompanyBillingDetails}}checked{{/paymentForm.addCompanyBillingDetails}}> |
| 207 | + {{#i18n}}reservation.add-company-billing-details [{{vatTranslation}}]{{/i18n}} |
| 208 | + </label> |
| 209 | + </div> |
| 210 | + </div> |
| 211 | + </div> |
| 212 | + <div class="row"> |
| 213 | + <div id="vat-number-container"> |
| 214 | + <div class="col-xs-12"> |
| 215 | + <div class="form-group {{#field-has-error}}[vatNr] has-error{{/field-has-error}}"> |
| 216 | + <label for="vatNr">{{#i18n}}invoice.vat [{{vatTranslation}}]{{/i18n}}</label> |
| 217 | + <div class="input-group"> |
| 218 | + <div class="input-group-addon" id="selected-country-code"></div> |
| 219 | + <input id="vatNr" type="text" name="vatNr" class="form-control" value="{{paymentForm.vatNr}}"/> |
| 220 | + </div> |
| 221 | + {{#field-has-error}}[vatNr]<span class="help-block text-danger">{{#i18n}}{{#field-error}}vatNr{{/field-error}}{{/i18n}}</span>{{/field-has-error}} |
| 222 | + </div> |
| 223 | + </div> |
| 224 | + </div> |
| 225 | + </div> |
| 226 | + {{/onlyInvoice}} |
199 | 227 |
|
200 | 228 | <div class="page-header">
|
201 | 229 | <h2>{{#i18n}}reservation-page.attendees{{/i18n}}</h2>
|
|
0 commit comments