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

This commit is contained in:
mDeflotte
2012-07-12 12:05:19 +00:00
parent 1a41638de5
commit 4c5cce43e1
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