Dodanie funkcji czyszczenia cache oraz przycisku do ponownego wysyłania zamówienia do apilo.com; poprawa sortowania transportów w bazie danych

This commit is contained in:
2024-12-20 21:30:18 +01:00
parent d993d53002
commit 84c9e285d6
9 changed files with 187 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ class ShopTransport
. 'FROM '
. 'pp_shop_transports AS pst '
. 'WHERE '
. 'status = 1' ) -> fetchAll( \PDO::FETCH_ASSOC );
. 'status = 1 ORDER BY o ASC' ) -> fetchAll( \PDO::FETCH_ASSOC );
if ( is_array( $results ) and !empty( $results ) ) foreach ( $results as $row )
$transports_tmp[] = $row;