diff --git a/htdocs/compta/facture/prelevement.php b/htdocs/compta/facture/prelevement.php index 48b08946469..f542fa9bbd9 100644 --- a/htdocs/compta/facture/prelevement.php +++ b/htdocs/compta/facture/prelevement.php @@ -428,7 +428,7 @@ if ($object->id > 0) /* * Withdrawal request - */ + */ $sql = "SELECT pfd.rowid, pfd.traite, pfd.date_demande as date_demande"; $sql .= " , pfd.date_traite as date_traite"; @@ -462,12 +462,13 @@ if ($object->id > 0) } else { - print ''.$langs->trans("MakeWithdrawRequest").''; + print ''.$langs->trans("MakeWithdrawRequest").''; } } else { - print ''.$langs->trans("MakeWithdrawRequest").''; + if ($num == 0) print ''.$langs->trans("MakeWithdrawRequest").''; + else print ''.$langs->trans("MakeWithdrawRequest").''; } print "
\n"; diff --git a/htdocs/projet/ganttview.php b/htdocs/projet/ganttview.php index beed3f05ae8..36c991e6397 100644 --- a/htdocs/projet/ganttview.php +++ b/htdocs/projet/ganttview.php @@ -161,7 +161,7 @@ if ($user->rights->projet->all->creer || $user->rights->projet->creer) } else { - print ''.$langs->trans('AddTask').''; + print ''.$langs->trans('AddTask').''; } print ''; diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index 3f9b9b463c5..67556847ce7 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -369,7 +369,7 @@ else } else { - print ''.$langs->trans('AddTask').''; + print ''.$langs->trans('AddTask').''; } print ''; diff --git a/htdocs/projet/tasks/task.php b/htdocs/projet/tasks/task.php index 3d645d694bb..038c5e05b85 100644 --- a/htdocs/projet/tasks/task.php +++ b/htdocs/projet/tasks/task.php @@ -269,7 +269,7 @@ if ($id > 0 || ! empty($ref)) } else { - print ''.$langs->trans('AddTask').''; + print ''.$langs->trans('AddTask').''; } print '';