33 lines
1.5 KiB
PHP
33 lines
1.5 KiB
PHP
@extends('layouts.shop')
|
|
|
|
@section('content')
|
|
@include('partials.breadcrumbs', [
|
|
'items' => [
|
|
['label' => __('Главная'), 'url' => route('home')],
|
|
['label' => __('Заказ оформлен'), 'url' => null],
|
|
],
|
|
])
|
|
|
|
<section class="pc-section">
|
|
<div class="pc-card">
|
|
<h2>{{ __('Заказ №:number успешно оформлен', ['number' => $order->id]) }}</h2>
|
|
<p>{{ __('Мы приняли заказ в обработку. Статус заказа:') }} <strong>{{ $order->status_label }}</strong>.</p>
|
|
<p>{{ __('Способ оплаты:') }} <strong>{{ $order->payment_method_label }}</strong>.</p>
|
|
<p>{{ __('Сумма заказа:') }} <strong>{{ number_format($order->total, 0, '.', ' ') }} {{ config('shop.currency_symbol', '₽') }}</strong>.</p>
|
|
|
|
@include('partials.payment-requisites', [
|
|
'amount' => $order->total,
|
|
'purpose' => __('Заказ #:number', ['number' => $order->id]),
|
|
'showHelp' => true,
|
|
])
|
|
|
|
<div class="pc-product-actions">
|
|
<a class="pc-btn primary" href="{{ route('catalog.index') }}">{{ __('Продолжить покупки') }}</a>
|
|
@auth
|
|
<a class="pc-btn ghost" href="{{ route('account.orders.show', $order) }}">{{ __('Открыть заказ') }}</a>
|
|
@endauth
|
|
</div>
|
|
</div>
|
|
</section>
|
|
@endsection
|