Tri categorie par nom
This commit is contained in:
parent
f7279e4073
commit
acbbae0b77
@ -105,9 +105,12 @@ if ($account > 0)
|
||||
$acct = new Account($db);
|
||||
$acct->fetch($account);
|
||||
|
||||
// Chargement des categories dans $options
|
||||
// Chargement des categories bancaires dans $options
|
||||
$nbcategories=0;
|
||||
$sql = "SELECT rowid, label FROM ".MAIN_DB_PREFIX."bank_categ;";
|
||||
$sql = "SELECT rowid, label";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."bank_categ";
|
||||
$sql.= " ORDER BY label";
|
||||
|
||||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user