Drupal Association members fund grants that make connections all over the world.
I am working on a project and I'm using storminvoice for invoicing several tasks of a project.
But when I have a task with pricemode daily, a price of 800, a duration of 4 and the durationunit day, I get the wrong amount. In this case I expect an amount of 800*4 = 3200, but instead I get 800/8*4 = 400, because it ignores the durationunit.
I don't know if it's actually intended to ignore the durationunit, but for my case the unit is important.
When I made a patch, I also saw that the hours per day to calculate the daily rate are hardcoded. So I made a setting for this.
With my patch, when calculating the rates, it checks if the durationunit is hour or day and calculates the rate accordingly.