Compare commits

..

90 Commits

Author SHA1 Message Date
cron
7470a83896 property_manager database backup as of 2010_02_27_0124
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@935 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-27 09:24:39 +00:00
cron
f8a10c56d3 property_manager database backup as of 2010_02_26_0122
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@934 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-26 09:22:29 +00:00
cron
bf17965b05 property_manager database backup as of 2010_02_21_0118
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@933 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-21 09:18:59 +00:00
cron
e69eb83f26 property_manager database backup as of 2010_02_20_0114
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@932 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-20 09:15:31 +00:00
cron
bbee815075 property_manager database backup as of 2010_02_19_0113
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@931 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-19 09:13:41 +00:00
cron
c305f90aad property_manager database backup as of 2010_02_15_0125
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@930 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-15 09:25:33 +00:00
cron
feeb912213 property_manager database backup as of 2010_02_13_0111
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@929 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-13 09:12:11 +00:00
cron
d26754f85c property_manager database backup as of 2010_02_12_0114
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@928 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-12 09:15:06 +00:00
cron
5d6d6475cf property_manager database backup as of 2010_02_11_0102
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@927 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-11 09:02:47 +00:00
cron
adfc0ab5eb property_manager database backup as of 2010_02_10_0123
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@926 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-10 09:23:42 +00:00
cron
229d36ca85 property_manager database backup as of 2010_02_09_0123
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@925 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-09 09:23:41 +00:00
cron
294cfb4e5f property_manager database backup as of 2010_02_08_0116
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@924 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-08 09:16:56 +00:00
cron
6a4d03be2f property_manager database backup as of 2010_02_06_0115
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@923 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-06 09:15:53 +00:00
cron
959a42c874 property_manager database backup as of 2010_02_04_0103
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@922 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-04 09:03:51 +00:00
cron
43e8e454b3 property_manager database backup as of 2010_02_01_0114
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@921 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-02-01 09:14:34 +00:00
cron
73ad0a3c49 property_manager database backup as of 2010_01_30_0111
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@920 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-30 09:12:01 +00:00
cron
7ca5fbcfbd property_manager database backup as of 2010_01_28_0111
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@919 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-28 09:11:31 +00:00
cron
8961df4e0c property_manager database backup as of 2010_01_21_0110
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@918 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-21 09:10:59 +00:00
cron
b9da799802 property_manager database backup as of 2010_01_20_0116
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@917 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-20 09:17:07 +00:00
cron
c8c460b15b property_manager database backup as of 2010_01_17_0101
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@916 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-17 09:01:49 +00:00
cron
a2d0ba4b5c property_manager database backup as of 2010_01_15_0105
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@915 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-15 09:06:36 +00:00
cron
38c3a3c9cb property_manager database backup as of 2010_01_12_0106
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@913 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-12 09:06:51 +00:00
cron
be2c5591ee property_manager database backup as of 2010_01_09_0117
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@912 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-09 09:18:02 +00:00
cron
a243bf9ec9 property_manager database backup as of 2010_01_08_0105
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@911 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-08 09:05:54 +00:00
cron
cd8deda8cd property_manager database backup as of 2010_01_07_0115
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@910 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-07 09:15:42 +00:00
cron
fac91f3178 property_manager database backup as of 2010_01_05_0106
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@909 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-05 09:06:59 +00:00
cron
79f58cb2fb property_manager database backup as of 2010_01_04_0117
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@908 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-01-04 09:18:39 +00:00
cron
26048172ef property_manager database backup as of 2009_12_30_0100
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@907 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-30 09:01:28 +00:00
cron
6f63cba37a property_manager database backup as of 2009_12_29_0112
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@906 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-29 09:13:47 +00:00
cron
3fb3bb8290 property_manager database backup as of 2009_12_17_0125
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@905 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-17 09:25:42 +00:00
cron
ea4c9771be property_manager database backup as of 2009_12_16_0122
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@904 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-16 09:22:53 +00:00
cron
dc491637e2 property_manager database backup as of 2009_12_13_0111
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@903 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-13 09:12:34 +00:00
cron
e7e0a8971f property_manager database backup as of 2009_12_11_0123
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@902 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-11 09:24:38 +00:00
cron
b5aef9d8a5 property_manager database backup as of 2009_12_10_0105
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@901 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-10 09:06:13 +00:00
cron
a3def96248 property_manager database backup as of 2009_12_09_0100
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@899 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-09 09:00:31 +00:00
cron
281a192aac property_manager database backup as of 2009_12_08_0110
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@898 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-08 09:11:08 +00:00
cron
6c5bf2034c property_manager database backup as of 2009_12_05_0106
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@897 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-05 09:06:45 +00:00
cron
3b150a5035 property_manager database backup as of 2009_12_04_0102
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@896 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-04 09:02:36 +00:00
cron
ffd4c1cb02 property_manager database backup as of 2009_12_03_0121
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@895 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-03 09:21:36 +00:00
cron
d390e24259 property_manager database backup as of 2009_12_01_0118
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@894 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-12-01 09:18:50 +00:00
cron
c0c74c9390 property_manager database backup as of 2009_11_28_0100
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@893 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-28 09:01:19 +00:00
cron
2f83c0a95d property_manager database backup as of 2009_11_19_0100
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@892 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-19 09:01:00 +00:00
cron
ca6c88509f property_manager database backup as of 2009_11_14_0116
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@891 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-14 09:17:27 +00:00
cron
e7d1d68316 property_manager database backup as of 2009_11_13_0109
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@890 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-13 09:09:45 +00:00
cron
2ed0506099 property_manager database backup as of 2009_11_11_0118
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@889 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-11 09:19:16 +00:00
cron
75f13f5cfd property_manager database backup as of 2009_11_10_0103
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@888 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-10 09:04:08 +00:00
cron
2f6e55bf40 property_manager database backup as of 2009_11_08_0119
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@887 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-08 09:19:27 +00:00
cron
e99e344599 property_manager database backup as of 2009_11_06_0113
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@886 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-06 09:13:52 +00:00
cron
31dd195a53 property_manager database backup as of 2009_11_04_0114
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@885 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-04 09:15:07 +00:00
cron
09a10827c5 property_manager database backup as of 2009_11_03_0101
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@884 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-03 09:02:13 +00:00
cron
2bfa726e9b property_manager database backup as of 2009_11_03_0007
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@883 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-11-03 08:07:40 +00:00
cron
4a8d505d53 property_manager database backup as of 2009_10_31_0124
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@882 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-31 08:25:02 +00:00
cron
6ca1dcdf17 property_manager database backup as of 2009_10_28_0101
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@881 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-28 08:01:40 +00:00
cron
314c79aa36 property_manager database backup as of 2009_10_18_0126
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@880 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-18 08:26:46 +00:00
cron
6fb81b383f property_manager database backup as of 2009_10_16_0107
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@879 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-16 08:07:37 +00:00
cron
958b6bc6f3 property_manager database backup as of 2009_10_13_0115
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@878 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-13 08:16:19 +00:00
cron
08f5c48a3c property_manager database backup as of 2009_10_12_0106
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@877 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-12 08:07:11 +00:00
cron
845eec126f property_manager database backup as of 2009_10_10_0120
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@876 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-10 08:20:55 +00:00
abijah
03da3afb98 More things to do based on how it's been going at VSS
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@873 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-09 23:46:18 +00:00
cron
3b5aa78a47 property_manager database backup as of 2009_10_09_0113
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@869 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-09 08:13:46 +00:00
cron
721faa129b property_manager database backup as of 2009_10_08_0117
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@868 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-08 08:18:30 +00:00
cron
78806de606 property_manager database backup as of 2009_10_06_0124
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@867 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-06 08:24:25 +00:00
cron
d4ea5eea1f property_manager database backup as of 2009_10_03_0123
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@866 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-03 08:24:03 +00:00
cron
9213c1c21d property_manager database backup as of 2009_10_02_0905
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@865 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-02 16:06:14 +00:00
abijah
8bda7c2cb0 Added the updateLeaseCount call to the customer update function. Most of the time it will not be necessary, but the purpose of update() is to ensure the customer info is current, so we're obligated to call it.
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@863 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-02 15:40:54 +00:00
cron
375d63485c property_manager database backup as of 2009_10_02_0116
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@862 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-02 08:16:34 +00:00
cron
26045a3db7 property_manager database backup as of 2009_10_01_0103
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@861 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-10-01 08:03:28 +00:00
cron
04ac012754 property_manager database backup as of 2009_09_29_0120
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@860 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-29 08:20:23 +00:00
cron
e6f662f0a1 property_manager database backup as of 2009_09_26_0113
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@859 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-26 08:13:58 +00:00
cron
04b3c06cda property_manager database backup as of 2009_09_25_0129
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@858 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-25 08:30:15 +00:00
cron
24da6d75b5 property_manager database backup as of 2009_09_24_0120
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@857 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-24 08:20:57 +00:00
cron
542ae17afd property_manager database backup as of 2009_09_23_0114
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@856 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-23 08:14:54 +00:00
cron
97fffaa610 property_manager database backup as of 2009_09_20_0118
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@855 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-20 08:18:46 +00:00
cron
3eb5139b62 property_manager database backup as of 2009_09_19_0125
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@854 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-19 08:26:07 +00:00
cron
5245393a04 property_manager database backup as of 2009_09_18_0104
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@853 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-18 08:04:33 +00:00
cron
e59df1dffb property_manager database backup as of 2009_09_16_0122
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@852 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-16 08:23:11 +00:00
cron
61da97974b property_manager database backup as of 2009_09_15_0112
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@851 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 08:12:24 +00:00
cron
6482cfd4cc property_manager database backup as of 2009_09_14_1953
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@850 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 02:53:36 +00:00
abijah
c3e51a7a6b Tagging first official release: v0.1.0
git-svn-id: file:///svn-source/pmgr/tags/v0.1.0@849 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 02:47:55 +00:00
abijah
de069ef186 Updated the todo items
git-svn-id: file:///svn-source/pmgr/trunk@848 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 02:42:32 +00:00
abijah
5047abba6a Merge in from pre_0.1 branch
git-svn-id: file:///svn-source/pmgr/trunk@847 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 02:38:28 +00:00
abijah
4e8426fd79 Move the Charge Assessment link to the operations area, and updated the Transaction Destroy link to the admin menu and gave it a reasonable redirect instead of the view not found message (since it's no longer a dev function
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@846 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 02:32:56 +00:00
abijah
6630cdfcd6 Part of the final effort to bring the information current, ready to be live.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@845 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 02:30:20 +00:00
abijah
48d332f40f Part of the final effort to bring the information current, ready to be live.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@844 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-15 02:30:05 +00:00
abijah
3ede96dad9 Fixed the map titles on IE.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@843 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-14 17:03:56 +00:00
abijah
3e3dff31a8 I believe the bug Shirley has been seeing is finally fixed. The problem is that an extra comma at the end of a javascript object literal blows up in IE7. FF and IE8 both handle it fine, which is why we hadn't noticed. Hopefully, this change includes all areas which had the extra comma.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@842 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-07 17:04:34 +00:00
abijah
3642724b5e ajax logging is not working on site. The log message is now added as part of the post. However, it is added by using jQuery, so it may not work. Consequently, there is a default value to help narrow down the problem.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@841 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-07 05:30:08 +00:00
abijah
0ad68f4d6a Added util function to allow us to capture client side logging, and utilize it in the invoice view to find out why the app is not working on site. Also, since everything depends so heavily on jQuery, added an internal error if jQuery fails to load.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@840 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-06 15:32:41 +00:00
abijah
2628edfbdd Merge in single site support for both the sandbox and a development box as well.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@839 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-06 04:32:55 +00:00
abijah
2f3046294d Missed the transaction controller change as part of r835. Also, added check to see that customer/unit have been selected at movein.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@837 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-09-06 04:25:27 +00:00
13 changed files with 4200 additions and 176 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -45,7 +45,7 @@ Operations to be functional
X - Receive and record Money Orders
X - Receive and record Cash
X - Receive and record ACH Deposits
? - Reverse rent charges (early moveout on prepaid occupancy)
X - Reverse rent charges (early moveout on prepaid occupancy)
X - Handle NSF checks
X - Assess NSF Fees
X - Determine Lease Paid-Through status

View File

@@ -220,10 +220,6 @@ class AppController extends Controller {
$this->addSideMenuLink('Stmt Entries',
array('controller' => 'statement_entries', 'action' => 'index'), null,
'SITE', $this->admin_area);
$this->addSideMenuLink('Assess Charges',
array('controller' => 'leases', 'action' => 'assess_all'), null,
'SITE', $this->admin_area);
$this->addSideMenuLink('Un-Nuke',
'#', array('htmlAttributes' =>
@@ -250,6 +246,10 @@ class AppController extends Controller {
$this->addSideMenuLink('New Deposit',
array('controller' => 'tenders', 'action' => 'deposit'), null,
'SITE', $this->op_area);
if (!empty($this->params['admin']))
$this->addSideMenuLink('Assess Charges',
array('controller' => 'leases', 'action' => 'assess_all'), null,
'SITE', $this->op_area);
$url_components = array('plugin', 'controller', 'action', 'named');
if (devbox()) {

View File

@@ -394,6 +394,10 @@ class LeasesController extends AppController {
$this->set(compact('default_late'));
if ($type === 'move-in') {
// Make sure we have a valid lease that we're moving in
if (empty($lease))
$this->redirect(array('action' => 'index'));
$movein = array();
$movein['time'] = strtotime($lease['Lease']['movein_date']);
$movein['effective_time'] = strtotime($lease['Lease']['movein_date']);

View File

@@ -112,7 +112,7 @@ class TransactionsController extends AppController {
* - handles the creation of a charge invoice
*/
function postInvoice() {
function postInvoice($redirect = true) {
if (!$this->RequestHandler->isPost()) {
echo('<H2>THIS IS NOT A POST FOR SOME REASON</H2>');
return;
@@ -127,6 +127,17 @@ class TransactionsController extends AppController {
die("<H1>INVOICE FAILED</H1>");
}
if ($redirect) {
if (!empty($this->data['Customer']['id']))
$this->redirect(array('controller' => 'customers',
'action' => 'receipt',
$this->data['Customer']['id']));
else
$this->redirect(array('controller' => 'leases',
'action' => 'view',
$this->data['Lease']['id']));
}
$this->layout = null;
$this->autoLayout = false;
$this->autoRender = false;
@@ -140,7 +151,7 @@ class TransactionsController extends AppController {
* - handles the creation of a receipt
*/
function postReceipt() {
function postReceipt($redirect = true) {
if (!$this->RequestHandler->isPost()) {
echo('<H2>THIS IS NOT A POST FOR SOME REASON</H2>');
return;
@@ -164,6 +175,11 @@ class TransactionsController extends AppController {
die("<H1>RECEIPT FAILED</H1>");
}
if ($redirect)
$this->redirect(array('controller' => 'customers',
'action' => 'view',
$this->data['Customer']['id']));
$this->layout = null;
$this->autoLayout = false;
$this->autoRender = false;
@@ -377,9 +393,11 @@ class TransactionsController extends AppController {
* irreversibly destroys the data. It is not for normal use.
*/
function destroy($id = null) {
function destroy($id) {
$this->Transaction->id = $id;
$customer_id = $this->Transaction->field('customer_id');
$this->Transaction->destroy($id);
//$this->redirect(array('action' => 'index'));
$this->redirect(array('controller' => 'customers', 'action' => 'view', $customer_id));
}
@@ -423,7 +441,7 @@ class TransactionsController extends AppController {
"This may leave the database in an unstable state." .
" Do NOT do this unless you know what you're doing." .
" Proceed anyway?"),
'ACTION', $this->dev_area);
'ACTION', $this->admin_area);
// OK, prepare to render.
$title = 'Transaction #' . $transaction['Transaction']['id'];

View File

@@ -62,4 +62,15 @@ class UtilController extends AppController {
function rebuild_sandbox() { $this->rebuild_box('sand'); }
function rebuild_devbox() { $this->rebuild_box('dev'); }
/**************************************************************************
**************************************************************************
**************************************************************************
* function: logmsg
* - action to allow posting log message data
*/
function logmsg() {
}
}

View File

@@ -247,10 +247,10 @@ class Customer extends AppModel {
return;
}
// REVISIT <AP>: 20090812
// updateLeaseCount is handled directly when needed.
// Should we simplify by just doing it anyway?
//$this->updateLeaseCount($id);
// updateLeaseCount is typically handled directly when needed.
// However, this function is used to _ensure_ customer info is
// current, so we're obligated to call it anyway.
$this->updateLeaseCount($id);
$current_leases =
$this->find('all',

View File

@@ -25,12 +25,12 @@ Configure::write('debug', '0');
beforeSubmit: verifyRequest, // pre-submit callback
success: showResponse, // post-submit callback
url: "<?php echo $html->url(array('controller' => 'transactions',
'action' => 'postReceipt', 0)); ?>",
// other available options:
//clearForm: true, // clear all form fields after successful submit
//resetForm: true, // reset the form after successful submit
url: "<?php echo $html->url(array('controller' => 'transactions',
'action' => 'postReceipt', 0)); ?>"
};
// bind form using 'ajaxForm'

View File

@@ -74,9 +74,9 @@ jQuery(document).ready(function(){
jQuery("#sidemenu").accordion
({ fillSpace : true,
event : "click hoverintent",
animated : "bounceslide",
animated : "bounceslide"
JSCB
. (isset($active_section) ? "\tactive : $active_section,\n" : '') .
. (isset($active_section) ? ",\n\t active : $active_section\n" : '') .
<<<JSCB
});
}

View File

@@ -86,6 +86,18 @@
echo $javascript->link('pmgr') . "\n";
echo $scripts_for_layout . "\n";
?>
<?php if ($this->params['action'] !== 'INTERNAL_ERROR'): ?>
<script type="text/javascript"><!--
if (typeof(jQuery) == 'undefined') {
window.location.href =
"<?php echo $html->url(array('controller' => 'util',
'action' => 'INTERNAL_ERROR',
'jQuery NOT LOADED!')); ?>";
}
--></script>
<?php endif; ?>
</head>
<body>

View File

@@ -27,33 +27,24 @@ Configure::write('debug', '0');
// prepare the form when the DOM is ready
$(document).ready(function() {
$("#debug").append('doc ready1' + '<BR>');
var options = {
var options = {
target: '#output-debug', // target element(s) to be updated with server response
beforeSubmit: verifyRequest, // pre-submit callback
success: showResponse, // post-submit callback
url: "<?php echo $html->url(array('controller' => 'transactions',
'action' => 'postInvoice', 0)); ?>",
// other available options:
//clearForm: true, // clear all form fields after successful submit
//resetForm: true, // reset the form after successful submit
url: "<?php echo $html->url(array('controller' => 'transactions',
'action' => 'postInvoice', 0)); ?>"
};
if ($('#invoice-form').ajaxForm != null)
$("#debug").append('ajax present' + '<BR>');
else
$("#debug").append('ajax not present' + '<BR>');
// bind form using 'ajaxForm'
if ($('#invoice-form').ajaxForm != null) {
$("#debug").append('go ajax' + '<BR>');
$('#invoice-form').ajaxForm(options);
$("#debug").append('ajax set' + '<BR>');
}
else
$('#repeat, label[for=repeat]').remove();
// bind form using 'ajaxForm'
if ($('#invoice-form').ajaxForm != null)
$('#invoice-form').ajaxForm(options);
else
$('#repeat, label[for=repeat]').remove();
});
// pre-submit callback
@@ -131,13 +122,11 @@ function showResponse(responseText, statusText) {
// Reset the form
function resetForm(nocharge) {
$("#debug").append('reset form: ' + nocharge + '<BR>');
$('#charge-entry-id').val(1);
$('#charges').html('');
if (!nocharge)
addChargeSource(false);
$("#debug").append('reset form done' + '<BR>');
}
@@ -163,7 +152,6 @@ function onRowSelect(grid_id, lease_id) {
}
function onGridState(grid_id, state) {
$("#debug").append('on grid state: ' + grid_id + '; ' + state + '<BR>');
if (state == 'visible') {
$(".lease-selection-invalid").hide();
$(".lease-selection-valid").hide();
@@ -177,11 +165,9 @@ function onGridState(grid_id, state) {
$(".lease-selection-invalid").show();
}
}
$("#debug").append('on grid state done' + '<BR>');
}
function addChargeSource(flash) {
$("#debug").append('add charge source' + '<BR>');
var id = $("#charge-entry-id").val();
addDiv('charge-entry-id', 'charge', 'charges', flash,
// HTML section
@@ -218,14 +204,10 @@ function addChargeSource(flash) {
'</FIELDSET>'
);
$("#debug").append('add div complete' + '<BR>');
$("#debug").append('add datepicker1' + '<BR>');
datepicker("Entry"+id+"EffectiveDate");
$("#debug").append('add datepicker2' + '<BR>');
datepicker("Entry"+id+"ThroughDate");
$("#debug").append('add charge source complete' + '<BR>');
return id;
}
@@ -349,7 +331,6 @@ Configure::write('debug', '0');
};
$(document).ready(function(){
$("#debug").append('doc ready2' + '<BR>');
datepicker('TransactionStamp');
$("#lease-id").val(0);
@@ -362,13 +343,11 @@ Configure::write('debug', '0');
<?php if (empty($movein)): ?>
$("#debug").append('movein empty' + '<BR>');
resetForm();
datepickerNow('TransactionStamp');
<?php else: ?>
$("#debug").append('movein not empty' + '<BR>');
var id;
resetForm(true);

View File

@@ -6,6 +6,19 @@
{// for indentation purposes
// Go through each unit, adding a clickable region for the unit
foreach ($info['units'] AS $unit){
$title = ('Unit #' .
$unit['name'] .
(empty($unit['data']['CurrentLease']['id'])
? ''
: ('; ' .
/* 'Lease #' . */
/* $unit['data']['CurrentLease']['id'] . */
/* '; ' . */
$unit['data']['Customer']['name'] .
'; Paid Through ' .
$unit['data']['CurrentLease']['paid_through_date'])
));
echo(' <area shape="rect"' .
' coords="' .
$unit['left'] . ',' .
@@ -16,20 +29,8 @@
$html->url(array('controller' => 'units',
'action' => 'view',
$unit['id'])) .
'" alt="Unit #' .
$unit['name'] .
'" title="Unit #' .
$unit['name'] .
(empty($unit['data']['CurrentLease']['id'])
? ''
: ('; ' .
/* 'Lease #' . */
/* $unit['data']['CurrentLease']['id'] . */
/* '; ' . */
$unit['data']['Customer']['name'] .
'; Paid Through ' .
$unit['data']['CurrentLease']['paid_through_date'])
) .
'" alt="' . $title .
'" title="' . $title .
'">' . "\n");
}
}// for indentation purposes

View File

@@ -1,3 +1,36 @@
When performing a move-in, the receipt page is broken
when trying to enter a concession. javascript complains about
an invalid value, and the page is not submitted.
- Allegedly. I believe Shirley's browser was acting up
on her, and based on the logs, it seems that indeed
what ultimately worked just fine for a concession entry
was really the exact same page that was stuck. While
on the phone it was evident that here browser was
doing a javascript wig-out, and it wasn't related to
a slow internet connection.
Reversing a rent charge is not considered as part of the
"charged-through" date on the lease. Consequently, the
reversal itself ensures the charge is fully "paid", and
the "paid-through" date is also out of whack.
Add invoice rent helpers
- monthly proration tool
- select from/to dates, and hit "prorate"
- charge through date
- enter charge through date, and the invoice
will automatically have charges for each month
from the current charge-through date to the
new charge-through date.
- charge N months
- enter number of months, and the invoice
will automatically have charges for each month
from the current charge-through date for N months
- next rent
- same as, or instead of, "charge N months", where
N is 1
Add NSF Fee to the NSF entry page (It's hardcoded right now
in Transaction to $35).
@@ -52,11 +85,6 @@ Reduce the number of cached items. Figure out how to get Cake to
automatically make CONCAT(TenderType.name, ' #', Tender.id) part
of each returned query.
Implement, as part of the User model, a function to return the
security level. Have it be a static function, so that we don't
need to instantiate it, and right now, return a level based on
the route.
Add the opposite of the "collected" report, which provides a set of
checkboxes for the different incomes, and returns a list of where
the received monies were disbursed for the selected period.