- Implemented OrdersRepository for handling order data with pagination, filtering, and sorting capabilities. - Added methods for retrieving order status options, quick stats, and detailed order information. - Created OrderStatusRepository for managing order status groups and statuses, including CRUD operations and sorting. - Introduced a bootstrap file for test environment setup and autoloading.
29 lines
710 B
PHP
29 lines
710 B
PHP
<div class="orders-page">
|
|
<section class="card orders-head">
|
|
<div class="page-head">
|
|
<div>
|
|
<h1><?= $e($t('orders.title')) ?></h1>
|
|
<p class="muted"><?= $e($t('orders.description')) ?></p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<?php if (!empty($errorMessage)): ?>
|
|
<section class="card mt-16">
|
|
<div class="alert alert--danger" role="alert">
|
|
<?= $e((string) $errorMessage) ?>
|
|
</div>
|
|
</section>
|
|
<?php endif; ?>
|
|
|
|
<?php if (!empty($successMessage)): ?>
|
|
<section class="card mt-16">
|
|
<div class="alert alert--success" role="status">
|
|
<?= $e((string) $successMessage) ?>
|
|
</div>
|
|
</section>
|
|
<?php endif; ?>
|
|
|
|
<?php require __DIR__ . '/../components/table-list.php'; ?>
|
|
</div>
|