JSON_VALUE(address,"$.postcode") AS code_postal,\r
JSON_VALUE(address,"$.country") AS pays,\r
JSON_VALUE(address,"$.city") AS ville,\r
- JSON_VALUE(billing_address,"$.address") AS adresse_facturation,\r
+ c_billing_address AS adresse_facturation,\r
c_ca AS ca,\r
c_unpaid AS impaye, \r
vat_number AS tva_intra,\r
}
$listeClients[trim($client->rs) . ' (' . $client->prenom . ' ' . $client->nom . ')'] = $client->utilisateur_id;
}
- ksort($listeClients);
+ uksort($listeClients, function ($a, $b) {
+ return strcasecmp($a, $b);
+ });
$listeClients = array_merge(array('--' => ''), $listeClients);
$daoEquipier = new commonDAOEquipier($core->con);