I am using laravel Baum plugin to fetch nodes and using the following method.
$totalAccountsExpander = $transaction->accounts[$i]->getDescendantsAndSelf();
The above is i am using in my view.
Now $transaction->accounts[$i]
is having values which are required. When i am using the above code it gives me correct values and working fine.
Now i wanted to add a where condition in the above code in my view. Thanks for help in advance.