@extends('shop.app') @section('content')

Podaci za naplatu

{!! Form::open([ 'url' => route('finish-order'), 'method' => 'post', 'class' => 'form-body', 'id' => 'checkout-form', 'enctype' => 'multipart/form-data', 'role' => 'form', 'files' => true, ]) !!}
{!! Form::label('customer_first_name', 'Ime') !!} {!! Form::text('customer_first_name', '', ['class' => 'form-control', 'value' => old('customer_first_name')]) !!}
{!! Form::label('customer_last__name', 'Prezime') !!} {!! Form::text('customer_last_name', '', ['class' => 'form-control']) !!}
{!! Form::label('customer_phone_number', 'Broj telefona') !!} {!! Form::text('customer_phone_number', '', ['class' => 'form-control']) !!}
{!! Form::label('customer_email', 'Email') !!} {!! Form::text('customer_email', '', ['class' => 'form-control']) !!}
{!! Form::label('customer_address', 'Adresa') !!} {!! Form::text('customer_address', '', ['class' => 'form-control']) !!}
{!! Form::label('customer_city', 'Grad') !!} {!! Form::text('customer_city', '', ['class' => 'form-control']) !!}
{!! Form::label('customer_zip', 'Poštanski broj') !!} {!! Form::text('customer_zip', '', ['class' => 'form-control']) !!}

Dostava

  • Dostava (BAM) {{ getDeliveryPrice() }}

Metode plaćanja

Narudžba

{{ count($cart->cartItems) }}

    @foreach ($cart->cartItems as $item)
  • {{ $item->product->getName() }} {{ $item->product->finalPrice() }}BAM
  • @endforeach
  • Cijena (BAM) {{ getCartTotal() }}
  • Dostava (BAM) {{ getDeliveryPrice() }}
  • @if (getCart()->discount > 0)
  • Promo kod
    - {{ getCart()->discount }}%
  • @endif
  • Ukupno (BAM) {{ getOrderTotal() }}

{!! Form::close() !!}
@endsection @section('scripts') @endsection