Merge branch 'ticket-10133' into develop
This commit is contained in:
commit
dbcbfacae3
@ -666,7 +666,7 @@ class Loyalty extends Module
|
|||||||
if ((int)Configuration::get('PS_LOYALTY_NONE_AWARD') AND $loyalty->id_loyalty_state == LoyaltyStateModule::getNoneAwardId())
|
if ((int)Configuration::get('PS_LOYALTY_NONE_AWARD') AND $loyalty->id_loyalty_state == LoyaltyStateModule::getNoneAwardId())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if ($newOrder->id == $this->loyaltyStateValidation->id_order_state)
|
if ($newOrder->id == $this->loyaltyStateValidation->id_order_state && $loyalty->id_loyalty_state != LoyaltyStateModule::getCancelId())
|
||||||
{
|
{
|
||||||
$loyalty->id_loyalty_state = LoyaltyStateModule::getValidationId();
|
$loyalty->id_loyalty_state = LoyaltyStateModule::getValidationId();
|
||||||
if ((float)($loyalty->discount_value) == 0) {
|
if ((float)($loyalty->discount_value) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user