diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php
index b72742d5a27..27fb98684ed 100644
--- a/htdocs/fourn/facture/paiement.php
+++ b/htdocs/fourn/facture/paiement.php
@@ -223,7 +223,7 @@ if ($action == 'create' || $action == 'add_paiement')
if ($conf->banque->enabled)
{
print '
| '.$langs->trans('Account').' | ';
- $html->select_comptes(empty($_POST['accountid'])?'':$_POST['accountid'],'accountid',0,'',1);
+ $html->select_comptes(empty($_POST['accountid'])?'':$_POST['accountid'],'accountid',0,'',2);
print ' |
';
}
else
@@ -423,7 +423,7 @@ if (! $_GET['action'] && ! $_POST['action'])
$html->select_types_paiements($_REQUEST["search_paymenttype"],'search_paymenttype','',2,1,1);
print '';
print '';
- $html->select_comptes($_REQUEST["search_account"],'search_account',0,'',2);
+ $html->select_comptes($_REQUEST["search_account"],'search_account',0,'',1);
print ' | ';
print '';
print '';
|