Commit Graph

  • 0278c77610 Things are finally working fairly well for the customers grid (although I've not yet taken any speed issues into account). I removed the index.ctp file, since it was largely useless and I figured out how to render directly to the element. I also moved most of the jqGrid XML code into the application controller, since it will be reused by most of our controllers. abijah 2009-06-13 20:46:17 +00:00
  • 447c6a8376 Moved the position of the Loading... message on jqGrid. It probably doesn't matter, as we customize the grid, we'll likely add an icon instead of text to indicate loading. abijah 2009-06-13 20:44:36 +00:00
  • 508a8b08aa Moved the position of the Loading... message on jqGrid. It probably doesn't matter, as we customize the grid, we'll likely add an icon instead of text to indicate loading. abijah 2009-06-13 20:44:36 +00:00
  • 54291b4467 Another attempt to get the customer table working. Cake's query mechanism is really torquing me, it never seems to be able to do what I need (perhaps because they've generalized it to work with so many SQL engines. I'm just going to pull unit information out all together, and I can add it back in another day if needed. abijah 2009-06-13 15:52:09 +00:00
  • c5bd8b4b16 Another attempt to get the customer table working. Cake's query mechanism is really torquing me, it never seems to be able to do what I need (perhaps because they've generalized it to work with so many SQL engines. I'm just going to pull unit information out all together, and I can add it back in another day if needed. abijah 2009-06-13 15:52:09 +00:00
  • 94c78ccb2a Check in aother snapshot, since I can now pass complex structures from the view back to the jqGrid data provider abijah 2009-06-13 07:22:38 +00:00
  • a49b86898e Check in aother snapshot, since I can now pass complex structures from the view back to the jqGrid data provider abijah 2009-06-13 07:22:38 +00:00
  • 323c88a669 Added a primary contact for each customer, as there must be someone (or some entity) to contact for every customer. This simply makes it explicit, and has the added benefit of being easier to work with when querying. abijah 2009-06-13 04:19:19 +00:00
  • 55dd94681a Added a primary contact for each customer, as there must be someone (or some entity) to contact for every customer. This simply makes it explicit, and has the added benefit of being easier to work with when querying. abijah 2009-06-13 04:19:19 +00:00
  • 3fb680e20f Added jqGrid 3.4.4 and started the work to upgrade our table to use it. The work is by no means done, but it is at leasting working to some degree. I have some customer changes in mind and want to switch gears, so I'm checking in. abijah 2009-06-13 03:51:29 +00:00
  • 2f91dd456a Added jqGrid 3.4.4 and started the work to upgrade our table to use it. The work is by no means done, but it is at leasting working to some degree. I have some customer changes in mind and want to switch gears, so I'm checking in. abijah 2009-06-13 03:51:29 +00:00
  • cbdd198be5 Check in a version of the debug toolkit that I've added debug prints to. They're commented out at the moment, but may come in handy later. abijah 2009-06-13 03:46:17 +00:00
  • e32a5e5d4c Check in a version of the debug toolkit that I've added debug prints to. They're commented out at the moment, but may come in handy later. abijah 2009-06-13 03:46:17 +00:00
  • 8cdf061fca More minor cleanup abijah 2009-06-12 02:45:48 +00:00
  • cca48fe86a More minor cleanup abijah 2009-06-12 02:45:48 +00:00
  • 5e321888d5 cleaned up and put the different payment types into a loop for reuse. abijah 2009-06-12 02:35:13 +00:00
  • 839d9c1697 cleaned up and put the different payment types into a loop for reuse. abijah 2009-06-12 02:35:13 +00:00
  • d45481b770 FIrst pass implementation to accept payments. Nowhere near complete, but things are working relatively well, and I have a plethora of different attempts saved in comment blocks. I really want to clean up though, so I'm snapshotting it. abijah 2009-06-12 01:49:24 +00:00
  • c80c66d958 FIrst pass implementation to accept payments. Nowhere near complete, but things are working relatively well, and I have a plethora of different attempts saved in comment blocks. I really want to clean up though, so I'm snapshotting it. abijah 2009-06-12 01:49:24 +00:00
  • ff5c7260f8 Due to an apparent bug in the core View class, raw images were not being generated with the inclusion of the DebugToolkit. This checkin does NOT fix the problem, but it does include some debug mechanisms that I have continued to need from time to time. abijah 2009-06-11 02:38:54 +00:00
  • a2fa71038a Due to an apparent bug in the core View class, raw images were not being generated with the inclusion of the DebugToolkit. This checkin does NOT fix the problem, but it does include some debug mechanisms that I have continued to need from time to time. abijah 2009-06-11 02:38:54 +00:00
  • e2f623b7ee It seems that the Javascript helper is automatically included, but not if there is a problem with the controller, such as if an action is missing. In this case the user sees a useless error message instead of the normal 'action missing' one. By manually adding the Javascript helper, that problem should go away. abijah 2009-06-11 00:17:13 +00:00
  • d3c7011fc8 It seems that the Javascript helper is automatically included, but not if there is a problem with the controller, such as if an action is missing. In this case the user sees a useless error message instead of the normal 'action missing' one. By manually adding the Javascript helper, that problem should go away. abijah 2009-06-11 00:17:13 +00:00
  • b47bb9d46e Added the jquery and jquery-ui libraries to the application. Added jquery inclusion in the default layout, on the presumption that it will get used on most pages. I'll remove it and pepper it where necessary if that proves not to be the case. abijah 2009-06-11 00:09:10 +00:00
  • 2c224dbc62 Added the jquery and jquery-ui libraries to the application. Added jquery inclusion in the default layout, on the presumption that it will get used on most pages. I'll remove it and pepper it where necessary if that proves not to be the case. abijah 2009-06-11 00:09:10 +00:00
  • 9cf245d030 Removed the unintended javascript addition from the last checkin. abijah 2009-06-10 23:39:40 +00:00
  • 13b2283d76 Removed the unintended javascript addition from the last checkin. abijah 2009-06-10 23:39:40 +00:00
  • 8bce19d8c4 Added a monetary_sources controller/view. Don't know if we'll really want this, since it might just make the most sense to embed its actions within ledger entry. We'll keep it for now. abijah 2009-06-10 21:24:05 +00:00
  • 3d89da7a61 Added a monetary_sources controller/view. Don't know if we'll really want this, since it might just make the most sense to embed its actions within ledger entry. We'll keep it for now. abijah 2009-06-10 21:24:05 +00:00
  • ab766c2dc5 Fixed to handle the possibility of a NULL monetary source, and tidied the formatting a bit. abijah 2009-06-10 21:14:26 +00:00
  • 99263920a3 Fixed to handle the possibility of a NULL monetary source, and tidied the formatting a bit. abijah 2009-06-10 21:14:26 +00:00
  • 4a53ebd70b Added the debug toolkit plugin, found on the bakery website. abijah 2009-06-10 21:12:59 +00:00
  • 8ab8d087e6 Added the debug toolkit plugin, found on the bakery website. abijah 2009-06-10 21:12:59 +00:00
  • ce735cad3f Added the Containable behavior back into the AppModel, since it's obviously getting used in every controller. abijah 2009-06-10 21:09:23 +00:00
  • 18b928411b Added the Containable behavior back into the AppModel, since it's obviously getting used in every controller. abijah 2009-06-10 21:09:23 +00:00
  • ef3b5f3022 Customized our fuzzy 'age' function to suit our purpose abijah 2009-06-10 20:20:55 +00:00
  • 8d062ab92e Customized our fuzzy 'age' function to suit our purpose abijah 2009-06-10 20:20:55 +00:00
  • 73ea4fa86c Added a formatting method to print the age of a datetime object, and modified the lease view to use it. I anticipate customizing the function to be more fuzzy and less precise. abijah 2009-06-10 17:06:35 +00:00
  • 147c1e7097 Added a formatting method to print the age of a datetime object, and modified the lease view to use it. I anticipate customizing the function to be more fuzzy and less precise. abijah 2009-06-10 17:06:35 +00:00
  • 806f732de6 Removed the external account information (such as quickbooks account number) from account listings. This is fairly specific information that probably only needs to be in the account detail. When setting up quickbooks though, I could see it being useful, so perhaps an action in the accounts controller to list all accounts with their external info, or a parameter to the existing actions. abijah 2009-06-10 15:08:52 +00:00
  • 760420bdc5 Removed the external account information (such as quickbooks account number) from account listings. This is fairly specific information that probably only needs to be in the account detail. When setting up quickbooks though, I could see it being useful, so perhaps an action in the accounts controller to list all accounts with their external info, or a parameter to the existing actions. abijah 2009-06-10 15:08:52 +00:00
  • b78834f7d6 Fixed problem with units that are vacant, and thus have no current lease. abijah 2009-06-10 09:10:09 +00:00
  • fb48baf575 Fixed problem with units that are vacant, and thus have no current lease. abijah 2009-06-10 09:10:09 +00:00
  • a0274b4d89 Added in security deposit information to the lease view abijah 2009-06-10 08:58:43 +00:00
  • d60c9721ca Added in security deposit information to the lease view abijah 2009-06-10 08:58:43 +00:00
  • 970b2ad202 Added lease and ledger_entry controllers/views. Minor bugfixes as well. abijah 2009-06-10 08:53:22 +00:00
  • f8eb45a0b9 Added lease and ledger_entry controllers/views. Minor bugfixes as well. abijah 2009-06-10 08:53:22 +00:00
  • 4277962e3b Fixed a spelling error in the database schema abijah 2009-06-10 08:51:18 +00:00
  • a60d69ba52 Added small script to help regenerate the database from the sitelink data abijah 2009-06-10 05:15:16 +00:00
  • e0d9edc4a8 Primarly a cleanup checkin, although a couple minor bugfixes were included as well. abijah 2009-06-10 05:14:08 +00:00
  • 55b896a9f0 Primarly a cleanup checkin, although a couple minor bugfixes were included as well. abijah 2009-06-10 05:14:08 +00:00
  • ffd1b64580 Significant changes to work with the new account/ledger structure. Removed much of the auto-generated model association code. Added helper functions into the models to perform model related work, such as model 'stats' (a bad name for a function to return a summary of pertinent financial information from a given model instance). There is a ton of cleanup to do, but first I want to get it all captured. abijah 2009-06-10 02:41:23 +00:00
  • 9f8d4fa9b2 Significant changes to work with the new account/ledger structure. Removed much of the auto-generated model association code. Added helper functions into the models to perform model related work, such as model 'stats' (a bad name for a function to return a summary of pertinent financial information from a given model instance). There is a ton of cleanup to do, but first I want to get it all captured. abijah 2009-06-10 02:41:23 +00:00
  • 3dcd83229b Fixed problem with relationships that are defined soley on the 'conditions' part of the association, and not on 'foreignKey' (which is allowed to be 'false'). abijah 2009-06-10 02:31:49 +00:00
  • 4988d2717f Fixed problem with relationships that are defined soley on the 'conditions' part of the association, and not on 'foreignKey' (which is allowed to be 'false'). abijah 2009-06-10 02:31:49 +00:00
  • ebc4a42ae9 Fixed issue with the SQL debug output since the error column is typically empty abijah 2009-06-10 02:29:33 +00:00
  • 136d8e845a Fixed issue with the SQL debug output since the error column is typically empty abijah 2009-06-10 02:29:33 +00:00
  • 190a9259d4 More changes to how accounts/ledgers/transactions are all handled. abijah 2009-06-10 02:27:03 +00:00
  • f08884f326 Finally added a format helper, which has been long intended. There may be still be conversion issues, it hasn't been tested much. abijah 2009-06-08 03:32:07 +00:00
  • 374843aeee Finally added a format helper, which has been long intended. There may be still be conversion issues, it hasn't been tested much. abijah 2009-06-08 03:32:07 +00:00
  • 52032180f3 Fixed more ledger mixups abijah 2009-06-08 02:08:04 +00:00
  • e740cc859b Added menu items to help me work on development. Some of these will likely be removed later. abijah 2009-06-07 17:06:17 +00:00
  • d14b715a88 Added menu items to help me work on development. Some of these will likely be removed later. abijah 2009-06-07 17:06:17 +00:00
  • 2a2d11ba0f Fixed bug causing payments to show up on the A/R ledger instead of the customer ledger. abijah 2009-06-07 17:00:08 +00:00
  • 2e07cb87a5 Probably still have some bugs to flush out, but this major overhaul of the conversion code works well enough to check in. abijah 2009-06-07 16:23:15 +00:00
  • f12a95f3b9 Removed the .bak files, since everything has now been snapshotted. abijah 2009-06-06 20:23:54 +00:00
  • bb5b563738 Removed the .bak files, since everything has now been snapshotted. abijah 2009-06-06 20:23:54 +00:00
  • 677458e942 I'm still in the middle of moving onto a ledger based system. However, I'm am now changing how transactions and entries relate back to the customer. I'll be using a ledger for each lease (for rent, late charges, security deposits, etc), and a ledger for each customer (for POS, non-specific deposits such as reservations or covering mulitple units, bad debt writeoff, and possibly customer credits, when not obviously lease specific). This coming change might not be in the right direction, so I want to capture the work as is right now. This change set is not fully functional. Many operations do work, but there are obviously transaction problems with units and customers. abijah 2009-06-06 20:18:56 +00:00
  • f3ffa3c079 I'm still in the middle of moving onto a ledger based system. However, I'm am now changing how transactions and entries relate back to the customer. I'll be using a ledger for each lease (for rent, late charges, security deposits, etc), and a ledger for each customer (for POS, non-specific deposits such as reservations or covering mulitple units, bad debt writeoff, and possibly customer credits, when not obviously lease specific). This coming change might not be in the right direction, so I want to capture the work as is right now. This change set is not fully functional. Many operations do work, but there are obviously transaction problems with units and customers. abijah 2009-06-06 20:18:56 +00:00
  • ce24abc812 Snapshot of some partial work done with ledger.ctp. There was only a slight change to just the 'mix' ledger, in order to get it working with the new ledger tables. This checkin leaves the codebase in an inconsistent state. abijah 2009-06-06 07:57:41 +00:00
  • 30b934823c Snapshot of some partial work done with ledger.ctp. There was only a slight change to just the 'mix' ledger, in order to get it working with the new ledger tables. This checkin leaves the codebase in an inconsistent state. abijah 2009-06-06 07:57:41 +00:00
  • 1ead830ad6 Branching to change the accounting mechanism from the broken charge/receipt/payment to simple, double entry accounting ledgers. abijah 2009-06-06 05:22:11 +00:00
  • 948ae28616 Branching to change the accounting mechanism from the broken charge/receipt/payment to simple, double entry accounting ledgers. abijah 2009-06-06 05:22:11 +00:00
  • 30c6e0b0f4 Forgot to save the file before the last checkin. Added the possibility of a 'credits' table, but I'll probably be wiping this out moving forward. initial_20090526 abijah 2009-06-04 03:48:35 +00:00
  • 46e3316ce1 Added some changes to try and resolve some accounting problems. However, I may be about to redo the accounting stuff altogether. abijah 2009-06-04 01:56:09 +00:00
  • 0848ab5055 Additional work on generating ledger information. I've been reading up on accounting basics though, and I feel I'm just not going in the right direction. I'm checking this in, since it works somewhat, and will probably try to head in a different direction. v0.3_php5.3_support@68 abijah 2009-06-04 01:54:15 +00:00
  • e1671a9fca Additional work on generating ledger information. I've been reading up on accounting basics though, and I feel I'm just not going in the right direction. I'm checking this in, since it works somewhat, and will probably try to head in a different direction. abijah 2009-06-04 01:54:15 +00:00
  • 52c72b08b2 Added a couple helpers, including Html, to our app controller and removed Html from each individual controller abijah 2009-06-03 22:33:03 +00:00
  • e586268dee Added a couple helpers, including Html, to our app controller and removed Html from each individual controller abijah 2009-06-03 22:33:03 +00:00
  • fc71c058fb Added links everywhere for charge/payment/receipt. Also, minor tweaking to the views in a couple places. abijah 2009-06-01 08:39:33 +00:00
  • 24730fda1b Added links everywhere for charge/payment/receipt. Also, minor tweaking to the views in a couple places. abijah 2009-06-01 08:39:33 +00:00
  • dd5402d2f1 Added the payments controller and views. abijah 2009-06-01 08:15:51 +00:00
  • b6ec85205d Added the payments controller and views. abijah 2009-06-01 08:15:51 +00:00
  • f473a91870 Added the charges controller and views. Fixed a couple minor bugs found with receipts. abijah 2009-06-01 08:05:53 +00:00
  • b6a0809350 Added the charges controller and views. Fixed a couple minor bugs found with receipts. abijah 2009-06-01 08:05:53 +00:00
  • f42ce65768 Changed the charge_to date to allow NULL, since not all charges cover a time period (security deposits, some late charges, POS, etc) abijah 2009-06-01 07:26:00 +00:00
  • cdd274adf7 Added a receipt controller to verify receipt data abijah 2009-06-01 07:24:51 +00:00
  • ef180e7dda Added a receipt controller to verify receipt data abijah 2009-06-01 07:24:51 +00:00
  • 8ea0822ed1 Removed the test code I'd forgot and left in the table element abijah 2009-06-01 07:23:42 +00:00
  • 4aa59a40a2 Removed the test code I'd forgot and left in the table element abijah 2009-06-01 07:23:42 +00:00
  • 492e70b2f6 Fixed copy/paste error abijah 2009-06-01 07:23:05 +00:00
  • 0c43a0f884 Fixed copy/paste error abijah 2009-06-01 07:23:05 +00:00
  • abff728a37 Rolled back the last changes, which were checked in for documentation only. abijah 2009-06-01 06:28:56 +00:00
  • e65db5c759 Rolled back the last changes, which were checked in for documentation only. abijah 2009-06-01 06:28:56 +00:00
  • b8c4257f95 Added payments under each receipt in the ledger. This isn't something I really want, just something I was testing. Snapshotting before I delete it, since it did work correctly abijah 2009-06-01 06:25:59 +00:00
  • 59b549955e Added payments under each receipt in the ledger. This isn't something I really want, just something I was testing. Snapshotting before I delete it, since it did work correctly abijah 2009-06-01 06:25:59 +00:00
  • 5f715cc076 Moved the view action to use the Containable behavior instead of the convoluted bind/unbind abijah 2009-06-01 06:17:49 +00:00
  • 603a08393e Moved the view action to use the Containable behavior instead of the convoluted bind/unbind abijah 2009-06-01 06:17:49 +00:00
  • 1db887cf38 Removed the debug comments that were helping me with the sitelink migration, and added in the actual comments that were entered in sitelink. abijah 2009-06-01 05:44:44 +00:00
  • f40dc205f9 Cleaned up the controllers and now make use of the Linkable behavior for listing out items. abijah 2009-06-01 04:36:28 +00:00