<?php $__env->startSection('title'); ?> <?php echo trans('website.labels.billing-information'); ?> - <?php echo Config::get('website.title'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('container'); ?> <div class="row"> <div class="col-xs-12 order"> <h1><?php echo trans('website.labels.billing-information'); ?></h1> <ul class="steps clearfix"> <li class="col-xs-3 first"> <a href="<?php echo route('cart.show'); ?>">1. <?php echo trans('website.labels.shopping-cart'); ?></a> <i class="glyphicon glyphicon-triangle-right"></i> </li> <li class="col-xs-3"> <a href="<?php echo route('payment-shipment'); ?>">2. <?php echo trans('website.labels.payment-and-shipment'); ?></a> <i class="glyphicon glyphicon-triangle-right"></i> </li> <li class="col-xs-3 active"> <a>3. <?php echo trans('website.labels.billing-information'); ?></a> <i class="glyphicon glyphicon-triangle-right"></i> </li> <li class="col-xs-3 last"> <a>4. <?php echo trans('website.labels.order-confirmation'); ?></a> </li> </ul> <?php if(!$user): ?> <?php echo $__env->make('website.order.partials.login-form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php endif; ?> <?php echo Form::horizontal(['route' => 'billing-information', 'secure' => true]); ?> <div class="row"> <div class="col-xs-12"> <div class="panel panel-default"> <div class="panel-heading"> <?php if(!$user): ?> <h3 class="panel-title text-uppercase"><?php echo trans('website.messages.enter-your-billing-information'); ?></h3> <?php else: ?> <h3 class="panel-title text-uppercase"><?php echo trans('website.messages.adjust-your-billing-information'); ?></h3> <?php endif; ?> </div> <div class="panel-body padding"> <?php echo $__env->make('website.order.partials.personal-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php if(!$user): ?> <?php echo $__env->make('website.order.partials.account-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php endif; ?> <div class="row"> <div class="col-xs-12"> <hr size="1"> </div> </div> <?php echo $__env->make('website.order.partials.billing-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <div class="row"> <div class="col-xs-12"> <hr size="1"> </div> </div> <?php echo $__env->make('website.order.partials.corporate-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <div class="row"> <div class="col-xs-12"> <hr size="1"> </div> </div> <?php if($shipment->type == 'post-office'): ?> <?php echo $__env->make('website.order.partials.shipment-postoffice', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php endif; ?> <?php if($shipment->type == 'post-box'): ?> <?php echo $__env->make('website.order.partials.shipment-postbox', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php endif; ?> <?php if($shipment->type == 'post-address' || $shipment->type == 'courier-dhl' || $shipment->type == 'post-czech' || $shipment->type == 'post-europe'): ?> <?php echo $__env->make('website.order.partials.shipment-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php endif; ?> <?php if($shipment->type == 'veda-sav' || $shipment->type == 'veda-stefanikova'): ?> <?php echo Form::hidden('billing_shipment_equal', 1); ?> <?php else: ?> <div class="row"> <div class="col-xs-12"> <hr size="1"> </div> </div> <?php endif; ?> <?php echo $__env->make('website.order.partials.additional-notes', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> </div> </div> </div> </div> <div class="row"> <div class="pull-left back"> <i class="glyphicon glyphicon-chevron-left"></i> <?php echo HTML::linkRoute('payment-shipment', trans('website.labels.back')); ?> </div> <div class="pull-right"> <div class="proceed"> <?php echo Button::accept(trans('website.buttons.proceed-to-order-verification'))->appendIcon(Icon::triangle_right())->submit(); ?> </div> </div> </div> <?php echo Form::close(); ?> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('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'); <?php $__env->stopSection(); ?>