Add ability to move stuff around, fix spelling.

This commit is contained in:
James Cole
2022-09-24 17:43:49 +02:00
parent 600fa388c1
commit a9f2741282
14 changed files with 344 additions and 53 deletions

View File

@@ -619,7 +619,7 @@ class OperatorQuerySearch implements SearchInterface
case 'amount_is':
// strip comma's, make dots.
Log::debug(sprintf('Original value "%s"', $value));
$value = str_replace(',', '.', (string) $value);
$value = str_replace(',', '.', (string) $value);
$amount = app('steam')->positive($value);
Log::debug(sprintf('Set "%s" using collector with value "%s"', $operator, $amount));
$this->collector->amountIs($amount);
@@ -866,6 +866,9 @@ class OperatorQuerySearch implements SearchInterface
case 'attachment_notes_ends':
$this->collector->attachmentNotesEnds($value);
break;
case 'exists':
$this->collector->exists();
break;
}