From 45ed9bd7a341693f081330b83ca67477c4db7263 Mon Sep 17 00:00:00 2001 From: abijah Date: Wed, 31 Mar 2010 20:10:21 +0000 Subject: [PATCH] Yet another bug from haste... let's hope this one fixes it. git-svn-id: file:///svn-source/pmgr/branches/v0.3_work/site@979 97e9348a-65ac-dc4b-aefc-98561f571b83 --- views/customers/view.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/customers/view.ctp b/views/customers/view.ctp index 70038d4..53e6ae5 100644 --- a/views/customers/view.ctp +++ b/views/customers/view.ctp @@ -62,7 +62,7 @@ echo $this->element('statement_entries', array ('caption' => 'Outstanding Charges', 'limit' => 10, 'action' => 'unreconciled', - 'filter' => array('Customer.id' => $customer['Customer']['id']), + 'filter' => array('StatementEntry.customer_id' => $customer['Customer']['id']), 'exclude' => array('Customer'), )));