Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
PaulB: Add duedate to ORDERY BY clause
This puts the first payment due at the top of the list.
  • Loading branch information
TurboPT committed Mar 10, 2018
1 parent a382590 commit 60d85e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dashboard.php
Expand Up @@ -318,7 +318,7 @@
GROUP BY suppliers.supplierid,
currencies.decimalplaces
HAVING SUM(supptrans.ovamount + supptrans.ovgst - supptrans.alloc) <> 0
ORDER BY suppliers.supplierid";
ORDER BY supptrans.duedate, suppliers.supplierid";
$SuppliersResult = DB_query($Sql);

while($SuppliersToPay = DB_fetch_array($SuppliersResult)) {
Expand Down Expand Up @@ -619,4 +619,4 @@
echo '</tbody></table>';
} //OrderSecurity
include('includes/footer.php');
?>
?>

0 comments on commit 60d85e0

Please sign in to comment.