IntegerField::new('id')->onlyOnIndex()->setSortable(true), 'lastname' => TextField::new('user.lastname') ->setCustomOption('filter_fqcn', UserMerchantLastnameFilter::class), 'firstname' => TextField::new('user.firstname') ->setCustomOption('filter_fqcn', UserMerchantFirstnameFilter::class), 'email' => TextField::new('user.email') ->setCustomOption('filter_fqcn', UserMerchantEmailFilter::class), 'credit' => NumberField::new('credit')->setSortable(true) ->setTemplatePath('@LcSov/adminlte/crud/field/amount.html.twig') ->setCustomOption('appendHtml', '€'), 'user' => AssociationField::new('user'), ]; } }