Commit c1820924 authored by Jack Stupple's avatar Jack Stupple
Browse files

match income outgoing with correct labels

parent e5b33018
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -82,8 +82,8 @@ class CharacterMigration extends Migration

            if ($_category == 'salary') {
                $income_outgoing = 'income';
            } else if (strpos($_category, 'other_') !== false) {
                if ($_category == 'other_in') {
            } else if (strpos($_category, 'Other') !== false) {
                if ($_category == 'Other-Income') {
                    $income_outgoing = 'income';
                } else {
                    $income_outgoing = 'outgoing';
@@ -214,8 +214,8 @@ class CharacterMigration extends Migration
                    $income_outgoing = 'outgoing';
                    if ($_modifier['category'] == 'salary') {
                        $income_outgoing = 'income';
                    } else if (strpos($_modifier['category'], 'other_') !== false) {
                        if ($_modifier['category'] == 'other_in') {
                    } else if (strpos($_modifier['category'], 'Other') !== false) {
                        if ($_modifier['category'] === 'Other-Income') {
                            $income_outgoing = 'income';
                        } else {
                            $income_outgoing = 'outgoing';