might fix the PO prob
This commit is contained in:
parent
7875d2c950
commit
255e9fbe6b
|
|
@ -306,8 +306,8 @@ ALEXANDRIA NSW 2015 AUSTRALIA<br>
|
||||||
ENDINSTRUCTIONS;
|
ENDINSTRUCTIONS;
|
||||||
|
|
||||||
|
|
||||||
$currentuser = $this->Session->read('Auth.User');
|
$currentuser = $this->GetCurrentUser();
|
||||||
$this->data['Document']['user_id'] = $currentuser['id'];
|
$this->data['Document']['user_id'] = $currentuser['User']['id'];
|
||||||
$this->data['Document']['revision'] = 0; //No revisions for POs. I have decreed it!
|
$this->data['Document']['revision'] = 0; //No revisions for POs. I have decreed it!
|
||||||
$this->data['Document']['type'] = 'purchaseOrder';
|
$this->data['Document']['type'] = 'purchaseOrder';
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue