mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Code clean up.
This commit is contained in:
		| @@ -140,6 +140,7 @@ class ImportRoutine | ||||
|  | ||||
|         if ($this->journals->count() < 1) { | ||||
|             Log::info(sprintf('Will not create tag, %d journals imported.', $this->journals->count())); | ||||
|  | ||||
|             return new Tag; | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -277,10 +277,10 @@ trait ImportSupport | ||||
|                                        'transactions AS destination', | ||||
|                                        function (JoinClause $join) { | ||||
|                                            $join->on('transaction_journals.id', '=', 'destination.transaction_journal_id')->where( | ||||
|                                            'destination.amount', | ||||
|                                            '>', | ||||
|                                            0 | ||||
|                                        ); | ||||
|                                                'destination.amount', | ||||
|                                                '>', | ||||
|                                                0 | ||||
|                                            ); | ||||
|                                        } | ||||
|                                    ) | ||||
|                                    ->leftJoin('accounts as source_accounts', 'source.account_id', '=', 'source_accounts.id') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user