diff --git a/include/user_action_fin.php b/include/user_action_fin.php index 52f7ff36b..2f7536e51 100644 --- a/include/user_action_fin.php +++ b/include/user_action_fin.php @@ -173,9 +173,10 @@ echo 'P if ( $action == 'solde' ) { require_once("poste.php"); // find the bank account - $accountSql="select distinct pcm_val,pcm_lib from + $accountSql="select distinct pcm_val::text,pcm_lib from tmp_pcmn - where pcm_val like '550%'"; + where pcm_val like '550%' or pcm_val='58' + order by pcm_val::text"; $ResAccount=ExecSql($cn,$accountSql); echo '