mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Merge 6313891e13 into cbb32838fb
This commit is contained in:
commit
ea7a403b16
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ final class OrderInventoryOperator implements OrderInventoryOperatorInterface
|
||||||
{
|
{
|
||||||
if (in_array(
|
if (in_array(
|
||||||
$order->getPaymentState(),
|
$order->getPaymentState(),
|
||||||
[OrderPaymentStates::STATE_PAID, OrderPaymentStates::STATE_REFUNDED],
|
[OrderPaymentStates::STATE_PAID, OrderPaymentStates::STATE_REFUNDED, OrderPaymentStates::STATE_PARTIALLY_REFUNDED],
|
||||||
true,
|
true,
|
||||||
)) {
|
)) {
|
||||||
$this->giveBack($order);
|
$this->giveBack($order);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue