This commit is contained in:
32
resources/views/shop/checkout-success.blade.php
Normal file
32
resources/views/shop/checkout-success.blade.php
Normal file
@@ -0,0 +1,32 @@
|
||||
@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>Заказ №{{ $order->id }} успешно оформлен</h2>
|
||||
<p>Мы приняли заказ в обработку. Статус заказа: <strong>{{ $order->status }}</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' => 'Заказ #' . $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
|
||||
Reference in New Issue
Block a user