Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
ca246a46
Commit
ca246a46
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
parents
767ee564
d5c78115
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/compta/hrm.php
+3
-3
3 additions, 3 deletions
htdocs/compta/hrm.php
htdocs/langs/en_US/users.lang
+1
-0
1 addition, 0 deletions
htdocs/langs/en_US/users.lang
with
4 additions
and
3 deletions
htdocs/compta/hrm.php
+
3
−
3
View file @
ca246a46
...
...
@@ -36,7 +36,7 @@ require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
$langs
->
load
(
'users'
);
$langs
->
load
(
'holidays'
);
$langs
->
load
(
'trips
s
'
);
$langs
->
load
(
'trips'
);
// Protection if external user
if
(
$user
->
societe_id
>
0
)
accessforbidden
();
...
...
@@ -61,7 +61,7 @@ $holidaystatic=new Holiday($db);
llxHeader
(
array
(),
$langs
->
trans
(
'HRMArea'
));
print_fiche_titre
(
$langs
->
trans
(
"HRMArea"
));
print
'<div class="fichecenter"><div class="fichethirdleft">'
;
...
...
@@ -106,11 +106,11 @@ if (! empty($conf->deplacement->enabled) && $user->rights->deplacement->lire)
print
'</div><div class="fichetwothirdright"><div class="ficheaddleft">'
;
$max
=
10
;
$langs
->
load
(
"boxes"
);
// Last trips
$sql
=
"SELECT u.rowid as uid, u.lastname, u.firstname, d.rowid, d.dated as date, d.tms as dm, d.km, d.fk_statut"
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"deplacement as d, "
.
MAIN_DB_PREFIX
.
"user as u"
;
if
(
!
$user
->
rights
->
societe
->
client
->
voir
&&
!
$user
->
societe_id
)
$sql
.
=
", "
.
MAIN_DB_PREFIX
.
"societe as s, "
.
MAIN_DB_PREFIX
.
"societe_commerciaux as sc"
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/users.lang
+
1
−
0
View file @
ca246a46
# Dolibarr language file - Source file is en_US - users
HRMArea=HRM area
UserCard=User card
ContactCard=Contact card
GroupCard=Group card
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment