Nowhere near done yet, but checking in a snapshot of semi-working code. There is some simultaneous support for both with and without use of the Invoice/Receipt account. I want to do away with them completely, but will need to change how sitelink payments are mapped (right now, they split a payment into multiple parts to match the charge).
git-svn-id: file:///svn-source/pmgr/branches/single_AR_20090622@181 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -57,16 +57,15 @@ echo $this->element('leases',
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* Ledger History
|
||||
* Current Tenant Lease Account History
|
||||
*/
|
||||
/* foreach($unit['Lease'] AS $lease) { */
|
||||
/* pr($lease); */
|
||||
/* $caption = 'Lease #'.$lease['number'].' (Tenant: '.$lease['Customer']['name'].')'; */
|
||||
/* echo $this->element('lease', */
|
||||
/* array('caption' => $caption, */
|
||||
/* 'entries' => $lease['Customer']['Transaction'], */
|
||||
/* 'ledger' => array('mix'=>1))); */
|
||||
/* } */
|
||||
|
||||
echo $this->element('ledger_entries',
|
||||
array('caption' => ('Current Lease Account (' .
|
||||
$unit['CurrentLease']['Customer']['name']
|
||||
. ')'),
|
||||
'lease_id' => $unit['CurrentLease']['id'],
|
||||
));
|
||||
|
||||
|
||||
/* End "detail supporting" div */
|
||||
|
||||
Reference in New Issue
Block a user