@extends('shop::layouts.master')

@section('page_title')
    {{ __('shop::app.checkout.success.title') }}
@stop
@push('css')
    <link rel="stylesheet" href="{{bagisto_asset('styles/order-accepted.css')}}">
@endpush
@section('content-wrapper')
    <!-- THANK YOU ========================================================================= -->
    <section class="accepted-content">
        <div class="container">
            <div class="accepted-content-inner">
                <div class="accepted-top">
                    <h2 class="accepted-title">{{ __('shop::app.checkout.success.thanks') }}</h2>
                </div>
                <div class="accepted-middle">
                    <span class="middle-text">{{ __('shop::app.checkout.success.info') }}</span>
                    <span class="middle-text">{{ __('shop::app.checkout.success.order-id-info', ['order_id' => $order->increment_id]) }}</span>
                    <span class="middle-text">Дата: <span id="order-date">{{$order->created_at->format('d.m.Y')}}</span></span>
                </div>
                <div class="accepted-bottom">
                    <a href="{{ route('shop.home.index') }}">{{ __('shop::app.checkout.cart.continue-shopping') }}</a>
                </div>
            </div>
        </div>
    </section>
@endsection
