[-] BO : #PSCFV-3000 - Send an email on changing an order from the BO

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16372 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-07-12 12:05:19 +00:00
parent 9bc7869e2b
commit dc35aaa83c
14 changed files with 345 additions and 1 deletions
+14
View File
@@ -975,6 +975,20 @@ class OrderCore extends ObjectModel
}
return $return;
}
/**
* Get order customer
*
* @return Customer $customer
*/
public function getCustomer()
{
static $customer = null;
if (is_null($customer))
$customer = new Customer((int)$this->id_customer);
return $customer;
}
/**
* Get customer orders number