Took some of the new learnings from invoice generation and put into receipt generations. Also moved some shared functions to pmgr.js, and renamed things for consistency.
git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629/site@239 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -140,7 +140,7 @@ class TransactionsController extends AppController {
|
||||
}
|
||||
|
||||
if (!$this->Transaction->addReceipt($this->data,
|
||||
$this->data['customer_id'])) {
|
||||
$this->data['Customer']['id'])) {
|
||||
$this->Session->setFlash("RECEIPT FAILED", true);
|
||||
// REVISIT <AP> 20090706:
|
||||
// Until we can work out the session problems,
|
||||
|
||||
Reference in New Issue
Block a user