Skip to content

Commit

Permalink
Adjusted readme for differnt generation options
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreWohnsland committed Aug 2, 2020
1 parent 471983f commit 2c0d3ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ On first startup, the application will create the needed configuration and the d

# Reports

An overview can be seen when clicking `Options > Summary`. Over a datepicker, a day can be chosen to display a summary of the data in either the according month or all events of this day. The day / month view can be changed over the view togglebutton. To generate the report of your overtime, click the `Export` button. By default settings, the report will be saved into the reports folder of this application. As soon as the savefolder was changed over the option setting, the app will use this location instead. Only overtime is displayed. Time less than eight hours is displayed as zero. The overtime is rounded to the closest quarter hour.
An overview can be seen when clicking `Options > Summary`. With a datepicker, a day can be chosen to display a summary of the data in either the according month or all events of this day. The day / month view can be changed over the view togglebutton. To generate the report of your overtime or worktime, click the `Export` button. By default settings, the report will be saved into the reports folder of this application. As soon as the savefolder was changed over the option setting, the app will use this location instead. The default worktime for overtime is eight hours, time worked less than eight will displayed as zero overtime. The overtime/worktime is rounded to the closest quarter hour. Breaks are already subtracted in the calculation, adherence to the regular break times is not observed.

# Adjust Past Values

Expand Down
1 change: 1 addition & 0 deletions src/ui_controler.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def report_choice(self):
msgBox = QMessageBox()
msgBox.setText("Would you like the report of the overtime (0 if none or the amount) or of the regular hours?")
msgBox.setWindowTitle("Report Generation")
msgBox.setWindowIcon(QIcon(self.ui.clock_picture))
overtime_button = msgBox.addButton("Overtime", QMessageBox.YesRole)
time_button = msgBox.addButton("Time", QMessageBox.NoRole)
cancelBtn = msgBox.addButton("Cancel", QMessageBox.RejectRole)
Expand Down

0 comments on commit 2c0d3ee

Please sign in to comment.