Add Orders and Order Status repositories with pagination and management features
- 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.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user