Code Duplication    Length = 3-3 lines in 2 locations

includes/class-wpinv-invoice.php 2 locations

@@ 670-672 (lines=3) @@
667
                                    $price = $item['price'];
668
                                    $taxes = $item['tax'];
669
670
                                    if ( 'publish' === $this->status || 'complete' === $this->status || 'revoked' === $this->status ) {
671
                                        $total_increase += $price;
672
                                    }
673
                                    break;
674
675
                                case 'remove':
@@ 676-678 (lines=3) @@
673
                                    break;
674
675
                                case 'remove':
676
                                    if ( 'publish' === $this->status || 'complete' === $this->status || 'revoked' === $this->status ) {
677
                                        $total_decrease += $item['price'];
678
                                    }
679
                                    break;
680
                            }
681
                        }