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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14629 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-04-13 13:40:29 +00:00
parent d7777f270e
commit 58ef5e6e9b
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