diff --git a/htdocs/compta/facture/card-rec.php b/htdocs/compta/facture/card-rec.php
index 9341197c312..fb503ccac4d 100644
--- a/htdocs/compta/facture/card-rec.php
+++ b/htdocs/compta/facture/card-rec.php
@@ -193,11 +193,11 @@ if (empty($reshook)) {
$action = "create";
$error++;
}
- if ($nb_gen_max === '') {
+ /*if ($nb_gen_max === '') {
setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->trans("MaxPeriodNumber")), null, 'errors');
$action = "create";
$error++;
- }
+ }*/
}
if (!$error) {
@@ -964,7 +964,7 @@ if ($action == 'create') {
// Title
print '
| '.$langs->trans("Title").' | ';
- print '';
+ print '';
print ' |
';
// Third party
diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index 5eaed91db56..675653975fc 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -3061,7 +3061,7 @@ if ($action == 'create') {
} else {
print '| '.$langs->trans('Customer').' | ';
print '';
- print img_picto('', 'company').$form->select_company($soc->id, 'socid', '((s.client = 1 OR s.client = 3) AND s.status=1)', 'SelectThirdParty', 0, 0, null, 0, 'minwidth300');
+ print img_picto('', 'company').$form->select_company($soc->id, 'socid', '((s.client = 1 OR s.client = 3) AND s.status=1)', 'SelectThirdParty', 0, 0, null, 0, 'minwidth300 widthcentpercentminusxx maxwidth500');
// Option to reload page to retrieve customer informations.
if (empty($conf->global->RELOAD_PAGE_ON_CUSTOMER_CHANGE_DISABLED)) {
print ' |