67 lines
2.3 KiB
PHP
Executable file
67 lines
2.3 KiB
PHP
Executable file
@extends('web.layouts.layout')
|
|
|
|
@section('content')
|
|
|
|
@if ($errors->any())
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-promotion-form-validations']) !!}
|
|
<input type="hidden" name="load_url" value="{{ route('web_promotion_modal_load') }}">
|
|
<div class="layout-content">
|
|
@include('web.promotion._intro')
|
|
|
|
<div class="container px-3">
|
|
@include('web.promotion._free_product')
|
|
|
|
@include('web.promotion._shop_products')
|
|
|
|
@include('web.promotion._shipping')
|
|
|
|
@include('web.promotion._fairplay')
|
|
<section id="promotion_cart_holder">
|
|
@include('web.promotion._promotion_cart')
|
|
</section>
|
|
|
|
<section>
|
|
<div class="row">
|
|
<div class="col-lg-8 col-md-7">
|
|
<section id="invoice_details_holder">
|
|
@if(Yard::instance('shopping')->isQuickShipping())
|
|
@include('web.promotion._invoice_details_quick')
|
|
@else
|
|
@include('web.promotion._invoice_details')
|
|
@endif
|
|
</section>
|
|
</div>
|
|
<div class="col-lg-4 col-md-5">
|
|
<section id="promotion_checkout_holder">
|
|
@include('web.promotion._checkout')
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
{!! Form::close() !!}
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
var iqShoppingShopCart = IqPromotionShopCart.init();
|
|
});
|
|
</script>
|
|
@endsection
|
|
|
|
@section('scripts')
|
|
<script src="{{ asset('/js/iq-promotion-shop-cart.js') }}?v=2{{ get_file_last_time('/js/iq-promotion-shop-cart.js') }}"></script>
|
|
@endsection
|