Skip to content

Releases: samaphp/desktime

0.7.2

26 Oct 09:18
Compare
Choose a tag to compare
0.7.2 Pre-release
Pre-release

Remove unused required parameter.

0.7.1

26 Oct 08:41
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

Update default targets and define method to get goals.

0.7

26 Oct 08:05
Compare
Choose a tag to compare
0.7 Pre-release
Pre-release

Define setGoals() method for DesktimeClass to allow change the goals.

0.6

22 Mar 11:26
Compare
Choose a tag to compare
0.6 Pre-release
Pre-release

Bunch of improvements:

  • Making employee goals variable public in Desktime Class to allow to override the goals.
  • New method to getEmployeeByEmail().
  • Allow instantiating the class with a specific employee by Desktime EmployeeID.
  • Add an example of how to use getEmployeeByEmail() in README file.
  • Calculate the shortness for reports.
  • Add more details for short target/minimum for report() method.

0.5

22 Jan 18:53
Compare
Choose a tag to compare
0.5 Pre-release
Pre-release

Rename report targeted key to target. and return 0 instead of FALSE when not met the target.

0.4

22 Jan 18:26
Compare
Choose a tag to compare
0.4 Pre-release
Pre-release

Important update to rename method getLastWorkDays() to getLastDays().

$Employee = new Employee();
$Employee->setCredentials(['api_key' => 'API_KEY_HERE']);
$Helpers = new Helpers();
$Helpers->setEmployee($Employee);
// PHP array of list of dates like 2020-01-22.
$workdays = $Helpers->getLastDays(5);
$result = $Helpers->report($workdays);
print_r($result);

0.3

22 Jan 18:15
Compare
Choose a tag to compare
0.3 Pre-release
Pre-release

New helpers class with some calculations to extract a productive report.

0.2

13 Jan 16:43
Compare
Choose a tag to compare
0.2 Pre-release
Pre-release

Fix get() error. and add examples folder.

0.1

13 Jan 16:29
Compare
Choose a tag to compare
0.1 Pre-release
Pre-release

First test release to be used as a package.
Please use this package for test only.