@extends('main') @section('styles') @endsection @section('content')

{{ __('Shopping cart') }}

@if (session()->has('success'))
{{ session()->get('success') }}
@endif @if (session()->has('error'))
{{ session()->get('error') }}
@endif @if (sizeof(Cart::instance('default')->content()) > 0)

{!! __('Purchases') !!}

@widget('Sidebar\ReceiptCart')

{!! __('Place of delivery') !!}

{!! Form::open(array('route' => 'checkout.save', 'method' => 'POST','class' => 'mb-0','id' => 'add-form')) !!}
{!! __('Delivery address') !!}
  1. @foreach (\Auth::user()->addresses as $key => $address)
    first) checked @endif value="{!! @$address->id !!}" data-id="{!! Optional($address->destination)->amount !!}" data-city="{!! @$address->destination->title !!}">
    @endforeach
{!! __('Payment method') !!}
{!! Form::close() !!}
@else

{{ __('You have no items in your Shopping cart') }}

@endif
@endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/js/jquery.validate.js') !!} @endsection