Code Duplication    Length = 6-6 lines in 2 locations

src/Eccube/Controller/Admin/Order/EditController.php 1 location

@@ 651-656 (lines=6) @@
648
                    }
649
                }
650
                // 入金済
651
            } elseif ($TargetOrder->getOrderStatus()->getId() == $app['config']['order_pre_end']) {
652
                // 編集前と異なる場合のみ更新
653
                if ($TargetOrder->getOrderStatus()->getId() != $OriginOrder->getOrderStatus()->getId()) {
654
                    $TargetOrder->setPaymentDate($dateTime);
655
                }
656
            }
657
            // 新規
658
        } else {
659
            // 発送済

src/Eccube/Service/PurchaseFlow/Processor/UpdateDatePurchaseProcessor.php 1 location

@@ 43-48 (lines=6) @@
40
                    }
41
                }
42
                // 入金済
43
            } elseif ($TargetOrder->getOrderStatus()->getId() == $this->app['config']['order_pre_end']) {
44
                // 編集前と異なる場合のみ更新
45
                if ($TargetOrder->getOrderStatus()->getId() != $OriginOrder->getOrderStatus()->getId()) {
46
                    $TargetOrder->setPaymentDate($dateTime);
47
                }
48
            }
49
            // 新規
50
        } else {
51
            // 発送済