mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-04 05:15:39 +00:00 
			
		
		
		
	This commit is contained in:
		@@ -150,7 +150,6 @@ class RuleRepository implements RuleRepositoryInterface
 | 
			
		||||
                $params[] = sprintf('%s:true', OperatorQuerySearch::getRootOperator($trigger->trigger_type));
 | 
			
		||||
            }
 | 
			
		||||
            if (true === $needsContext) {
 | 
			
		||||
                var_dump('x');
 | 
			
		||||
                $params[] = sprintf('%s:"%s"', OperatorQuerySearch::getRootOperator($trigger->trigger_type), $trigger->trigger_value);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -216,7 +216,6 @@ class CreditRecalculateService
 | 
			
		||||
            app('log')->debug(sprintf('Destination amount "%s" is now "%s"', $dest->amount, app('steam')->negative($dest->amount)));
 | 
			
		||||
            $source->amount = app('steam')->positive($source->amount);
 | 
			
		||||
            $dest->amount   = app('steam')->negative($source->amount);
 | 
			
		||||
            var_dump($source->foreign_amount);
 | 
			
		||||
            if (null !== $source->foreign_amount && '' !== $source->foreign_amount) {
 | 
			
		||||
                $source->foreign_amount = app('steam')->positive($source->foreign_amount);
 | 
			
		||||
                app('log')->debug(sprintf('Source foreign amount "%s" is now "%s"', $source->foreign_amount, app('steam')->positive($source->foreign_amount)));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user