Add configuration for time resolution rounding

This commit is contained in:
Paul van Tilburg 2014-10-25 21:35:53 +02:00
parent 423916232f
commit b182711f39
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# Default configuration for Stop… Camping Time!
# Time resolution in minutes
#time_resolution: 1
# The default hourly rate
#hourly_rate: 20.0

View File

@ -144,6 +144,7 @@ module StopTime::Models
DefaultConfig = { "invoice_id" => "%Y%N",
"invoice_template" => "invoice",
"hourly_rate" => 20.0,
"time_resolution" => 1,
"vat_rate" => 21.0 }
# Creates a new configuration object and loads the configuation.