@section('title') {{trans('website.labels.billing-information')}} - {{Config::get('website.title')}} @stop @section('container')

{{trans('website.labels.billing-information')}}

@if (!$user) @include('website.order.partials.login-form') @endif {{Form::horizontal(['route' => 'billing-information', 'secure' => true])}}
@if (!$user)

{{trans('website.messages.enter-your-billing-information')}}

@else

{{trans('website.messages.adjust-your-billing-information')}}

@endif
@include('website.order.partials.personal-information') @if (!$user) @include('website.order.partials.account-information') @endif

@include('website.order.partials.billing-information')

@include('website.order.partials.corporate-information')

@if ($shipment->type == 'post-office') @include('website.order.partials.shipment-postoffice') @endif @if ($shipment->type == 'post-box') @include('website.order.partials.shipment-postbox') @endif @if ($shipment->type == 'post-address' || $shipment->type == 'courier-dhl' || $shipment->type == 'post-czech' || $shipment->type == 'post-europe') @include('website.order.partials.shipment-information') @endif @if ($shipment->type == 'veda-sav' || $shipment->type == 'veda-stefanikova') {{Form::hidden('billing_shipment_equal', 1)}} @else

@endif @include('website.order.partials.additional-notes')
{{HTML::linkRoute('payment-shipment', trans('website.labels.back'))}}
{{Button::accept(trans('website.buttons.proceed-to-order-verification'))->appendIcon(Icon::triangle_right())->submit()}}
{{Form::close()}}
@stop @section('scripts') @parent function disablePasswordFields(value) { $('form input[name=user_password], form input[name=user_password_confirmation]').prop('disabled', value); } $('form input[name=request_eshop_account]').on('change', function(event) { var checked = $(this).is(':checked'); disablePasswordFields(!checked); }); $('form input[name=request_eshop_account]').trigger('change'); $('form input[name=corporate_information_hide]').on('change', function(event) { var checked = $(this).is(':checked'); if (checked) $('form .corporate-information').slideUp(); else $('form .corporate-information').slideDown(); }); $('form input[name=billing_shipment_equal]').on('change', function(event) { var checked = $(this).is(':checked'); if (checked) $('form .shipment-information').slideUp(); else $('form .shipment-information').slideDown(); }); $('form input[name=corporate_information_hide]').trigger('change'); $('form input[name=billing_shipment_equal]').trigger('change'); @stop