Skip to content

Commit

Permalink
Merge pull request #192 from delcroip/develop
Browse files Browse the repository at this point in the history
rev 4.5.4
  • Loading branch information
delcroip authored Jun 29, 2022
2 parents 9e6a9af + 15c5fa2 commit 76356dc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions htdocs/timesheet/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# dolibarr_project_timesheet changelog
4.5.4
- fix: save and next
- fix: update progress only #190
- fix: calcualte total lines

4.5.3
- better adaptative header size in PDF

This comment has been minimized.

Copy link
@funsurfer2008

funsurfer2008 Jul 14, 2022

Now I have a small logo and the writing overlapped. Can i disable it somehow?


Expand Down
2 changes: 1 addition & 1 deletion htdocs/timesheet/Timesheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
$postUserId = GETPOST('userid', 'int');
$submitted = GETPOST('submit', 'alpha');
$submitted_next = GETPOST('submit_next', 'alpha');
$save_next = GETPOST('save_next', 'alpha');
$saved_next = GETPOST('save_next', 'alpha');
$tsUserId = GETPOST('tsUserId', 'int');

$admin = $user->admin || $user->rights->timesheet->timesheet->admin;
Expand Down
2 changes: 1 addition & 1 deletion htdocs/timesheet/class/TimesheetTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ public function postTaskTimeActual($timesheetPost, $userId, $Submitter, $token,
+ $_SESSION['timesheet'][$token]['timeSpendDeleted']
+ $_SESSION['timesheet'][$token]['timeSpendCreated']) ;
# update the time used on the task level
if ($nbUpdate > 0) {
if (($nbUpdate + $progressUpdate) > 0) {
$this->updateTimeUsed();
if ($progressUpdate)$_SESSION['timesheet'][$token]['ProgressUpdate']++;
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/timesheet/core/js/timesheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function updateAll(){
TotalList[i].innerHTML = minutesToHTML(total);
}
}
//updateAllLinesTotal();
updateAllLinesTotal();
}


Expand Down
2 changes: 1 addition & 1 deletion htdocs/timesheet/core/modules/modtimesheet.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct($db)
$this->editor_name = 'Patrick Delcroix';
$this->editor_url = 'https://github.com/delcroip';
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = '4.5.3';
$this->version = '4.5.4';
// Key used in llx_cons table to save module status enabled/disabled(where timesheet is value of property name of module in uppercase)
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
// Where to store the module in setup page(0=common, 1=interface, 2=others, 3=very specific)
Expand Down

0 comments on commit 76356dc

Please sign in to comment.