aboutsummaryrefslogtreecommitdiff
path: root/include/clients-overview.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/clients-overview.php')
-rw-r--r--include/clients-overview.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/clients-overview.php b/include/clients-overview.php
index 523aeef..a238ab1 100644
--- a/include/clients-overview.php
+++ b/include/clients-overview.php
@@ -22,11 +22,11 @@
<div class="panel panel-default">
<div class="panel-heading">Overview</div>
<div class="panel-body table-responsive">
- <table class="table table-bordered table-striped">
+ <table class="table table-bordered table-striped mixitup" id="overview-clients">
<thead>
<tr>
- <th>#</th>
- <th>Name</th>
+ <th class="mixitup-sort" data-sort="mixerOrderId:asc">#</th>
+ <th class="mixitup-sort" data-sort="mixerOrderName:asc">Name</th>
<th>Tools</th>
</tr>
</thead>
@@ -34,7 +34,9 @@
<?php
$clients = BusinessAdmin::getClients($_pdo);
foreach ($clients as $client) {
- echo "<tr>
+ echo "<tr class='mix'
+ data-mixer-order-id='{$client->getId()}'
+ data-mixer-order-name='{$client->getName()}'>
<td class='col-min-width'>{$client->getId()}</td>
<td class='col-max-width'>
<a href='#' class='editable' id='editable-client-{$client->getId()}-name' data-type='text' data-pk='{$client->getId()}' data-url='".constants::url_external."clients/edit' data-title='Enter new name'>