fix(ActionExpression): update list of valid variable names to reflect actual values

This commit is contained in:
Michael Thomas 2024-03-09 12:03:46 -05:00
parent d22f9c09d7
commit f19bfc3b4b

View File

@ -30,50 +30,55 @@ use Symfony\Component\ExpressionLanguage\SyntaxError;
class ActionExpression
{
private static array $NAMES = array(
"id",
"transaction_group_id",
"user_id",
"user_group_id",
"created_at",
"updated_at",
"deleted_at",
"user_id",
"transaction_group_title",
"group_created_at",
"group_updated_at",
"transaction_journal_id",
"transaction_type_id",
"transaction_group_id",
"bill_id",
"transaction_currency_id",
"description",
"date",
"interest_date",
"book_date",
"process_date",
"order",
"tag_count",
"transaction_type_type",
"encrypted",
"completed",
"attachments",
"attachments_count",
"bill",
"budgets",
"budgets_count",
"categories",
"categories_count",
"destJournalLinks",
"dest_journal_links_count",
"notes",
"notes_count",
"piggyBankEvents",
"piggy_bank_events_count",
"sourceJournalLinks",
"source_journal_links_count",
"source_transaction_id",
"source_account_id",
"reconciled",
"amount",
"currency_id",
"currency_code",
"currency_name",
"currency_symbol",
"currency_decimal_places",
"foreign_amount",
"foreign_currency_id",
"foreign_currency_code",
"foreign_currency_name",
"foreign_currency_symbol",
"foreign_currency_decimal_places",
"destination_account_id",
"source_account_name",
"source_account_iban",
"source_account_type",
"destination_account_name",
"destination_account_iban",
"destination_account_type",
"category_id",
"category_name",
"budget_id",
"budget_name",
"tags",
"tags_count",
"transactionCurrency",
"transactionGroup",
"transactionJournalMeta",
"transaction_journal_meta_count",
"transactionType",
"transactions",
"transactions_count",
"user",
"attachments",
"interest_date",
"payment_date",
"invoice_date",
"book_date",
"due_date",
"process_date",
"destination_transaction_id"
);
private ExpressionLanguage $expressionLanguage;