Better translation

This commit is contained in:
Laurent Destailleur 2020-01-28 21:35:03 +01:00
parent 936899e0e2
commit a88e1ac605
2 changed files with 4 additions and 4 deletions

View File

@ -2305,9 +2305,9 @@ class Adherent extends CommonObject
}
elseif ($mode == 'shift') {
$warning_delay = $conf->adherent->subscription->warning_delay/60/60/24;
$url = DOL_URL_ROOT.'/adherents/list.php?mainmenu=members&statut=-1&filter=outofdate';
$url = DOL_URL_ROOT.'/adherents/list.php?mainmenu=members&statut=-1';
$label = $langs->trans("MembersListToValid");
$labelShort = $langs->trans("MemberStatusDraft");
$labelShort = $langs->trans("ToValidate");
}
$response = new WorkboardResponse();

View File

@ -458,8 +458,8 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
if (!empty($conf->adherent->enabled) && $user->rights->adherent->lire && !$user->socid) {
include_once DOL_DOCUMENT_ROOT . '/adherents/class/adherent.class.php';
$board = new Adherent($db);
$dashboardlines[$board->element . '_expired'] = $board->load_board($user, 'expired');
$dashboardlines[$board->element . '_shift'] = $board->load_board($user, 'shift');
$dashboardlines[$board->element . '_expired'] = $board->load_board($user, 'expired');
}
// Number of expense reports to approve
@ -565,7 +565,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
'groupName' => 'Members',
'globalStatsKey' => 'members',
'stats' =>
array('member_expired', 'member_shift'),
array('member_shift', 'member_expired'),
),
'ExpenseReport' =>
array(