Commit Graph

888 Commits

Author SHA1 Message Date
abijah
5b5707df5e Fixed a bug with deposit, which prevented update to the deposited tenders. Added INTERNAL_ERROR when an error occurs. Since the module and callers make no effort to roll back changes when an error occurs, it's probably best to just halt. We may need to remove some of these checks, especially in the verifyTransaction function, which is intended to catch errors before they create a problem in the database.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@805 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 16:41:17 +00:00
abijah
c21cdcd9a2 Added server request vars, mostly to include the referer. Added timestamps and tweaked formatting slightly.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@804 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 16:34:01 +00:00
abijah
a79adbce2d Moved the creation actions into the CONTROLLER menu. Minor cleanup of deposit_slip. Minor tweaking to views.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@803 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 16:32:21 +00:00
abijah
a3b376544c Replaced the hardcoded 'level' checks, and incorporated (as a first pass) the new permission mechanism
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@802 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 07:11:14 +00:00
abijah
43c957baa2 Added users and groups and a couple basic options (dev & admin) for testing. Since dev/admin is now a database option, the special routing mechanism has been removed.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@801 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 04:47:33 +00:00
abijah
a66024c889 Fixed the build script; updated users schema to no longer hold password information and to not require contact information; added a set of users and groups for VSS
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@800 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 04:25:53 +00:00
abijah
aed090fbe2 Added rollup sql code to bring the current database up to speed with the option / permission changes.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@799 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 04:03:19 +00:00
abijah
7904372dff Added support for permissions. Next is to implement some.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@798 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 03:32:07 +00:00
abijah
1d4dcbd2b0 Made changes to the database and added models to support options. Next is permissions
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@797 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 01:42:29 +00:00
abijah
f5f09421c1 Changed submenu ordering
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@795 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-27 17:27:07 +00:00
abijah
4d525f6ac9 Moved the list of account types into the admin area
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@793 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 20:21:59 +00:00
abijah
0b773cfc35 Removed the Balance column from vacant and unavailable grids, since they should always be zero.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@792 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 20:16:11 +00:00
abijah
387e08da06 Changed the default sort order for Transaction to be DESC, like with StatementEntry and LedgerEntry
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@791 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 20:15:28 +00:00
abijah
5ef877f64b Removed the legacy (and unused) field current_lease_id from the units table
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@790 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 20:08:19 +00:00
abijah
c889e4f4e1 Changed the default Leases view to be current leases instead of all
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@789 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 20:04:39 +00:00
abijah
b938b5f028 The previous checkin was _supposed_ to be just the jqGrid.ctp file, but an accidental keystroke checked in the work that was intended for this checkin. This would have been the addition of unit counts, as well as occupancy and vacancy, to the unit_sizes grid. Since that has already been checked in, this is just the cleanup.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@788 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 19:58:46 +00:00
abijah
1e34cc1de8 Added a percentage formatting type to jqGrid.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@787 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 19:51:06 +00:00
abijah
80fe5ca4de Added changes to allow for being hosted on a secure server, as well as a sandboxed version.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@786 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 18:55:41 +00:00
abijah
fbd716634a Added password protection for any access other than localhost or local subnet. I'll remove the domain checks at some point, as we always want an authenticated user for at least determining user settings, if nothing else.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@785 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-26 18:18:31 +00:00
abijah
046cf5fe63 Added the ability to list unit sizes appropriate for a specific need. Since some of the code was taken from Account, I tidied up that model just a bit as well.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@784 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 17:07:28 +00:00
abijah
2fd2dc603c Modified the unit types to have boolean flags to indicate their properties
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@783 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 16:26:28 +00:00
abijah
439e9a3de6 Implemented the UnitSize controller and view. I would like to add controller navigation links for 1bd, 2bd, 3bd, and so on. Also, we need to make the number of available units part of the grid. It will require breaking a separate CountTables function, since we'll need to join with Units, but it shouldn't be a big deal. Whether or not we include occupancy percentage, or leave that to a report is undecided.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@782 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 15:56:42 +00:00
abijah
caee1c90a1 Removed the unecessary code, now that it has been checked in.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@781 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 06:26:53 +00:00
abijah
08486fc101 Work to try and ensure that the most useful menu is shown by default on each page.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@780 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 06:25:37 +00:00
abijah
0758865aae Changed to ensure that the grid view menu items do not show up at all, unless the user is an admin
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@779 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 06:24:27 +00:00
abijah
85b189a50e Updated status of a few units.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@778 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 06:18:27 +00:00
abijah
3ff5967415 Moved all controllers to the new addGridViewSideMenuLinks virtual function.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@777 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 02:37:01 +00:00
abijah
b2a85a5197 Added lock/unlock links directly on the unit page. Also, found the grid view links seem to be needed even when not already navigating a grid. Without them, the user must go first through the top level navigation link, then to the specific grid subset. It's a bit painful, and so I decided to add them back in. To facilitate this, instead of repeatedly changing each controller whenever we change our minds, I added a new virtual function to that app. I'll change the remaining controllers on the next checkin.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@776 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 02:29:29 +00:00
abijah
f8cdea8872 Renamed the Operations menu area to Actions
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@775 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 01:26:52 +00:00
abijah
c3ad1b0ea1 Fixed problems with the sizing of the sidemenu, as well as the animation problem (an issue caused by the lack of clear parent container sizing, since the parent was just a table cell). This is actually much cleaner, allowing us to ignore #sidecolumn in the sidemenu.css file, and simplifies jQuery accordion work as well (thus no jitter). Added a mechanism to dump javascript in a consistent place, when generated from elements included by the layout (namely, our sidemenu element). Finally, added a new event called hoverintent, since the mouseover feature works very poorly with the accordion module when animation is in use.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@774 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 01:24:23 +00:00
abijah
56bec8d05c Fixed a problem where the operations menu was showing up at inappropriate times (a problem we already solved, but accidentally left commented out on an earlier checkin). Also, since the sitemap is a top level operation that is not based on gridView, enabled the site operations menu explicitly from within the maps controller.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@773 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 01:18:53 +00:00
abijah
b89750a4ef Moved Edit as the final menu item of each set, when present.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@772 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 01:14:34 +00:00
abijah
20309fba39 Modified move_out to present a grid of leases, so the user can make a selection just as with move-in, invoices, receipts, etc.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@771 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 01:09:47 +00:00
abijah
241028603b Changed the default grid size for ledger_entries
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@770 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-25 01:06:57 +00:00
abijah
8663c25806 Added some lease operations to the customer menu. If there is only one current lease, this works great, and if there are multiple, it works as if it were performed from the top level, ignoring the fact that the user clicked the operation from the customer page.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@769 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 21:49:40 +00:00
abijah
03d947a069 Added top level operations into the sidemenu
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@768 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 21:48:09 +00:00
abijah
294aabbb29 Removed the lease/customer link from invoice/receipt
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@767 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 20:25:09 +00:00
abijah
94188e3f92 Fixed bug caused by removal of the ID column from the grid.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@766 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 20:12:20 +00:00
abijah
c261735197 Added automated disabling of admin and development menu items (at least the ones that are explicitly added to those sections of the menu).
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@765 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 20:03:05 +00:00
abijah
63c95da9f3 Changed the cookie name from the default of CAKEPHP.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@764 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 19:38:30 +00:00
abijah
ae1dccfb14 Updated help messages to reflect the requirements around first/last/company_name and display_name. Actually, the messages don't make any mention of company_name, but it can be used for display_name as well.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@763 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 19:37:19 +00:00
abijah
9bc699bf51 Modified contact grids to use display_name, and the contact model to take company name into account if no other fields will work for display name.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@762 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 19:17:55 +00:00
abijah
7a1aa536fa Modified display_name to be required, and gave a display name to a couple anonymous contacts.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@761 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 18:49:15 +00:00
abijah
de9a4acd5d Added ability to create a new customer directly from the move in operation.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@760 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 18:44:30 +00:00
abijah
bd4610abb3 Added unit area to the grid display; removed the hyperlink to unit size (which is not yet implemented), and added an overlocked report.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@759 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 08:20:28 +00:00
abijah
60ec105fca Removed old experimental code
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@758 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 08:01:00 +00:00
abijah
67a0c07bc6 Marked off some completed todo items.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@757 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 07:57:37 +00:00
abijah
fc332bef0e Changed wording slightly to fit on one line.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@756 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 07:44:03 +00:00
abijah
92668bcca1 Removed all the test data for Abijah as a contact.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@755 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 07:43:36 +00:00
abijah
73eeba04fe As with last checkin for customer, we now have special coloration for required fields, as well as blank required fields.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@754 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-24 06:53:51 +00:00