Several changes in an effort to support charge reversals. I can't imagine this is all working flawlessly, as I'm not quite sure how it even _should_ work.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@490 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-05 07:54:57 +00:00
parent a84655bcb7
commit adc901b7e7
5 changed files with 217 additions and 211 deletions

View File

@@ -67,7 +67,10 @@ echo '<div CLASS="detail supporting">' . "\n";
* Statement Entries
*/
if ($transaction['type'] === 'INVOICE' || $transaction['type'] === 'RECEIPT') {
if ($transaction['type'] === 'INVOICE' ||
$transaction['type'] === 'RECEIPT' ||
$transaction['type'] === 'CREDIT_NOTE'
) {
echo $this->element('statement_entries', array
(// Grid configuration
'config' => array