[-] FO : #PSCFI-5322 - Order::hasBeenDelivered and Order::hasBeenPaid don't work for all order states

This commit is contained in:
mDeflotte
2012-04-13 13:40:29 +00:00
parent 874849038c
commit 2f4de677e4
2 changed files with 35 additions and 3 deletions
+7
View File
@@ -94,6 +94,13 @@ class OrderStateCore extends ObjectModel
'hidden' => array(),
),
);
const FLAG_NO_HIDDEN = 1; /* 00001 */
const FLAG_LOGABLE = 2; /* 00010 */
const FLAG_DELIVERY = 4; /* 00100 */
const FLAG_SHIPPED = 8; /* 01000 */
const FLAG_PAID = 16; /* 10000 */
/**
* Get all available order states