Compare commits

..

8 Commits

Author SHA1 Message Date
cron
1fcf32b839 property_manager database backup as of 2010_03_11_0106
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@956 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-11 09:06:46 +00:00
cron
197884398d property_manager database backup as of 2010_03_09_0111
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@955 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-09 09:11:51 +00:00
cron
f170b4136d property_manager database backup as of 2010_03_07_0111
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@954 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-07 09:12:01 +00:00
cron
9ade6861e7 property_manager database backup as of 2010_03_05_0111
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@953 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-05 09:12:05 +00:00
cron
73e8df83a2 property_manager database backup as of 2010_03_04_0118
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@952 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-04 09:19:24 +00:00
cron
6363b3d3c1 property_manager database backup as of 2010_03_03_0103
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@951 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-03 09:04:09 +00:00
cron
d28e2a1728 property_manager database backup as of 2010_03_02_1055
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@950 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-02 18:56:19 +00:00
abijah
396eac6f81 Fixed a routing bug and a customer edit bug
git-svn-id: file:///svn-source/pmgr/tags/v0.2.1@948 97e9348a-65ac-dc4b-aefc-98561f571b83
2010-03-02 18:45:29 +00:00
2 changed files with 2 additions and 10 deletions

View File

@@ -2,12 +2,6 @@
class CustomersController extends AppController { class CustomersController extends AppController {
// DEBUG FUNCTION ONLY!
// Call without id to update ALL customers
function force_update($id = null) {
$this->Customer->update($id);
$this->redirect(array('action'=>'index'));
}
/************************************************************************** /**************************************************************************
************************************************************************** **************************************************************************

View File

@@ -148,11 +148,9 @@ class Lease extends AppModel {
array('class' => 'StatementEntry', array('class' => 'StatementEntry',
'fields' => array(), 'fields' => array(),
'conditions' => array 'conditions' => array
('SEx.lease_id = StatementEntry.lease_id', ('SEx.effective_date = DATE_ADD(StatementEntry.through_date, INTERVAL 1 day)',
'SEx.type' => 'CHARGE', 'SEx.lease_id = StatementEntry.lease_id',
'SEx.account_id' => $rent_account_id,
'SEx.reverse_transaction_id IS NULL', 'SEx.reverse_transaction_id IS NULL',
'SEx.effective_date = DATE_ADD(StatementEntry.through_date, INTERVAL 1 day)',
), ),
), ),
), ),