Card filters based on table filters

Hello everyone,

I was wondering if it was possible to pass table filters "down/up" to cards within a resource and use them there.
Tried looking at some possibilities but couldn't find a solution yet.

What I have now:
Card::make(
    __('Amount of', ['type' => __('credit', locale: 'nl')], 'nl'),
    Transaction::credit()->count()
),


I want to add some additional filters to the query when the table has been filtered on account_id = zzzzxxxxxccccc.
Was this page helpful?