First pass at having invoice support multiple charges, just like receipt/payment. It works well, but I know we still need a better solution for income accounts, and it hasn't been robustly tested yet.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@243 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-07 04:37:04 +00:00
parent d5d2d07894
commit a8c91d8b22
3 changed files with 132 additions and 52 deletions

View File

@@ -118,11 +118,9 @@ class TransactionsController extends AppController {
die("<H1>INVOICE FAILED</H1>");
}
// Comment this out to debug
$this->redirect($this->data['redirect']);
pr($this->data['redirect']);
$this->render('/empty');
$this->layout = null;
$this->autoLayout = false;
$this->autoRender = false;
}