|
|
|
|
|
|
|
|
const ALIAS_CANCELED_WAITING_REFUND = 'canceled-waiting-refund'; |
|
|
const ALIAS_CANCELED_WAITING_REFUND = 'canceled-waiting-refund'; |
|
|
const ALIAS_REFUND = 'refund'; |
|
|
const ALIAS_REFUND = 'refund'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//TODO : AJOUTER un champ valid ds orderSTATUS |
|
|
//TODO : AJOUTER un champ valid ds orderSTATUS |
|
|
static $statusAliasAsValid = [ |
|
|
static $statusAliasAsValid = [ |
|
|
self::ALIAS_PAID, |
|
|
|
|
|
self::ALIAS_WAITING_DELIVERY, |
|
|
|
|
|
self::ALIAS_WAITING_BANK_RETURN, |
|
|
|
|
|
self::ALIAS_WAITING_DELIVERY_WITH_PAYMENT, |
|
|
|
|
|
self::ALIAS_DELIVERED_WITHOUT_PAYMENT, |
|
|
|
|
|
self::ALIAS_DONE |
|
|
|
|
|
|
|
|
self::ALIAS_PAID, |
|
|
|
|
|
self::ALIAS_WAITING_DELIVERY, |
|
|
|
|
|
self::ALIAS_WAITING_BANK_RETURN, |
|
|
|
|
|
self::ALIAS_WAITING_DELIVERY_WITH_PAYMENT, |
|
|
|
|
|
self::ALIAS_DELIVERED_WITHOUT_PAYMENT, |
|
|
|
|
|
self::ALIAS_DONE |
|
|
|
|
|
|
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
static $statusAliasWaitingDelivery = [ |
|
|
static $statusAliasWaitingDelivery = [ |
|
|
self::ALIAS_WAITING_DELIVERY, |
|
|
|
|
|
self::ALIAS_WAITING_DELIVERY_WITH_PAYMENT, |
|
|
|
|
|
|
|
|
self::ALIAS_WAITING_DELIVERY, |
|
|
|
|
|
self::ALIAS_WAITING_DELIVERY_WITH_PAYMENT, |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
static $statusAliasAsCart = [ |
|
|
static $statusAliasAsCart = [ |
|
|
self::ALIAS_CART, |
|
|
|
|
|
self::ALIAS_PARTIAL_PAYMENT, |
|
|
|
|
|
self::ALIAS_WAITING_PAYMENT_ONLINE, |
|
|
|
|
|
self::ALIAS_ERROR_PAYMENT_ONLINE |
|
|
|
|
|
|
|
|
self::ALIAS_CART, |
|
|
|
|
|
self::ALIAS_PARTIAL_PAYMENT, |
|
|
|
|
|
self::ALIAS_WAITING_PAYMENT_ONLINE, |
|
|
|
|
|
self::ALIAS_ERROR_PAYMENT_ONLINE |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |