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

@@ -6,7 +6,7 @@ class Transport implements \ArrayAccess
static public function transport_list()
{
global $mdb;
return $mdb -> select( 'pp_shop_transports', '*', [ 'status' => 1 ] );
return $mdb -> select( 'pp_shop_transports', '*', [ 'status' => 1 ], [ 'ORDER' => [ 'o' => 'ASC' ] ] );
}
public function offsetExists( $offset )