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

This commit is contained in:
ssww23
2026-03-10 00:55:37 +03:00
parent fc0f28d830
commit 93a655235a
155 changed files with 24768 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
@extends('layouts.shop')
@section('content')
@include('partials.breadcrumbs', [
'items' => [
['label' => 'Админка', 'url' => route('admin.dashboard')],
['label' => 'Заказы', 'url' => null],
],
])
<section class="pc-section">
<div class="pc-section-title">
<h2>Заказы</h2>
</div>
<div class="pc-card">
@if ($orders->isEmpty())
<p>Заказов пока нет.</p>
@else
<div class="pc-account-orders">
@foreach ($orders as $order)
<a class="pc-account-order" href="{{ route('admin.orders.show', $order) }}">
<span>Заказ #{{ $order->id }} ({{ $order->status }})</span>
<strong>{{ number_format($order->total, 0, '.', ' ') }} {{ config('shop.currency_symbol', '₽') }}</strong>
</a>
@endforeach
</div>
@endif
</div>
<div class="pc-pagination">
{{ $orders->links() }}
</div>
</section>
@endsection