diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 5a8ac046ce4..812f396abd0 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -349,7 +349,7 @@ if ($action == 'create') { // Ref print ''.$langs->trans("Ref").''; - print 'ref).'" maxlength="12" autofocus>'; + print 'ref).'" maxlength="12" autofocus>'; // Label print ''.$langs->trans("LabelBankCashAccount").''; @@ -358,7 +358,7 @@ if ($action == 'create') { // Type print ''.$langs->trans("AccountType").''; print ''; - $formbank->selectTypeOfBankAccount(GETPOSTISSET("type") ? GETPOST("type") : Account::TYPE_CURRENT, "type"); + $formbank->selectTypeOfBankAccount(GETPOSTISSET("type") ? GETPOST("type", 'alpha') : Account::TYPE_CURRENT, "type"); print ''; // Currency