Debug job profile object

This commit is contained in:
Laurent Destailleur 2023-08-24 17:42:36 +02:00
parent 187e468ab8
commit 2b0e1749e1
4 changed files with 5 additions and 4 deletions

View file

@ -728,7 +728,7 @@ class Job extends CommonObject
$result = '';
$label = img_picto('', $this->picto).' <u>'.$langs->trans("Job").'</u>';
$label = img_picto('', $this->picto).' <u>'.$langs->trans("JobProfile").'</u>';
if (isset($this->status)) {
$label .= ' '.$this->getLibStatut(5);
}

View file

@ -181,7 +181,7 @@ llxHeader('', $title, $help_url);
// Part to create
if ($action == 'create') {
print load_fiche_titre($langs->trans("NewObject", $langs->transnoentities('Job')), '', 'object_' . $object->picto);
print load_fiche_titre($langs->trans("NewJobProfile", $langs->transnoentities('Job')), '', 'object_' . $object->picto);
print '<form method="POST" action="' . $_SERVER["PHP_SELF"] . '">';
print '<input type="hidden" name="token" value="' . newToken() . '">';
@ -220,7 +220,7 @@ if ($action == 'create') {
// Part to edit record
if (($id || $ref) && $action == 'edit') {
print load_fiche_titre($langs->trans("Job"), '', 'object_' . $object->picto);
print load_fiche_titre($langs->trans("JobProfile"), '', 'object_' . $object->picto);
print '<form method="POST" action="' . $_SERVER["PHP_SELF"] . '">';
print '<input type="hidden" name="token" value="' . newToken() . '">';

View file

@ -50,7 +50,7 @@ function jobPrepareHead($object)
$h++;
$head[$h][0] = DOL_URL_ROOT."/hrm/position.php?fk_job=".$object->id;
$head[$h][1] = $langs->trans("EmployeesInThisPosition");
$head[$h][1] = $langs->trans("PositionsWithThisProfile");
$head[$h][2] = 'position';
$h++;

View file

@ -47,6 +47,7 @@ ValidateEvaluation=Validate evaluation
ConfirmValidateEvaluation=Are you sure you want to validate this evaluation with reference <b>%s</b>?
EvaluationCard=Evaluation card
RequiredRank=Required rank for the job profile
PositionsWithThisProfile=Positions with this job profiles
EmployeeRank=Employee rank for this skill
EmployeePosition=Employee position
EmployeePositions=Employee positions