diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index 9d489f3581f..bbeb57f0e5e 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -40,7 +40,6 @@ require '../main.inc.php'; * @var Translate $langs * @var User $user */ - require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php'; require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php'; require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php'; @@ -553,7 +552,7 @@ if ($action == 'create') { print '
| '.$langs->trans("Label").' | |||
| '.$langs->trans("Label").' | |||
| '.$langs->trans("Status").' | '; print $form->selectarray('status', array('0' => $langs->trans('ActivityCeased'), '1' => $langs->trans('InActivity')), 1, 0, 0, 0, '', 0, 0, 0, '', 'minwidth100'); @@ -566,7 +565,7 @@ if ($action == 'create') { "mor" => $langs->trans("Moral"), ]; print ' | ||
| '.$langs->trans("MembersNature").' | '; - print $form->selectarray("morphy", $morphys, GETPOSTISSET("morphy") ? GETPOST("morphy", 'aZ09') : 'morphy'); + print $form->selectarray("morphy", $morphys, GETPOSTISSET("morphy") ? GETPOST("morphy", 'aZ09') : 'morphy', 0, 0, 0, '', 0, 0, 0, '', 'minwidth300'); print " | ||
| '.$form->textwithpicto($langs->trans("SubscriptionRequired"), $langs->trans("SubscriptionRequiredDesc")).' | '; @@ -574,7 +573,7 @@ if ($action == 'create') { print ' | ||
| '.$langs->trans("Amount").' | '; - print ''; + print ''; print ' | ||
| '.$form->textwithpicto($langs->trans("CanEditAmountShort"), $langs->transnoentities("CanEditAmount")).' | '; @@ -586,7 +585,7 @@ if ($action == 'create') { print ' | ||
| '.$langs->trans("Duration").' | '; - print ' '; + print ' '; print $formproduct->selectMeasuringUnits("duration_unit", "time", GETPOSTISSET("duration_unit") ? GETPOST('duration_unit', 'aZ09') : 'y', 0, 1); print ' | ||