diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 1aad0fff7bbb969aa01c8a7ba7ff29c354949ee7..de4fa985ff1cdbe1b334fa5d0278e2054e3f7564 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -390,7 +390,7 @@ if ($result) // Date proposal print '<td align="center">'; - print dol_print_date($db->jdate($obj->dp), 'day'); + print dol_print_date($db->jdate($objp->dp), 'day'); print "</td>\n"; // Date end validity diff --git a/htdocs/compta/salaries/fiche.php b/htdocs/compta/salaries/fiche.php index 34a2b9b4435d2cc6039a4760dd6dfc501006d8b3..dac250eabc7adf24e15d6242bd6d46d6acd9b524 100644 --- a/htdocs/compta/salaries/fiche.php +++ b/htdocs/compta/salaries/fiche.php @@ -365,7 +365,7 @@ if ($id) print "<div class=\"tabsAction\">\n"; if ($salpayment->rappro == 0) { - if (! empty($user->rights->tax->charges->supprimer)) + if (! empty($user->rights->salaries->delete)) { print '<a class="butActionDelete" href="fiche.php?id='.$salpayment->id.'&action=delete">'.$langs->trans("Delete").'</a>'; }