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
cccc5430
Commit
cccc5430
authored
9 years ago
by
Marcos García de La Fuente
Browse files
Options
Downloads
Patches
Plain Diff
Fix: [ bug #3288 ] Tasks box is not properly drawn
Close #3288
parent
12b83fd3
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
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
htdocs/core/boxes/box_task.php
+3
-2
3 additions, 2 deletions
htdocs/core/boxes/box_task.php
with
4 additions
and
2 deletions
ChangeLog
+
1
−
0
View file @
cccc5430
...
...
@@ -18,6 +18,7 @@ FIX [ bug 1925 ] "Link to order" option in supplier invoices is not working prop
FIX [ bug #3198 ] Trigger LINECONTRACT_INSERT passes Contrat as $object instead of ContratLigne
FIX: Not showing delivery date on rouget pdf
FIX: Not showing task extrafields when creating from left menu
FIX [ bug #3288 ] Tasks box is not properly drawn
NEW: Created new ContratLigne::insert function
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/boxes/box_task.php
+
3
−
2
View file @
cccc5430
...
...
@@ -120,12 +120,13 @@ class box_task extends ModeleBoxes
// Add the sum à the bottom of the boxes
$this
->
info_box_contents
[
$i
][
0
]
=
array
(
'tr'
=>
'class="liste_total"'
,
'td'
=>
'align="left" colspan="2" '
,
'text'
=>
$langs
->
trans
(
"Total"
)
.
" "
.
$textHead
);
$this
->
info_box_contents
[
$i
][
0
]
=
array
(
'tr'
=>
'class="liste_total"'
,
'td'
=>
'align="left"'
,
'text'
=>
$langs
->
trans
(
"Total"
)
.
" "
.
$textHead
);
$this
->
info_box_contents
[
$i
][
1
]
=
array
(
'td'
=>
''
,
'text'
=>
""
);
$this
->
info_box_contents
[
$i
][
2
]
=
array
(
'td'
=>
'align="right" '
,
'text'
=>
number_format
(
$totalnb
,
0
,
','
,
' '
)
.
" "
.
$langs
->
trans
(
"Tasks"
));
$this
->
info_box_contents
[
$i
][
3
]
=
array
(
'td'
=>
'align="right" '
,
'text'
=>
ConvertSecondToTime
(
$totalplannedtot
,
'all'
,
25200
,
5
));
$this
->
info_box_contents
[
$i
][
4
]
=
array
(
'td'
=>
'align="right" '
,
'text'
=>
ConvertSecondToTime
(
$totaldurationtot
,
'all'
,
25200
,
5
));
$this
->
info_box_contents
[
$i
][
5
]
=
array
(
'td'
=>
''
,
'text'
=>
""
);
}
/**
...
...
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