Search in attachment file names and attachments notes.

This commit is contained in:
James Cole
2022-03-28 07:54:52 +02:00
parent 2be7813a67
commit e5a08d2cf1
10 changed files with 555 additions and 209 deletions

View File

@@ -357,140 +357,147 @@ return [
// new
'search_modifier_tag_is_not' => 'No tag is ":value"',
'search_modifier_account_is' => 'Either account is ":value"',
'search_modifier_account_contains' => 'Either account contains ":value"',
'search_modifier_account_ends' => 'Either account ends with ":value"',
'search_modifier_account_starts' => 'Either account starts with ":value"',
'search_modifier_account_nr_is' => 'Either account number / IBAN is ":value"',
'search_modifier_account_nr_contains' => 'Either account number / IBAN contains ":value"',
'search_modifier_account_nr_ends' => 'Either account number / IBAN ends with ":value"',
'search_modifier_account_nr_starts' => 'Either account number / IBAN starts with ":value"',
'search_modifier_category_contains' => 'Category contains ":value"',
'search_modifier_category_ends' => 'Category ends with ":value"',
'search_modifier_category_starts' => 'Category starts with ":value"',
'search_modifier_budget_contains' => 'Budget contains ":value"',
'search_modifier_budget_ends' => 'Budget ends with ":value"',
'search_modifier_budget_starts' => 'Budget starts with ":value"',
'search_modifier_bill_contains' => 'Bill contains ":value"',
'search_modifier_bill_ends' => 'Bill ends with ":value"',
'search_modifier_bill_starts' => 'Bill starts with ":value"',
'search_modifier_external_id_contains' => 'External ID contains ":value"',
'search_modifier_external_id_ends' => 'External ID ends with ":value"',
'search_modifier_external_id_starts' => 'External ID starts with ":value"',
'search_modifier_internal_reference_contains' => 'Internal reference contains ":value"',
'search_modifier_internal_reference_ends' => 'Internal reference ends with ":value"',
'search_modifier_internal_reference_starts' => 'Internal reference starts with ":value"',
'search_modifier_external_url_is' => 'External URL is ":value"',
'search_modifier_external_url_contains' => 'External URL contains ":value"',
'search_modifier_external_url_ends' => 'External URL ends with ":value"',
'search_modifier_external_url_starts' => 'External URL starts with ":value"',
'search_modifier_has_no_attachments' => 'Transaction has no attachments',
'search_modifier_account_is_cash' => 'Either account is a cash account.',
'search_modifier_journal_id' => 'The journal ID is ":value"',
'search_modifier_recurrence_id' => 'The recurring transaction ID is ":value"',
'search_modifier_foreign_amount_is' => 'The foreign amount is ":value"',
'search_modifier_foreign_amount_less' => 'The foreign amount is less than ":value"',
'search_modifier_foreign_amount_more' => 'The foreign amount is more than ":value"',
'search_modifier_account_is' => 'Either account is ":value"',
'search_modifier_account_contains' => 'Either account contains ":value"',
'search_modifier_account_ends' => 'Either account ends with ":value"',
'search_modifier_account_starts' => 'Either account starts with ":value"',
'search_modifier_account_nr_is' => 'Either account number / IBAN is ":value"',
'search_modifier_account_nr_contains' => 'Either account number / IBAN contains ":value"',
'search_modifier_account_nr_ends' => 'Either account number / IBAN ends with ":value"',
'search_modifier_account_nr_starts' => 'Either account number / IBAN starts with ":value"',
'search_modifier_category_contains' => 'Category contains ":value"',
'search_modifier_category_ends' => 'Category ends with ":value"',
'search_modifier_category_starts' => 'Category starts with ":value"',
'search_modifier_budget_contains' => 'Budget contains ":value"',
'search_modifier_budget_ends' => 'Budget ends with ":value"',
'search_modifier_budget_starts' => 'Budget starts with ":value"',
'search_modifier_bill_contains' => 'Bill contains ":value"',
'search_modifier_bill_ends' => 'Bill ends with ":value"',
'search_modifier_bill_starts' => 'Bill starts with ":value"',
'search_modifier_external_id_contains' => 'External ID contains ":value"',
'search_modifier_external_id_ends' => 'External ID ends with ":value"',
'search_modifier_external_id_starts' => 'External ID starts with ":value"',
'search_modifier_internal_reference_contains' => 'Internal reference contains ":value"',
'search_modifier_internal_reference_ends' => 'Internal reference ends with ":value"',
'search_modifier_internal_reference_starts' => 'Internal reference starts with ":value"',
'search_modifier_external_url_is' => 'External URL is ":value"',
'search_modifier_external_url_contains' => 'External URL contains ":value"',
'search_modifier_external_url_ends' => 'External URL ends with ":value"',
'search_modifier_external_url_starts' => 'External URL starts with ":value"',
'search_modifier_has_no_attachments' => 'Transaction has no attachments',
'search_modifier_account_is_cash' => 'Either account is a cash account.',
'search_modifier_journal_id' => 'The journal ID is ":value"',
'search_modifier_recurrence_id' => 'The recurring transaction ID is ":value"',
'search_modifier_foreign_amount_is' => 'The foreign amount is ":value"',
'search_modifier_foreign_amount_less' => 'The foreign amount is less than ":value"',
'search_modifier_foreign_amount_more' => 'The foreign amount is more than ":value"',
// date fields
'search_modifier_interest_date_on' => 'Transaction interest date is ":value"',
'search_modifier_interest_date_on_year' => 'Transaction interest date is in year ":value"',
'search_modifier_interest_date_on_month' => 'Transaction interest date is in month ":value"',
'search_modifier_interest_date_on_day' => 'Transaction interest date is on day of month ":value"',
'search_modifier_interest_date_before_year' => 'Transaction interest date is before or in year ":value"',
'search_modifier_interest_date_before_month' => 'Transaction interest date is before or in month ":value"',
'search_modifier_interest_date_before_day' => 'Transaction interest date is before or on day of month ":value"',
'search_modifier_interest_date_after_year' => 'Transaction interest date is after or in year ":value"',
'search_modifier_interest_date_after_month' => 'Transaction interest date is after or in month ":value"',
'search_modifier_interest_date_after_day' => 'Transaction interest date is after or on day of month ":value"',
'search_modifier_book_date_on_year' => 'Transaction book date is in year ":value"',
'search_modifier_book_date_on_month' => 'Transaction book date is in month ":value"',
'search_modifier_book_date_on_day' => 'Transaction book date is on day of month ":value"',
'search_modifier_book_date_before_year' => 'Transaction book date is before or in year ":value"',
'search_modifier_book_date_before_month' => 'Transaction book date is before or in month ":value"',
'search_modifier_book_date_before_day' => 'Transaction book date is before or on day of month ":value"',
'search_modifier_book_date_after_year' => 'Transaction book date is after or in year ":value"',
'search_modifier_book_date_after_month' => 'Transaction book date is after or in month ":value"',
'search_modifier_book_date_after_day' => 'Transaction book date is after or on day of month ":value"',
'search_modifier_process_date_on_year' => 'Transaction process date is in year ":value"',
'search_modifier_process_date_on_month' => 'Transaction process date is in month ":value"',
'search_modifier_process_date_on_day' => 'Transaction process date is on day of month ":value"',
'search_modifier_process_date_before_year' => 'Transaction process date is before or in year ":value"',
'search_modifier_process_date_before_month' => 'Transaction process date is before or in month ":value"',
'search_modifier_process_date_before_day' => 'Transaction process date is before or on day of month ":value"',
'search_modifier_process_date_after_year' => 'Transaction process date is after or in year ":value"',
'search_modifier_process_date_after_month' => 'Transaction process date is after or in month ":value"',
'search_modifier_process_date_after_day' => 'Transaction process date is after or on day of month ":value"',
'search_modifier_due_date_on_year' => 'Transaction due date is in year ":value"',
'search_modifier_due_date_on_month' => 'Transaction due date is in month ":value"',
'search_modifier_due_date_on_day' => 'Transaction due date is on day of month ":value"',
'search_modifier_due_date_before_year' => 'Transaction due date is before or in year ":value"',
'search_modifier_due_date_before_month' => 'Transaction due date is before or in month ":value"',
'search_modifier_due_date_before_day' => 'Transaction due date is before or on day of month ":value"',
'search_modifier_due_date_after_year' => 'Transaction due date is after or in year ":value"',
'search_modifier_due_date_after_month' => 'Transaction due date is after or in month ":value"',
'search_modifier_due_date_after_day' => 'Transaction due date is after or on day of month ":value"',
'search_modifier_payment_date_on_year' => 'Transaction payment date is in year ":value"',
'search_modifier_payment_date_on_month' => 'Transaction payment date is in month ":value"',
'search_modifier_payment_date_on_day' => 'Transaction payment date is on day of month ":value"',
'search_modifier_payment_date_before_year' => 'Transaction payment date is before or in year ":value"',
'search_modifier_payment_date_before_month' => 'Transaction payment date is before or in month ":value"',
'search_modifier_payment_date_before_day' => 'Transaction payment date is before or on day of month ":value"',
'search_modifier_payment_date_after_year' => 'Transaction payment date is after or in year ":value"',
'search_modifier_payment_date_after_month' => 'Transaction payment date is after or in month ":value"',
'search_modifier_payment_date_after_day' => 'Transaction payment date is after or on day of month ":value"',
'search_modifier_invoice_date_on_year' => 'Transaction invoice date is in year ":value"',
'search_modifier_invoice_date_on_month' => 'Transaction invoice date is in month ":value"',
'search_modifier_invoice_date_on_day' => 'Transaction invoice date is on day of month ":value"',
'search_modifier_invoice_date_before_year' => 'Transaction invoice date is before or in year ":value"',
'search_modifier_invoice_date_before_month' => 'Transaction invoice date is before or in month ":value"',
'search_modifier_invoice_date_before_day' => 'Transaction invoice date is before or on day of month ":value"',
'search_modifier_invoice_date_after_year' => 'Transaction invoice date is after or in year ":value"',
'search_modifier_invoice_date_after_month' => 'Transaction invoice date is after or in month ":value"',
'search_modifier_invoice_date_after_day' => 'Transaction invoice date is after or on day of month ":value"',
'search_modifier_interest_date_on' => 'Transaction interest date is ":value"',
'search_modifier_interest_date_on_year' => 'Transaction interest date is in year ":value"',
'search_modifier_interest_date_on_month' => 'Transaction interest date is in month ":value"',
'search_modifier_interest_date_on_day' => 'Transaction interest date is on day of month ":value"',
'search_modifier_interest_date_before_year' => 'Transaction interest date is before or in year ":value"',
'search_modifier_interest_date_before_month' => 'Transaction interest date is before or in month ":value"',
'search_modifier_interest_date_before_day' => 'Transaction interest date is before or on day of month ":value"',
'search_modifier_interest_date_after_year' => 'Transaction interest date is after or in year ":value"',
'search_modifier_interest_date_after_month' => 'Transaction interest date is after or in month ":value"',
'search_modifier_interest_date_after_day' => 'Transaction interest date is after or on day of month ":value"',
'search_modifier_book_date_on_year' => 'Transaction book date is in year ":value"',
'search_modifier_book_date_on_month' => 'Transaction book date is in month ":value"',
'search_modifier_book_date_on_day' => 'Transaction book date is on day of month ":value"',
'search_modifier_book_date_before_year' => 'Transaction book date is before or in year ":value"',
'search_modifier_book_date_before_month' => 'Transaction book date is before or in month ":value"',
'search_modifier_book_date_before_day' => 'Transaction book date is before or on day of month ":value"',
'search_modifier_book_date_after_year' => 'Transaction book date is after or in year ":value"',
'search_modifier_book_date_after_month' => 'Transaction book date is after or in month ":value"',
'search_modifier_book_date_after_day' => 'Transaction book date is after or on day of month ":value"',
'search_modifier_process_date_on_year' => 'Transaction process date is in year ":value"',
'search_modifier_process_date_on_month' => 'Transaction process date is in month ":value"',
'search_modifier_process_date_on_day' => 'Transaction process date is on day of month ":value"',
'search_modifier_process_date_before_year' => 'Transaction process date is before or in year ":value"',
'search_modifier_process_date_before_month' => 'Transaction process date is before or in month ":value"',
'search_modifier_process_date_before_day' => 'Transaction process date is before or on day of month ":value"',
'search_modifier_process_date_after_year' => 'Transaction process date is after or in year ":value"',
'search_modifier_process_date_after_month' => 'Transaction process date is after or in month ":value"',
'search_modifier_process_date_after_day' => 'Transaction process date is after or on day of month ":value"',
'search_modifier_due_date_on_year' => 'Transaction due date is in year ":value"',
'search_modifier_due_date_on_month' => 'Transaction due date is in month ":value"',
'search_modifier_due_date_on_day' => 'Transaction due date is on day of month ":value"',
'search_modifier_due_date_before_year' => 'Transaction due date is before or in year ":value"',
'search_modifier_due_date_before_month' => 'Transaction due date is before or in month ":value"',
'search_modifier_due_date_before_day' => 'Transaction due date is before or on day of month ":value"',
'search_modifier_due_date_after_year' => 'Transaction due date is after or in year ":value"',
'search_modifier_due_date_after_month' => 'Transaction due date is after or in month ":value"',
'search_modifier_due_date_after_day' => 'Transaction due date is after or on day of month ":value"',
'search_modifier_payment_date_on_year' => 'Transaction payment date is in year ":value"',
'search_modifier_payment_date_on_month' => 'Transaction payment date is in month ":value"',
'search_modifier_payment_date_on_day' => 'Transaction payment date is on day of month ":value"',
'search_modifier_payment_date_before_year' => 'Transaction payment date is before or in year ":value"',
'search_modifier_payment_date_before_month' => 'Transaction payment date is before or in month ":value"',
'search_modifier_payment_date_before_day' => 'Transaction payment date is before or on day of month ":value"',
'search_modifier_payment_date_after_year' => 'Transaction payment date is after or in year ":value"',
'search_modifier_payment_date_after_month' => 'Transaction payment date is after or in month ":value"',
'search_modifier_payment_date_after_day' => 'Transaction payment date is after or on day of month ":value"',
'search_modifier_invoice_date_on_year' => 'Transaction invoice date is in year ":value"',
'search_modifier_invoice_date_on_month' => 'Transaction invoice date is in month ":value"',
'search_modifier_invoice_date_on_day' => 'Transaction invoice date is on day of month ":value"',
'search_modifier_invoice_date_before_year' => 'Transaction invoice date is before or in year ":value"',
'search_modifier_invoice_date_before_month' => 'Transaction invoice date is before or in month ":value"',
'search_modifier_invoice_date_before_day' => 'Transaction invoice date is before or on day of month ":value"',
'search_modifier_invoice_date_after_year' => 'Transaction invoice date is after or in year ":value"',
'search_modifier_invoice_date_after_month' => 'Transaction invoice date is after or in month ":value"',
'search_modifier_invoice_date_after_day' => 'Transaction invoice date is after or on day of month ":value"',
// other dates
'search_modifier_updated_at_on_year' => 'Transaction was last updated in year ":value"',
'search_modifier_updated_at_on_month' => 'Transaction was last updated in month ":value"',
'search_modifier_updated_at_on_day' => 'Transaction was last updated on day of month ":value"',
'search_modifier_updated_at_before_year' => 'Transaction was last updated in or before year ":value"',
'search_modifier_updated_at_before_month' => 'Transaction was last updated in or before month ":value"',
'search_modifier_updated_at_before_day' => 'Transaction was last updated on or before day of month ":value"',
'search_modifier_updated_at_after_year' => 'Transaction was last updated in or after year ":value"',
'search_modifier_updated_at_after_month' => 'Transaction was last updated in or after month ":value"',
'search_modifier_updated_at_after_day' => 'Transaction was last updated on or after day of month ":value"',
'search_modifier_created_at_on_year' => 'Transaction was created in year ":value"',
'search_modifier_created_at_on_month' => 'Transaction was created in month ":value"',
'search_modifier_created_at_on_day' => 'Transaction was created on day of month ":value"',
'search_modifier_created_at_before_year' => 'Transaction was created in or before year ":value"',
'search_modifier_created_at_before_month' => 'Transaction was created in or before month ":value"',
'search_modifier_created_at_before_day' => 'Transaction was created on or before day of month ":value"',
'search_modifier_created_at_after_year' => 'Transaction was created in or after year ":value"',
'search_modifier_created_at_after_month' => 'Transaction was created in or after month ":value"',
'search_modifier_created_at_after_day' => 'Transaction was created on or after day of month ":value"',
'search_modifier_interest_date_before' => 'Transaction interest date is on or before ":value"',
'search_modifier_interest_date_after' => 'Transaction interest date is on or after ":value"',
'search_modifier_book_date_on' => 'Transaction book date is on ":value"',
'search_modifier_book_date_before' => 'Transaction book date is on or before ":value"',
'search_modifier_book_date_after' => 'Transaction book date is on or after ":value"',
'search_modifier_process_date_on' => 'Transaction process date is on ":value"',
'search_modifier_process_date_before' => 'Transaction process date is on or before ":value"',
'search_modifier_process_date_after' => 'Transaction process date is on or after ":value"',
'search_modifier_due_date_on' => 'Transaction due date is on ":value"',
'search_modifier_due_date_before' => 'Transaction due date is on or before ":value"',
'search_modifier_due_date_after' => 'Transaction due date is on or after ":value"',
'search_modifier_payment_date_on' => 'Transaction payment date is on ":value"',
'search_modifier_payment_date_before' => 'Transaction payment date is on or before ":value"',
'search_modifier_payment_date_after' => 'Transaction payment date is on or after ":value"',
'search_modifier_invoice_date_on' => 'Transaction invoice date is on ":value"',
'search_modifier_invoice_date_before' => 'Transaction invoice date is on or before ":value"',
'search_modifier_invoice_date_after' => 'Transaction invoice date is on or after ":value"',
'search_modifier_created_at_on' => 'Transaction was created on ":value"',
'search_modifier_created_at_before' => 'Transaction was created on or before ":value"',
'search_modifier_created_at_after' => 'Transaction was created on or after ":value"',
'search_modifier_updated_at_on' => 'Transaction was updated on ":value"',
'search_modifier_updated_at_before' => 'Transaction was updated on or before ":value"',
'search_modifier_updated_at_after' => 'Transaction was updated on or after ":value"',
'search_modifier_updated_at_on_year' => 'Transaction was last updated in year ":value"',
'search_modifier_updated_at_on_month' => 'Transaction was last updated in month ":value"',
'search_modifier_updated_at_on_day' => 'Transaction was last updated on day of month ":value"',
'search_modifier_updated_at_before_year' => 'Transaction was last updated in or before year ":value"',
'search_modifier_updated_at_before_month' => 'Transaction was last updated in or before month ":value"',
'search_modifier_updated_at_before_day' => 'Transaction was last updated on or before day of month ":value"',
'search_modifier_updated_at_after_year' => 'Transaction was last updated in or after year ":value"',
'search_modifier_updated_at_after_month' => 'Transaction was last updated in or after month ":value"',
'search_modifier_updated_at_after_day' => 'Transaction was last updated on or after day of month ":value"',
'search_modifier_created_at_on_year' => 'Transaction was created in year ":value"',
'search_modifier_created_at_on_month' => 'Transaction was created in month ":value"',
'search_modifier_created_at_on_day' => 'Transaction was created on day of month ":value"',
'search_modifier_created_at_before_year' => 'Transaction was created in or before year ":value"',
'search_modifier_created_at_before_month' => 'Transaction was created in or before month ":value"',
'search_modifier_created_at_before_day' => 'Transaction was created on or before day of month ":value"',
'search_modifier_created_at_after_year' => 'Transaction was created in or after year ":value"',
'search_modifier_created_at_after_month' => 'Transaction was created in or after month ":value"',
'search_modifier_created_at_after_day' => 'Transaction was created on or after day of month ":value"',
'search_modifier_interest_date_before' => 'Transaction interest date is on or before ":value"',
'search_modifier_interest_date_after' => 'Transaction interest date is on or after ":value"',
'search_modifier_book_date_on' => 'Transaction book date is on ":value"',
'search_modifier_book_date_before' => 'Transaction book date is on or before ":value"',
'search_modifier_book_date_after' => 'Transaction book date is on or after ":value"',
'search_modifier_process_date_on' => 'Transaction process date is on ":value"',
'search_modifier_process_date_before' => 'Transaction process date is on or before ":value"',
'search_modifier_process_date_after' => 'Transaction process date is on or after ":value"',
'search_modifier_due_date_on' => 'Transaction due date is on ":value"',
'search_modifier_due_date_before' => 'Transaction due date is on or before ":value"',
'search_modifier_due_date_after' => 'Transaction due date is on or after ":value"',
'search_modifier_payment_date_on' => 'Transaction payment date is on ":value"',
'search_modifier_payment_date_before' => 'Transaction payment date is on or before ":value"',
'search_modifier_payment_date_after' => 'Transaction payment date is on or after ":value"',
'search_modifier_invoice_date_on' => 'Transaction invoice date is on ":value"',
'search_modifier_invoice_date_before' => 'Transaction invoice date is on or before ":value"',
'search_modifier_invoice_date_after' => 'Transaction invoice date is on or after ":value"',
'search_modifier_created_at_on' => 'Transaction was created on ":value"',
'search_modifier_created_at_before' => 'Transaction was created on or before ":value"',
'search_modifier_created_at_after' => 'Transaction was created on or after ":value"',
'search_modifier_updated_at_on' => 'Transaction was updated on ":value"',
'search_modifier_updated_at_before' => 'Transaction was updated on or before ":value"',
'search_modifier_updated_at_after' => 'Transaction was updated on or after ":value"',
'search_modifier_attachment_name_is' => 'Any attachment\'s name is ":value"',
'search_modifier_attachment_name_contains' => 'Any attachment\'s name contains ":value"',
'search_modifier_attachment_name_starts' => 'Any attachment\'s name starts with ":value"',
'search_modifier_attachment_name_ends' => 'Any attachment\'s name ends with ":value"',
'search_modifier_attachment_notes_are' => 'Any attachment\'s notes are ":value"',
'search_modifier_attachment_notes_contains' => 'Any attachment\'s notes contain ":value"',
'search_modifier_attachment_notes_starts' => 'Any attachment\'s notes start with ":value"',
'search_modifier_attachment_notes_ends' => 'Any attachment\'s notes end is ":value"',
'update_rule_from_query' => 'Update rule ":rule" from search query',
'create_rule_from_query' => 'Create new rule from search query',
'rule_from_search_words' => 'The rule engine has a hard time handling ":string". The suggested rule that fits your search query may give different results. Please verify the rule triggers carefully.',
@@ -826,7 +833,22 @@ return [
'rule_trigger_foreign_amount_less' => 'Foreign amount is less than ":trigger_value"',
'rule_trigger_foreign_amount_more_choice' => 'Foreign amount is more than..',
'rule_trigger_foreign_amount_more' => 'Foreign amount is more than ":trigger_value"',
'rule_trigger_attachment_name_is_choice' => 'Any attachment\'s name is..',
'rule_trigger_attachment_name_is' => 'Any attachment\'s name is ":trigger_value"',
'rule_trigger_attachment_name_contains_choice' => 'Any attachment\'s name contains..',
'rule_trigger_attachment_name_contains' => 'Any attachment\'s name contains ":trigger_value"',
'rule_trigger_attachment_name_starts_choice' => 'Any attachment\'s name starts with..',
'rule_trigger_attachment_name_starts' => 'Any attachment\'s name starts with ":trigger_value"',
'rule_trigger_attachment_name_ends_choice' => 'Any attachment\'s name ends with..',
'rule_trigger_attachment_name_ends' => 'Any attachment\'s name ends with ":trigger_value"',
'rule_trigger_attachment_notes_are_choice' => 'Any attachment\'s notes are..',
'rule_trigger_attachment_notes_are' => 'Any attachment\'s notes are ":trigger_value"',
'rule_trigger_attachment_notes_contains_choice' => 'Any attachment\'s notes contain..',
'rule_trigger_attachment_notes_contains' => 'Any attachment\'s notes contain ":trigger_value"',
'rule_trigger_attachment_notes_starts_choice' => 'Any attachment\'s notes start with..',
'rule_trigger_attachment_notes_starts' => 'Any attachment\'s notes start with ":trigger_value"',
'rule_trigger_attachment_notes_ends_choice' => 'Any attachment\'s notes end with..',
'rule_trigger_attachment_notes_ends' => 'Any attachment\'s notes end with ":trigger_value"',
// actions
'rule_action_delete_transaction_choice' => 'DELETE transaction (!)',
@@ -1668,7 +1690,6 @@ return [
'overview' => 'Overview',
'saveOnAccount' => 'Save on account',
'unknown' => 'Unknown',
'daily' => 'Daily',
'monthly' => 'Monthly',
'profile' => 'Profile',
'errors' => 'Errors',