Login or Register

RSS IconRecent posts in this topic

avatar
andrewCharron on Mar 7. 2008. 11:15 am
Good Morning All,

I've been working on a moneytracking module for minor accounting purposes. As I've posted before, it is a clone of the TimeTracking module. I have it working mostly, but theres two parts that dont seem to work well.

A) I can't delete. I get "HTTP/1.1 400 Bad Request" when I click on the delete button. Im looking through the code, and can't seem to find where in module it defines deletion.
B) When you insert a large value (IE: 11235.24) into the hours box, it rounds it to 11235.2. If you do an even larger number, (IE: 1111111.11) it changes it to 1111110. Even though it is a clone, ive gone through and removed references (That I could find) in the class files to the time_to_float and float_to_time functions, and changed the functions to just return the value they are given in case I missed one. I'm looking through the code to no avail as to why it is stored in this way.

Attached below is my work. Keep in mind that it is based off the timetracking module AFTER it was changed to be hidden from clients. Any help would be appreciated, or a point in the right direction! Hopefully someone might have a use for this as well.
avatar
andrewCharron on Mar 10. 2008. 10:01 am
andrewCharron:
Good Morning All,

I've been working on a moneytracking module for minor accounting purposes. As I've posted before, it is a clone of the TimeTracking module. I have it working mostly, but theres two parts that dont seem to work well.

A) I can't delete. I get "HTTP/1.1 400 Bad Request" when I click on the delete button. Im looking through the code, and can't seem to find where in module it defines deletion.
B) When you insert a large value (IE: 11235.24) into the hours box, it rounds it to 11235.2. If you do an even larger number, (IE: 1111111.11) it changes it to 1111110. Even though it is a clone, ive gone through and removed references (That I could find) in the class files to the time_to_float and float_to_time functions, and changed the functions to just return the value they are given in case I missed one. I'm looking through the code to no avail as to why it is stored in this way.

Attached below is my work. Keep in mind that it is based off the timetracking module AFTER it was changed to be hidden from clients. Any help would be appreciated, or a point in the right direction! Hopefully someone might have a use for this as well.


Im still looking at this to no avail. Anyone have any ideas?

RSS IconRecent posts in this topic