1
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
ssww23
2026-03-17 01:59:00 +03:00
parent 93a655235a
commit 0ee9f05416
48 changed files with 1193 additions and 413 deletions

View File

@@ -3,22 +3,22 @@
@section('content')
@include('partials.breadcrumbs', [
'items' => [
['label' => 'Главная', 'url' => route('home')],
['label' => 'Личный кабинет', 'url' => route('account')],
['label' => 'Заказ #' . $order->id, 'url' => null],
['label' => __('Главная'), 'url' => route('home')],
['label' => __('Личный кабинет'), 'url' => route('account')],
['label' => __('Заказ #:number', ['number' => $order->id]), 'url' => null],
],
])
<section class="pc-section">
<div class="pc-section-title">
<h2>Заказ #{{ $order->id }}</h2>
<p>Статус: <strong>{{ $order->status }}</strong></p>
<p>Способ оплаты: <strong>{{ $order->payment_method_label }}</strong></p>
<h2>{{ __('Заказ #:number', ['number' => $order->id]) }}</h2>
<p>{{ __('Статус:') }} <strong>{{ $order->status_label }}</strong></p>
<p>{{ __('Способ оплаты:') }} <strong>{{ $order->payment_method_label }}</strong></p>
</div>
<div class="pc-grid pc-grid-2">
<div class="pc-card">
<h3>Состав заказа</h3>
<h3>{{ __('Состав заказа') }}</h3>
<div class="pc-account-orders">
@foreach ($order->items as $item)
<div class="pc-account-order">
@@ -28,13 +28,13 @@
@endforeach
</div>
<div class="pc-cart-summary-row">
<span>Итого</span>
<span>{{ __('Итого') }}</span>
<strong>{{ number_format($order->total, 0, '.', ' ') }} {{ config('shop.currency_symbol', '₽') }}</strong>
</div>
</div>
<div class="pc-card">
<h3>Данные получателя</h3>
<h3>{{ __('Данные получателя') }}</h3>
<p><strong>{{ $order->customer_name }}</strong></p>
<p>{{ $order->email }}</p>
@if ($order->phone)
@@ -44,7 +44,7 @@
<p>{{ $order->address }}</p>
@endif
@if ($order->comment)
<p>Комментарий: {{ $order->comment }}</p>
<p>{{ __('Комментарий:') }} {{ $order->comment }}</p>
@endif
</div>
</div>
@@ -52,7 +52,7 @@
@if (!in_array($order->status, ['paid', 'shipped', 'completed'], true))
@include('partials.payment-requisites', [
'amount' => $order->total,
'purpose' => 'Заказ #' . $order->id,
'purpose' => __('Заказ #:number', ['number' => $order->id]),
'showHelp' => true,
])
@endif