Files
tehnobox/resources/views/shop/checkout-success.blade.php
ssww23 0ee9f05416
Some checks failed
Deploy / deploy (push) Has been cancelled
1
2026-03-17 01:59:00 +03:00

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