Closed (fixed)
Project:
Storm
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2009 at 22:47 UTC
Updated:
4 Aug 2010 at 18:59 UTC
Recalculation of tax amounts / totals when an editted invoice or expense is saved.
Comments
Comment #1
Magnity commentedRefs:
#330433: Expenses issues
#330437: Invoices issues
Comment #2
Magnity commentedMarked as duplicate of this issue:
#508146: Tax and Total fields in Invoice item are not calculated efter editing
#371734: Recalculate Timetracking Duration on Each Save
Thus extending this issue to cover:
- Tax / totals on invoices (+ invoiceitems) and expenses
- Timetracking durations
All of which need some consideration on edit/save.
Comment #3
homoludens commentedWe don't even need a patch for this just change the code:
to
I'm not sure why are those if's here, and i don't see the point. Invoice items and Invoice totals works nice without them.
Comment #4
homoludens commentedAs expected same thing is for expense:
chage to
Same thing with time tracking duration:
Maybe I'm missing something?
Comment #5
Magnity commentedI think the ifs were there in order to give a user the opportunity to manually override them if so desired. However, I think it is better to remove this flexibility but to gain the guaranteed consistency.
I have made these changes for invoices and expenses and also marked those fields on the node form as readonly so that there is no confusion about inputted data being overriden. The changes will all be committed later today when I am on a different web connection.
The timetracking ones I believe needs some option in order that those who have specified the duration in a custom way do not have to have it overriden.
Comment #6
Magnity commentedImplemented setting for timetracking which defaults to automatically updating on any save, but can be switched back to the previous behaviour of only updating if duration is blank by a checkbox.
Possibility of further changes to the method of calculating durations if we change the start / end / duration format anyway though.
Comment #8
cliffdiver1 commentedI'm still experiencing this issue on 6.x-1.33
Comment #9
juliangb commentedPlease could you post some more details about the problem you´re experiencing, so we can see whether it is the same one and how the change above has helped / hindered.
Comment #10
juliangb commentedClosed due to inactivity.