File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/storage/views/23517b5711f40a75eba83a90baa9e5d9
<div class="number">1</div> <h2><?php echo Lang::get('checkout/checkout.invoice.title'); ?></h2> <?php if( $errors->count() > 1): ?> <span class="global-message error"><?php echo Lang::get('validation.custom.global.someErrors'); ?></span><br/> <?php elseif( $errors->count() > 0): ?> <span class="global-message error"><?php echo Lang::get('validation.custom.global.oneError'); ?></span><br/> <?php endif; ?> <div class="input-column"> <div class="input-holder radio"> <?php echo Form::label('order-as', Lang::get('form.order_as') ); ?> <?php echo Form::radio('order-as','individual', true, ['id' => 'order-as-individual', 'ng-model' => 'orderAs', 'ng-change' => 'customerTypeChanged()', 'ng-init' => 'orderAs = \''.($checkout->customer()->get('order-as') ? $checkout->customer()->get('order-as') : 'individual').'\'']); ?> <label for="order-as-individual" class="radio-label"><?php echo ucfirst(Lang::get('form.individual')); ?></label> <?php echo Form::radio('order-as','company', false, ['id' => 'order-as-company', 'ng-model' => 'orderAs', 'ng-change' => 'customerTypeChanged()']); ?> <label for="order-as-company" class="radio-label"><?php echo ucfirst(Lang::get('form.company')); ?></label> </div> <div class="input-holder radio"> <?php echo Form::label('invoice-title', Lang::get('form.salutation') ); ?> <?php echo Form::radio('invoice-title','mr',$checkout->customer()->get('invoice-title') == 'mr' || $checkout->customer()->get('invoice-title') == '', ['id' => 'invoice-title-mr']); ?> <label for="invoice-title-mr" class="radio-label"><?php echo ucfirst(Lang::get('form.title_mr')); ?></label> <?php echo Form::radio('invoice-title', 'mrs', $checkout->customer()->get('invoice-title') == 'mrs',['id'=>'invoice-title-mrs']); ?> <label for="invoice-title-mrs" class="radio-label"><?php echo ucfirst(Lang::get('form.title_mrs')); ?></label> <?php if( Shop::getLanguageService()->getCurrentLanguage() == 'en' ): ?> <?php echo Form::radio('invoice-title', 'ms', $checkout->customer()->get('invoice-title') == 'ms',['id'=>'invoice-title-ms']); ?> <label for="invoice-title-ms" class="radio-label"><?php echo ucfirst(Lang::get('form.title_ms')); ?></label> <?php endif; ?> </div> <?php if( $errors->has('invoice-first-name') || $errors->has('invoice-last-name') ): ?> <span class="message error"><?php echo Lang::get('validation.custom.fullName.required'); ?></span><br/> <?php endif; ?> <div class="input-holder w11<?php echo $errors->first('invoice-first-name',' error'); ?>"> <?php echo Form::label('invoice-first-name', Lang::get('form.first_name') ); ?> <?php echo Form::text('invoice-first-name', $checkout->customer()->get('invoice-first-name'), ['autocomplete' => 'given-name']); ?> </div> <?php if( Shop::getLanguageService()->getCurrentLanguage() != 'en' ): ?> <div class="input-holder w8"> <?php echo Form::label('invoice-name-insertion', Lang::get('form.insertion') ); ?> <?php echo Form::text('invoice-name-insertion', $checkout->customer()->get('invoice-name-insertion'), ['autocomplete' => 'prevent']); ?> </div> <?php endif; ?> <div class="input-holder w15 last<?php echo $errors->first('invoice-last-name',' error'); ?>"> <?php echo Form::label('invoice-last-name', Lang::get('form.last_name') ); ?> <?php echo Form::text('invoice-last-name', $checkout->customer()->get('invoice-last-name'), ['autocomplete' => 'family-name']); ?> </div> <div class="input-holder<?php echo $errors->first('invoice-email',' error'); ?>"> <?php echo $errors->first('invoice-email','<span class="message error">:message</span>'); ?> <?php echo Form::label('invoice-email', Lang::get('form.email') ); ?> <?php echo Form::email('invoice-email', $checkout->customer()->get('invoice-email')); ?> </div> <div class="input-holder<?php echo $errors->first('invoice-telephone',' error'); ?>"> <?php echo $errors->first('invoice-telephone','<span class="message error">:message</span>'); ?> <?php /*Phone number for the DE and AT shop is required*/ ?> <?php echo Form::label('invoice-telephone', Lang::get('form.telephone').(Shop::getShop()->id !=2 ?' (' . Lang::get('form.optional') . ')':'') ); ?> <?php echo Form::text('invoice-telephone', $checkout->customer()->get('invoice-telephone')); ?> </div> <div class="input-holder<?php echo $errors->first('invoice-company',' error'); ?>" ng-show="orderAs == 'company'"> <?php echo $errors->first('invoice-company','<span class="message error">:message</span>'); ?> <?php echo Form::label('invoice-company', Lang::get('form.company_name')); ?> <?php echo Form::text('invoice-company', $checkout->customer()->get('invoice-company'), [ 'ng-model' => 'invoiceCompany', 'ng-init' => 'invoiceCompany = \''.$checkout->customer()->get('invoice-company').'\'' ]); ?> </div> <div class="input-holder<?php echo $errors->first('invoice-company-vat',' error'); ?>" ng-show="invoiceCountry != 'NL' && orderAs == 'company'" > <?php echo $errors->first('invoice-company-vat','<span class="message error">:message</span>'); ?> <?php echo Form::label('invoice-company-vat', Lang::get('form.company_name_vat')); ?> <?php echo Form::text('invoice-company-vat', $checkout->customer()->get('invoice-company-vat'), [ 'ng-model' => 'invoiceCompanyVat', 'ng-init' => 'invoiceCompanyVat = \''.$checkout->customer()->get('invoice-company-vat').'\'', 'vat-validation' => '' ]); ?> </div> </div> <div class="input-column last"> <div class="input-holder<?php echo $errors->first('invoice-street',' error'); ?>"> <?php echo $errors->first('invoice-street','<span class="message error">:message</span>'); ?> <?php echo Form::label('invoice-street', Lang::get('form.street')); ?> <?php echo Form::text('invoice-street', $checkout->customer()->get('invoice-street')); ?> </div> <?php echo $errors->first('invoice-house-number','<span class="message error">:message</span>'); ?> <div class="input-holder w11<?php echo $errors->first('invoice-house-number',' error'); ?>"> <?php echo Form::label('invoice-house-number', Lang::get('form.house_number')); ?> <?php echo Form::text('invoice-house-number', $checkout->customer()->get('invoice-house-number'), ['autocomplete' => 'prevent']); ?> </div> <div class="input-holder w11"> <?php echo Form::label('invoice-house-number-suffix', Lang::get('form.suffix')); ?> <?php echo Form::text('invoice-house-number-suffix', $checkout->customer()->get('invoice-house-number-suffix'), ['autocomplete' => 'prevent']); ?> </div> <div class="clear"></div> <?php if( $errors->has('invoice-postal') || $errors->has('invoice-city') ): ?> <span class="message error"><?php echo Lang::get('validation.custom.fullAddress.required'); ?></span><br/> <?php endif; ?> <div class="input-holder w15<?php echo $errors->first('invoice-postal',' error'); ?>"> <?php echo Form::label('invoice-postal', Lang::get('form.postal') ); ?> <?php echo Form::text('invoice-postal', $checkout->customer()->get('invoice-postal')); ?> </div> <div class="input-holder w24 last<?php echo $errors->first('invoice-city',' error'); ?>" style="width: 160px;"> <?php echo Form::label('invoice-city', Lang::get('form.city')); ?> <?php echo Form::text('invoice-city', $checkout->customer()->get('invoice-city')); ?> </div> <div class="input-holder<?php echo $errors->first('invoice-country',' error'); ?>"> <?php echo $errors->first('invoice-country','<span class="message error">:message</span>'); ?> <?php echo Form::label('invoice-country', Lang::get('form.country')); ?> <?php echo Form::select('invoice-country', $countries, $checkout->customer()->get('invoice-country'),[ 'ng-model' => 'invoiceCountry', 'ng-change' => 'setShippingCosts()', 'ng-init' => 'invoiceCountry = \''.$checkout->customer()->get('invoice-country').'\'; setShippingCosts()' ]); ?> </div> </div>