abijah
d2d1bb3fc4
Change to how reversals are handled. In the process, I've tried to solidify _exactly_ what addTransaction will do, since it was becoming a house of cards of sorts. It was using special logic to decide things like whether to add ledger entries, statement entries, or both, whether to assignCredits afterwards, whether the generated receipt was to be considered a credit, and so on. Consequently, modifications to any calling function (addInvoice, addWaiver, etc) would often require addTransaction modifications, which would turn around and break all of the other calling functions. So, that embedded logic has been removed from addTransaction, and the rules of what addTransaction should do are now defined by the callers. This change is DEFINTELY not complete, as it probably has several bugs, and it DOES NOT YET WORK for reversals. I need a clean baseline to move forward from though, and this checkin approximates where we need to go.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@562 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-14 21:31:56 +00:00
..
2009-07-25 07:57:56 +00:00
2009-08-10 22:23:47 +00:00
2009-07-05 23:43:35 +00:00
2009-07-05 20:01:06 +00:00
2009-07-05 23:43:35 +00:00
2009-07-23 01:49:46 +00:00
2009-07-06 02:06:23 +00:00
2009-07-05 23:43:35 +00:00
2009-08-13 02:37:37 +00:00
2009-07-29 10:10:11 +00:00
2009-06-10 02:41:23 +00:00
2009-08-13 20:55:19 +00:00
2009-08-14 20:58:50 +00:00
2009-07-30 06:09:05 +00:00
2009-06-10 02:41:23 +00:00
2009-06-10 02:41:23 +00:00
2009-06-10 02:41:23 +00:00
Change to how reversals are handled. In the process, I've tried to solidify _exactly_ what addTransaction will do, since it was becoming a house of cards of sorts. It was using special logic to decide things like whether to add ledger entries, statement entries, or both, whether to assignCredits afterwards, whether the generated receipt was to be considered a credit, and so on. Consequently, modifications to any calling function (addInvoice, addWaiver, etc) would often require addTransaction modifications, which would turn around and break all of the other calling functions. So, that embedded logic has been removed from addTransaction, and the rules of what addTransaction should do are now defined by the callers. This change is DEFINTELY not complete, as it probably has several bugs, and it DOES NOT YET WORK for reversals. I need a clean baseline to move forward from though, and this checkin approximates where we need to go.
2009-08-14 21:31:56 +00:00
2009-08-05 01:00:09 +00:00
2009-08-14 20:58:50 +00:00
Change to how reversals are handled. In the process, I've tried to solidify _exactly_ what addTransaction will do, since it was becoming a house of cards of sorts. It was using special logic to decide things like whether to add ledger entries, statement entries, or both, whether to assignCredits afterwards, whether the generated receipt was to be considered a credit, and so on. Consequently, modifications to any calling function (addInvoice, addWaiver, etc) would often require addTransaction modifications, which would turn around and break all of the other calling functions. So, that embedded logic has been removed from addTransaction, and the rules of what addTransaction should do are now defined by the callers. This change is DEFINTELY not complete, as it probably has several bugs, and it DOES NOT YET WORK for reversals. I need a clean baseline to move forward from though, and this checkin approximates where we need to go.
2009-08-14 21:31:56 +00:00
2009-06-10 02:41:23 +00:00
2009-06-10 02:41:23 +00:00
2009-08-13 20:55:19 +00:00