Merge branch 'ticket-fidelite' into develop
This commit is contained in:
commit
c6cdcd748b
@ -591,7 +591,7 @@ class Loyalty extends Module
|
||||
if ($newOrder->id == $this->loyaltyStateValidation->id_order_state)
|
||||
{
|
||||
$loyalty->id_loyalty_state = LoyaltyStateModule::getValidationId();
|
||||
if ((int)($loyalty->discount_value) == 0) {
|
||||
if ((float)($loyalty->discount_value) == 0) {
|
||||
$loyalty->discount_value = LoyaltyModule::getOrderDiscountValue($order);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user