SiT! Bugs - SiT!
View Issue Details
0001386SiT!billingpublic2010-08-22 12:332013-07-06 16:45
Tomse 
 
lowtrivialalways
resolvedfixed 
Current SVN 
3.90beta1Current GIT 
0001386: Activities within the same time frame adds up in total.
if you have a 2 hour billing, and you start an activity the customer will be billed for the 2 hours, but if you close the activity after 15 minutes (0:15), start one after 1 hour of the initial start (1:00) and close it again after 15 minutes (1:15).

this shows a total of 4 hours.

when the incident is closed 1 unit is billed though.


No tags attached.
png sit-billable.png (47,260) 2010-12-04 17:17
http://bugs.sitracker.org/file_download.php?file_id=131&type=bug
png
Issue History
2010-08-22 12:33TomseNew Issue
2010-08-22 12:39TomsePrioritynormal => low
2010-08-22 12:39TomseSeverityminor => trivial
2010-08-22 12:39TomseSummaryActivities within the same time frame adds up. => Activities within the same time frame adds up in total.
2010-08-22 12:39TomseDescription Updatedbug_revision_view_page.php?rev_id=178#r178
2010-10-16 12:57paulhNote Added: 0003446
2010-10-16 12:57paulhAssigned To => Tomse
2010-10-16 12:57paulhStatusnew => feedback
2010-10-16 21:34TomseNote Added: 0003447
2010-10-16 21:34TomseStatusfeedback => assigned
2010-10-16 21:34TomseAssigned ToTomse => paulh
2010-10-17 12:20paulhAssigned Topaulh =>
2010-10-17 12:20paulhStatusassigned => new
2010-12-04 17:17TomseFile Added: sit-billable.png
2010-12-04 17:21TomseNote Added: 0003495
2011-02-12 18:34paulhNote Added: 0003590
2011-02-12 18:34paulhStatusnew => confirmed
2013-05-05 14:24paulhNote Added: 0004822
2013-05-05 14:24paulhStatusconfirmed => resolved
2013-05-05 14:24paulhResolutionopen => fixed
2013-05-05 14:24paulhFixed in Version => Current GIT
2013-07-06 16:45ivanTarget Version => 3.90beta1

Notes
(0003446)
paulh   
2010-10-16 12:57   
Hi Tomse,

where is this showing as 4 hours?
(0003447)
Tomse   
2010-10-16 21:34   
I believe it's in billable_incidents.php

(Run a summary report to screen)

My database is pretty blank right now, so I don't have those test data anymore, but I might redo them tomorrow
(0003495)
Tomse   
2010-12-04 17:21   
added an example.

repro:
the SLA used for this example is the default time values when creating a new SLA.

add activity, add a note, close activity
do that a couple of times

you can view the time by opening the incident (incident details) and clicking on activities.
(0003590)
paulh   
2011-02-12 18:34   
can repro
(0004822)
paulh   
2013-05-05 14:24   
Latest got resolves this by showing the minutes rather than billing periods