Commit Graph

905 Commits

Author SHA1 Message Date
abijah
87a2ea5cd6 Decided the Creation menu isn't worth it at the moment, and moved New Deposit back into the Actions menu. Removed Add Customer, since this can and probably will happen directly from the Move-In page. Created an entirely separate Sandbox menu area, since it is of particular interest to the customer.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@825 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-29 20:59:29 +00:00
abijah
6492cd8b22 Removed the Add Deposit link from the actions menu. It is easy to find after Navigating to Deposits.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@824 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-29 20:46:33 +00:00
abijah
f6a18cbb6c Thought margin would be picked up from the previous ui-jqgrid-title rules, but apparently not.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@823 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-29 20:31:44 +00:00
abijah
7198d7e6f4 Changes to have the software function without the presence of jquery-ui (which may not be complete). Also, brought the jquery libraries to the server, instead of using them as hosted from google. Some browser configurations may have an issue with what they deem to be cross site scripting.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@822 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-29 20:27:12 +00:00
abijah
d79077e279 Removed the debug prints, and got back to the original r5 of hoverintent, except for my change to handle mouseenter and mouseleave
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@821 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-29 18:43:48 +00:00
abijah
cea9332ac6 Using version r5 of hoverIntent. It doesn't work as an event like the original code did, so I had to doctor it up a bit. It works OK with firefox, but not with IE. I have a possible patch to apply after I check this in.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@820 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-29 18:14:18 +00:00
abijah
bf8aaea041 Modified the dump function, and fixed several places that needed to declare variables using var. Changed the pmgr.jquery.js file to jquery.hoverIntent.js. Fixed a bug causing no ordered lists, since padding and margin were set to 0 for all elements.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@819 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-29 17:24:06 +00:00
abijah
63704682fa Keeping actions for now
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@818 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 22:19:07 +00:00
abijah
63de5641a0 Temporary fix for last minute bug
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@817 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 22:11:18 +00:00
abijah
5f6a9ed53f Fixed the http/https problem
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@816 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 21:44:39 +00:00
abijah
328d0f8f51 Modified the rebuild_sandbox action to redirect instead of dumping debug output.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@815 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 21:38:23 +00:00
abijah
aee6832374 Fixed the sandbox/unsandbox URLs. I'd like to make this a route... I'll look into it.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@814 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 21:22:50 +00:00
abijah
63e22ec9bf Added more sandbox functionality, including a script to generate the sandbox on the fly from the absolute latest data.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@813 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 21:06:20 +00:00
abijah
fde8923814 Added a utility controller, for calling actions that really aren't related to any other controller (we've been using accounts up to this point).
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@809 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 20:46:10 +00:00
abijah
696017a82a Fixed cut/paste bug
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@808 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 20:45:11 +00:00
abijah
7bcee943a5 Theme work, and a sandbox function for a consistent point to check whether we're sandboxed or not.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@807 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 19:57:30 +00:00
abijah
0c9b945f7b Added pre-submit data verification for invoice and receipt. The checking is pretty thin, but it's a start. I don't want to do more, as I'm sure there are lots of data validation tools out there and would prefer to go that route.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@806 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 18:22:13 +00:00
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