diff --git a/htdocs/salaries/card.php b/htdocs/salaries/card.php
old mode 100644
new mode 100755
index 72148a30c35..91330cf318e
--- a/htdocs/salaries/card.php
+++ b/htdocs/salaries/card.php
@@ -614,10 +614,24 @@ if ($id)
$morehtmlref = '
';
+ // Label
+ if ($action != 'editlabel') {
+ $morehtmlref .= $form->editfieldkey("Label", 'label', $object->label, $object, $user->rights->salaries->write, 'string', '', 0, 1);
+ $morehtmlref .= $object->label;
+ } else {
+ $morehtmlref .= '
'.$langs->trans('Label').' : ';
+ $morehtmlref .= '';
+ }
+
// Employee
$userstatic = new User($db);
$userstatic->fetch($object->fk_user);
- $morehtmlref .= $langs->trans('Employee').' : '.$userstatic->getNomUrl(1);
+ $morehtmlref .= '
' .$langs->trans('Employee').' : '.$userstatic->getNomUrl(1);
// Project
if (!empty($conf->projet->enabled))
@@ -652,22 +666,6 @@ if ($id)
}
}
- // Label
- if ($action != 'editlabel') {
- $morehtmlref .= '
' . $form->editfieldkey("Label", 'label', $object->label, $object, $user->rights->salaries->write, 'string', '', 0, 1);
- $morehtmlref .= $object->label;
- } else {
- $morehtmlref .= '
'.$langs->trans('Label').' : ';
- $morehtmlref .= '';
- }
-
-
-
$morehtmlref .= '
';
$totalpaye = $object->getSommePaiement();