Commit Graph

  • 6a0a77c116 More todo items abijah 2009-07-12 18:36:22 +00:00
  • 8039495e18 Added a couple more virtual functions for more controller flexibility. abijah 2009-07-12 18:34:24 +00:00
  • d6be905c08 Added a couple more virtual functions for more controller flexibility. abijah 2009-07-12 18:34:24 +00:00
  • 46417de2b8 Implemented a list that checks for collected rents. There is AccountsController::collected, which I'm keeping at the moment, but I decided to move the logic into ledger_entries, since ultimately that's what we want a list of and it doesn't make sense to add a bunch of LedgerEntry logic into the jqGrid query of AccountsController. Of course, right now there is hardcoded calendar functions, and hardcoded exclusion of the Concession Account. I will probably offer up two calendars to provide a range, and a list of checkboxes of each payable account. abijah 2009-07-12 18:01:01 +00:00
  • 6e1c684a06 Implemented a list that checks for collected rents. There is AccountsController::collected, which I'm keeping at the moment, but I decided to move the logic into ledger_entries, since ultimately that's what we want a list of and it doesn't make sense to add a bunch of LedgerEntry logic into the jqGrid query of AccountsController. Of course, right now there is hardcoded calendar functions, and hardcoded exclusion of the Concession Account. I will probably offer up two calendars to provide a range, and a list of checkboxes of each payable account. abijah 2009-07-12 18:01:01 +00:00
  • 0c13ef5cda captured another requirement and a todo abijah 2009-07-11 16:50:52 +00:00
  • 14ab0975ac Eliminated the unnecessary $A Account variable in the actual Account model (duh) abijah 2009-07-11 16:50:13 +00:00
  • 9529431be2 Eliminated the unnecessary $A Account variable in the actual Account model (duh) abijah 2009-07-11 16:50:13 +00:00
  • d2ac8019ee Not sure why I haven't already checked in the 'To Do' notes file that I've been using, but here it is. abijah 2009-07-11 15:56:54 +00:00
  • 06bf383707 Added a file with some javascript date/time routines. I don't think we want it, but at the same time, I can't bring myself to toss it. May as well capture a revision and I can delete it later. abijah 2009-07-11 15:54:44 +00:00
  • 1994512d6e Added a file with some javascript date/time routines. I don't think we want it, but at the same time, I can't bring myself to toss it. May as well capture a revision and I can delete it later. abijah 2009-07-11 15:54:44 +00:00
  • a462e9be1c Accidentally checked in refundable stub on the last change set, so here is the database changes to go with it. Nothing has been done yet for refunds. abijah 2009-07-11 15:51:52 +00:00
  • e29c2ba927 Added flag to allow ledger entry reversals, regardless of the reconciled status. I'm not sure how we really want to handle reversals. abijah 2009-07-11 15:50:48 +00:00
  • ccf0138eee Added flag to allow ledger entry reversals, regardless of the reconciled status. I'm not sure how we really want to handle reversals. abijah 2009-07-11 15:50:48 +00:00
  • cec4fb4fdd Added debug link to create all new ledgers abijah 2009-07-11 15:37:52 +00:00
  • 288e4c05de Added debug link to create all new ledgers abijah 2009-07-11 15:37:52 +00:00
  • d5c80a65b3 Forgot to check in the model as part of the last change set. Guess that's what happens when you're tired. abijah 2009-07-11 15:37:17 +00:00
  • b3ca719517 Forgot to check in the model as part of the last change set. Guess that's what happens when you're tired. abijah 2009-07-11 15:37:17 +00:00
  • 0c0033d1f5 Added mechanism to reverse a ledger entry. For now I've restricted it to those ledger entries that have not already been reconciled in some way. More thought will have to go into this, especially with respect to tenants who have pre-paid and then move out early. abijah 2009-07-11 09:06:36 +00:00
  • b8fd17efcf Added mechanism to reverse a ledger entry. For now I've restricted it to those ledger entries that have not already been reconciled in some way. More thought will have to go into this, especially with respect to tenants who have pre-paid and then move out early. abijah 2009-07-11 09:06:36 +00:00
  • d683895413 Eliminated the need for the Invoice Account. I'm having a bit of a hard time believing that it works, since it sure seems like we needed the Invoice account for some reason. However, it's entirely possible that we really just had it for symmetry with Receipt (another account which we'd love to delete). It needs more testing, but it works good enough to check in. abijah 2009-07-11 08:23:55 +00:00
  • ece7ab25ae Eliminated the need for the Invoice Account. I'm having a bit of a hard time believing that it works, since it sure seems like we needed the Invoice account for some reason. However, it's entirely possible that we really just had it for symmetry with Receipt (another account which we'd love to delete). It needs more testing, but it works good enough to check in. abijah 2009-07-11 08:23:55 +00:00
  • f7b81ec615 Not terribly happy with the solution to the extra transactions problem noted on the last checkin (however, it does seem to be working). I simply keep a record of the split transaction id, pass it back to the caller, and expect it to be passed back in. Works for now, even if it isn't terribly elegant. abijah 2009-07-11 08:10:23 +00:00
  • 860006ed38 Not terribly happy with the solution to the extra transactions problem noted on the last checkin (however, it does seem to be working). I simply keep a record of the split transaction id, pass it back to the caller, and expect it to be passed back in. Works for now, even if it isn't terribly elegant. abijah 2009-07-11 08:10:23 +00:00
  • aa36213698 Moved invoice/receipt code into Account. It appears to be broken in that the receipt ledger_entries are all getting a uniqe transaction. I'll have to look at this tomorrow. abijah 2009-07-11 07:26:17 +00:00
  • e067af589c Moved invoice/receipt code into Account. It appears to be broken in that the receipt ledger_entries are all getting a uniqe transaction. I'll have to look at this tomorrow. abijah 2009-07-11 07:26:17 +00:00
  • ad3d1c92bf Fixed stupid syntax error abijah 2009-07-11 07:24:14 +00:00
  • 546766d9be Fixed stupid syntax error abijah 2009-07-11 07:24:14 +00:00
  • fa17e319e0 Fixed a bug causing leder_entry lists to only list one item from each transaction (although the numbers were right, the other ledger_entry fields were not). This was due to the changes I made to ledger_entries.ctp when moving everything to the Grid Helper. Prior to that, the default was to group by transactions, unless notxgroup was defined. Since it was experimental, it was hardcoded to false in the ledger_entries element, so there was no problem. After Grid Helper, it was inadvertantly deleted, hence the bug. I changed the default to be NOT to group by transaction, and also invalidate the ledger_entry fields when we do group that way. So, this bug should be put mostly to rest, although I don't like converting the ledger_entry list into a simple transaction list (we do have another element for that after all). Oh well, works for now. abijah 2009-07-11 01:52:32 +00:00
  • 4b43433d2d Fixed a bug causing leder_entry lists to only list one item from each transaction (although the numbers were right, the other ledger_entry fields were not). This was due to the changes I made to ledger_entries.ctp when moving everything to the Grid Helper. Prior to that, the default was to group by transactions, unless notxgroup was defined. Since it was experimental, it was hardcoded to false in the ledger_entries element, so there was no problem. After Grid Helper, it was inadvertantly deleted, hence the bug. I changed the default to be NOT to group by transaction, and also invalidate the ledger_entry fields when we do group that way. So, this bug should be put mostly to rest, although I don't like converting the ledger_entry list into a simple transaction list (we do have another element for that after all). Oh well, works for now. abijah 2009-07-11 01:52:32 +00:00
  • b96a8f01da Fixed the bank deposit, which was not reconciling the income received with the actual deposit. Thus, there was no way to determine when a particular check, for example, was actually deposited in the bank... the trail was broken. This seems to work. I would like to move some of the logic in Transaction to simply use the Account::postLedgerEntry function, but I'll not do it just yet... other fish and all. abijah 2009-07-11 01:44:46 +00:00
  • 5a1fdedad0 Fixed the bank deposit, which was not reconciling the income received with the actual deposit. Thus, there was no way to determine when a particular check, for example, was actually deposited in the bank... the trail was broken. This seems to work. I would like to move some of the logic in Transaction to simply use the Account::postLedgerEntry function, but I'll not do it just yet... other fish and all. abijah 2009-07-11 01:44:46 +00:00
  • 62b27ec255 clean up lingering comments. abijah 2009-07-11 00:46:31 +00:00
  • 6ce9eec1a4 clean up lingering comments. abijah 2009-07-11 00:46:31 +00:00
  • 30292bb4f5 Final tweaks (for now) to ledger entry view. Hopefully didn't break other summary boxes. abijah 2009-07-11 00:45:17 +00:00
  • d44007a358 Final tweaks (for now) to ledger entry view. Hopefully didn't break other summary boxes. abijah 2009-07-11 00:45:17 +00:00
  • 0d3403032c More changes to the ledger_entry view abijah 2009-07-11 00:34:43 +00:00
  • 8d2a544042 More changes to the ledger_entry view abijah 2009-07-11 00:34:43 +00:00
  • 42dda55643 No real visible changes, but started work on making ledger entries more clear. I'll do more in a moment, just capturing a snapshot. abijah 2009-07-10 21:21:49 +00:00
  • d9297d89ab No real visible changes, but started work on making ledger entries more clear. I'll do more in a moment, just capturing a snapshot. abijah 2009-07-10 21:21:49 +00:00
  • b9a67fa8e1 Fixed bug with undefined Lease. abijah 2009-07-10 10:51:57 +00:00
  • 46db9c8341 Fixed bug with undefined Lease. abijah 2009-07-10 10:51:57 +00:00
  • 6c89536073 Changed security deposits to be returned regardless of where second half of the ledger entry is abijah 2009-07-10 10:49:19 +00:00
  • ad17023570 Changed security deposits to be returned regardless of where second half of the ledger entry is abijah 2009-07-10 10:49:19 +00:00
  • 9cac8c26a9 Added another requirement abijah 2009-07-10 10:09:34 +00:00
  • 43382f4ab1 Implemented bad debt write-off. This was tested about as well as the last checkin for security deposit utilization. Also, both of these need a redirect. I'm thinking redirect will have to be controlled dynamically, since we probably want to have them in a sequence of pages daisy changed at move out. Of course, we also will allow them each to be run on their own individually. abijah 2009-07-10 10:06:56 +00:00
  • 90d990e0a5 Implemented bad debt write-off. This was tested about as well as the last checkin for security deposit utilization. Also, both of these need a redirect. I'm thinking redirect will have to be controlled dynamically, since we probably want to have them in a sequence of pages daisy changed at move out. Of course, we also will allow them each to be run on their own individually. abijah 2009-07-10 10:06:56 +00:00
  • b79df98d36 Forgot to add apply_deposit.ctp to the last checkin. abijah 2009-07-10 09:35:50 +00:00
  • 1cb56894ce Forgot to add apply_deposit.ctp to the last checkin. abijah 2009-07-10 09:35:50 +00:00
  • 99904f22bb Stripped security deposits out of the Receipt page (and bad debt too). Added a dedicated security deposit utilization page. Works, I think, but my eyes are closing and it really needs fresh eyes again in the morning. abijah 2009-07-10 09:28:29 +00:00
  • f2f389ee45 Stripped security deposits out of the Receipt page (and bad debt too). Added a dedicated security deposit utilization page. Works, I think, but my eyes are closing and it really needs fresh eyes again in the morning. abijah 2009-07-10 09:28:29 +00:00
  • bcbe3767e3 Check in the near completed implementation of security deposit utilization. It was on it's way to working well (although it only works for existing payment divs and there is not an obviously easy way for new payment divs to have the security deposit info as well). It feels like we've really gone overboard on the payment screen, pushing too much together. I'm going to strip some of this out on the next checkin, and create a dedicated security deposit utilization screen, perhaps just as part of move-out, or perhaps part of move-out and as an independent operation as well. abijah 2009-07-10 07:25:55 +00:00
  • 5877874e82 Check in the near completed implementation of security deposit utilization. It was on it's way to working well (although it only works for existing payment divs and there is not an obviously easy way for new payment divs to have the security deposit info as well). It feels like we've really gone overboard on the payment screen, pushing too much together. I'm going to strip some of this out on the next checkin, and create a dedicated security deposit utilization screen, perhaps just as part of move-out, or perhaps part of move-out and as an independent operation as well. abijah 2009-07-10 07:25:55 +00:00
  • de5f4208eb Added petty cash and a couple higher security accounts, Equity and Loan abijah 2009-07-09 16:37:16 +00:00
  • ba82eabcbc Fixed a bug created with each form table when that element was modified to ignore fields set to null. The original intention was that null simply meant 'no special configuration'. However, we needed a way to programatically enable/disable fields, so null was an obvious choice to use. Now that I'm about to check in, I think I should have just made a minor change to use false to skip a field, which would have been backwards compatible (except for the one place using null to exclude the field). However, it's done now, so what the heck. abijah 2009-07-09 16:07:19 +00:00
  • 6507009acc Fixed a bug created with each form table when that element was modified to ignore fields set to null. The original intention was that null simply meant 'no special configuration'. However, we needed a way to programatically enable/disable fields, so null was an obvious choice to use. Now that I'm about to check in, I think I should have just made a minor change to use false to skip a field, which would have been backwards compatible (except for the one place using null to exclude the field). However, it's done now, so what the heck. abijah 2009-07-09 16:07:19 +00:00
  • e15f053c5c Changed the list of payment types to be dynamically generated. This works OK, but the list is longer than is probably useful, and more importantly, some of these types need to be associated with a lease, such as a security deposit. Not sure how I'll handle that. abijah 2009-07-09 09:20:04 +00:00
  • 6e1eba03a0 Changed the list of payment types to be dynamically generated. This works OK, but the list is longer than is probably useful, and more importantly, some of these types need to be associated with a lease, such as a security deposit. Not sure how I'll handle that. abijah 2009-07-09 09:20:04 +00:00
  • 0c8035b402 Removed monetary_source_type. It was redundant, and it's entirely unclear what purpose it ultimately would or could serve. Our use of different accounts for Check, Cash, etc likely obsoleted any intention we might have had for monetary_source_type abijah 2009-07-09 08:28:34 +00:00
  • 7a31f5cbd2 Removed monetary_source_type. It was redundant, and it's entirely unclear what purpose it ultimately would or could serve. Our use of different accounts for Check, Cash, etc likely obsoleted any intention we might have had for monetary_source_type abijah 2009-07-09 08:28:34 +00:00
  • 55413590a2 Shouldn't check this garbage in, but I can't bring my self to revert it abijah 2009-07-09 07:50:44 +00:00
  • 112aa7cf59 Shouldn't check this garbage in, but I can't bring my self to revert it abijah 2009-07-09 07:50:44 +00:00
  • 99a787bba6 Initial work to determine whether or not a lease has charge gaps, and when the lease has been charged through. abijah 2009-07-09 07:22:38 +00:00
  • 372578f171 Initial work to determine whether or not a lease has charge gaps, and when the lease has been charged through. abijah 2009-07-09 07:22:38 +00:00
  • 645458c081 Added some special cases abijah 2009-07-09 06:20:59 +00:00
  • fb29380ac5 Added ACH and Concession entry. Like everything else, I haven't tested too robustly, but it does seem to work. I might want to change the monetary source id for Concession. Right now each concession gets its own monetary source, but we could probably use a common one without issue. abijah 2009-07-09 06:10:00 +00:00
  • 1afaede12a Added ACH and Concession entry. Like everything else, I haven't tested too robustly, but it does seem to work. I might want to change the monetary source id for Concession. Right now each concession gets its own monetary source, but we could probably use a common one without issue. abijah 2009-07-09 06:10:00 +00:00
  • 37beb8b436 Since adding the MODEL_ALIAS condition to LedgerEntry (which only works for the Linkable Behavior), the read() ails when it tries to link models together. Setting recursive to -1 solves the problem (or at least, the symptom). abijah 2009-07-09 06:08:31 +00:00
  • 5a4cfb0581 Since adding the MODEL_ALIAS condition to LedgerEntry (which only works for the Linkable Behavior), the read() ails when it tries to link models together. Setting recursive to -1 solves the problem (or at least, the symptom). abijah 2009-07-09 06:08:31 +00:00
  • 0e1b0c111e Fixed problem when nameToID returns no results. abijah 2009-07-09 05:27:13 +00:00
  • 17b6986758 Fixed problem when nameToID returns no results. abijah 2009-07-09 05:27:13 +00:00
  • 00b473ee4f Noted the need to perform bank deposits abijah 2009-07-09 05:07:33 +00:00
  • 3463ae329b Captured notes on functional requirements to just get this thing out the door. abijah 2009-07-09 03:41:21 +00:00
  • b3bceef570 Copied this requirements file from a different repository. For history, see http://localhost/svn/domain/branches/rent_manager_20090510/requirements.txt. abijah 2009-07-09 03:29:24 +00:00
  • 7483f6ed2c Implemented more around lease closings. abijah 2009-07-09 02:57:43 +00:00
  • 80ddeeed6f Implemented more around lease closings. abijah 2009-07-09 02:57:43 +00:00
  • a45fd6879d Removed the comment from lease move-out, and tweaked the form_table to support it abijah 2009-07-09 02:57:29 +00:00
  • 43787d6434 Removed the comment from lease move-out, and tweaked the form_table to support it abijah 2009-07-09 02:57:29 +00:00
  • 09090d1b3c Consolidated the move out/in pages. I'm really not happy with this checkin, as it has actually reduced functionality. We used to be able to click move-out on a customer and be presented with a list of units to move out of. This was the intention, but I've gotten frustrated with the fact that I'm working on non-MUST functionality. Things are working good enough at the moment, so I'm checking in and will have to come back to this later. abijah 2009-07-09 02:19:14 +00:00
  • 72c55459ca Consolidated the move out/in pages. I'm really not happy with this checkin, as it has actually reduced functionality. We used to be able to click move-out on a customer and be presented with a list of units to move out of. This was the intention, but I've gotten frustrated with the fact that I'm working on non-MUST functionality. Things are working good enough at the moment, so I'm checking in and will have to come back to this later. abijah 2009-07-09 02:19:14 +00:00
  • 977b21ed96 Got rid of the massive variable dump to stdout, and so moved all of the STDERR prints back to STDIN. Also hooked up root_transaction_id, although it's not being used yet (and may never be). abijah 2009-07-09 01:21:21 +00:00
  • e4132237b9 Trimmed down my contact information and fixed the .com / .info typo abijah 2009-07-09 00:45:16 +00:00
  • dbd914ff78 Changed move_out to use datepicker in the same way as move_in. I'll probably be wiping this out later to have move_out behave more like move_in and present customer and unit selection boxes. abijah 2009-07-09 00:40:24 +00:00
  • c2d2a1c400 Changed move_out to use datepicker in the same way as move_in. I'll probably be wiping this out later to have move_out behave more like move_in and present customer and unit selection boxes. abijah 2009-07-09 00:40:24 +00:00
  • 222758b20f Modified the datepickerNow() function to return results without the time (just date). Updated the move_in datepicker to use it and added a link for the user. abijah 2009-07-09 00:31:56 +00:00
  • 208aaaa504 Modified the datepickerNow() function to return results without the time (just date). Updated the move_in datepicker to use it and added a link for the user. abijah 2009-07-09 00:31:56 +00:00
  • 233b08df59 Made the same layout changes from H2 to CSS with the move_in page abijah 2009-07-09 00:21:48 +00:00
  • 21aa2c1d26 Made the same layout changes from H2 to CSS with the move_in page abijah 2009-07-09 00:21:48 +00:00
  • 849077bb9a Made layout changes to invoices and receipts to use CSS instead of simple H2/H3 tags. Also, as a temporary measure, I make the lease/customer numbers hyperlink to the view page. At some point we'll figure out what should happen after entering a receipt or invoice, and this hack should go away. abijah 2009-07-09 00:00:29 +00:00
  • d3959e92e5 Made layout changes to invoices and receipts to use CSS instead of simple H2/H3 tags. Also, as a temporary measure, I make the lease/customer numbers hyperlink to the view page. At some point we'll figure out what should happen after entering a receipt or invoice, and this hack should go away. abijah 2009-07-09 00:00:29 +00:00
  • c01c67161e Fixed bug for receipt linking to lease ID instead of customer ID abijah 2009-07-08 23:55:22 +00:00
  • 60c4d950fa Fixed bug for receipt linking to lease ID instead of customer ID abijah 2009-07-08 23:55:22 +00:00
  • 75c44d1b3a Removed the pages controller and view, as well as the default route. I can't believe I let it linger for so long... abijah 2009-07-08 23:30:13 +00:00
  • d7db5a32d6 Removed the pages controller and view, as well as the default route. I can't believe I let it linger for so long... abijah 2009-07-08 23:30:13 +00:00
  • 2aeb069297 Fixed bug where the customer list would display 'Current Tenants', but the list would reflect all customers. abijah 2009-07-08 21:53:30 +00:00
  • 1932a9c316 Fixed bug where the customer list would display 'Current Tenants', but the list would reflect all customers. abijah 2009-07-08 21:53:30 +00:00
  • 21534c28d8 More work to make the db scripts general abijah 2009-07-08 21:49:00 +00:00
  • d09af4f475 More work to make the db scripts general abijah 2009-07-08 21:49:00 +00:00
  • 5f0c2463e3 Removed the hardcoded script location, and added some extra debug information abijah 2009-07-08 21:33:52 +00:00
  • 437ebabfd3 Removed the hardcoded script location, and added some extra debug information abijah 2009-07-08 21:33:52 +00:00