v1.3.1 - Sortierung Zahler - nächster Zahler immer ganz oben
This commit is contained in:
@@ -265,7 +265,7 @@ $sql_paid = "
|
||||
JOIN users u ON mt.user_id = u.id
|
||||
WHERE mt.paid = 1 AND m.is_completed = 1
|
||||
GROUP BY u.username
|
||||
ORDER BY paid_count DESC, u.username ASC
|
||||
ORDER BY paid_count ASC, u.username ASC
|
||||
";
|
||||
$result_paid = mysqli_query($conn, $sql_paid);
|
||||
while ($row = mysqli_fetch_assoc($result_paid)) {
|
||||
@@ -377,6 +377,7 @@ require_once 'inc/header.php';
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-center">Ranking – Rechnung übernommen</h5>
|
||||
<p class="text-muted text-center small mb-1">Position 1 = nächster Zahler</p>
|
||||
<div style="height: 40vh;">
|
||||
<canvas id="paidChart"></canvas>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user