mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
This commit is contained in:
parent
661f225fe7
commit
9667b8a948
@ -150,7 +150,6 @@ class RuleRepository implements RuleRepositoryInterface
|
|||||||
$params[] = sprintf('%s:true', OperatorQuerySearch::getRootOperator($trigger->trigger_type));
|
$params[] = sprintf('%s:true', OperatorQuerySearch::getRootOperator($trigger->trigger_type));
|
||||||
}
|
}
|
||||||
if (true === $needsContext) {
|
if (true === $needsContext) {
|
||||||
var_dump('x');
|
|
||||||
$params[] = sprintf('%s:"%s"', OperatorQuerySearch::getRootOperator($trigger->trigger_type), $trigger->trigger_value);
|
$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)));
|
app('log')->debug(sprintf('Destination amount "%s" is now "%s"', $dest->amount, app('steam')->negative($dest->amount)));
|
||||||
$source->amount = app('steam')->positive($source->amount);
|
$source->amount = app('steam')->positive($source->amount);
|
||||||
$dest->amount = app('steam')->negative($source->amount);
|
$dest->amount = app('steam')->negative($source->amount);
|
||||||
var_dump($source->foreign_amount);
|
|
||||||
if (null !== $source->foreign_amount && '' !== $source->foreign_amount) {
|
if (null !== $source->foreign_amount && '' !== $source->foreign_amount) {
|
||||||
$source->foreign_amount = app('steam')->positive($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)));
|
app('log')->debug(sprintf('Source foreign amount "%s" is now "%s"', $source->foreign_amount, app('steam')->positive($source->foreign_amount)));
|
||||||
|
Loading…
Reference in New Issue
Block a user