Code Duplication    Length = 8-8 lines in 2 locations

class/bbcvols.class.php 2 locations

@@ 638-645 (lines=8) @@
635
        $billDone = $langs->trans('Facturé');
636
        $billNotDone = $langs->trans('Ouvert');
637
638
        if ($mode == 0) {
639
            if ($status == 1) {
640
                return $billDone;
641
            }
642
            if ($status == 0) {
643
                return $billNotDone;
644
            }
645
        }
646
        if ($mode == 1) {
647
            if ($status == 1) {
648
                return $billDone;
@@ 646-653 (lines=8) @@
643
                return $billNotDone;
644
            }
645
        }
646
        if ($mode == 1) {
647
            if ($status == 1) {
648
                return $billDone;
649
            }
650
            if ($status == 0) {
651
                return $billNotDone;
652
            }
653
        }
654
        if ($mode == 2) {
655
            if ($status == 1) {
656
                return img_picto($billDone, 'statut4') . ' ' . $billDone;