Commit 720161aa by Yvon Kerdoncuff

WIP : hardcode show username mail to see client is satisfied

parent c715bd64
...@@ -64,6 +64,7 @@ class FluxAdmin extends AbstractAdmin ...@@ -64,6 +64,7 @@ class FluxAdmin extends AbstractAdmin
$collection->clearExcept(['list', 'export']); $collection->clearExcept(['list', 'export']);
} }
//Where is this method used ?
protected function configureExportFields(): array protected function configureExportFields(): array
{ {
$ssaFriendlyTypeNames = $this->getConfigurationPool()->getContainer()->getParameter('tav_env') $ssaFriendlyTypeNames = $this->getConfigurationPool()->getContainer()->getParameter('tav_env')
...@@ -104,7 +105,7 @@ class FluxAdmin extends AbstractAdmin ...@@ -104,7 +105,7 @@ class FluxAdmin extends AbstractAdmin
->add('montant', 'decimal', ['label' => 'Montant', 'attributes' => ['fraction_digits' => 2]]) ->add('montant', 'decimal', ['label' => 'Montant', 'attributes' => ['fraction_digits' => 2]])
->add('expediteur', null, ['label' => 'Expediteur']) ->add('expediteur', null, ['label' => 'Expediteur'])
->add('destinataire', null, ['label' => 'Destinataire']) ->add('destinataire', null, ['label' => 'Destinataire'])
->add('operateur', null, ['label' => 'Operateur']) ->add('operateur.email', null, ['label' => 'Operateur'])
->addIdentifier('reference', null, ['label' => 'Reference']) ->addIdentifier('reference', null, ['label' => 'Reference'])
// @TODO : ajouter le verify uniquement si l'on souhaite (param url)=> sinon c'est beaucoup trop long... // @TODO : ajouter le verify uniquement si l'on souhaite (param url)=> sinon c'est beaucoup trop long...
// ->addIdentifier('verify', null, array('label' => 'Vérifié')) // ->addIdentifier('verify', null, array('label' => 'Vérifié'))
...@@ -245,7 +246,7 @@ class FluxAdmin extends AbstractAdmin ...@@ -245,7 +246,7 @@ class FluxAdmin extends AbstractAdmin
'Montant' => 'montant', 'Montant' => 'montant',
'Expediteur' => 'expediteur', 'Expediteur' => 'expediteur',
'Destinataire' => 'destinataire', 'Destinataire' => 'destinataire',
'Operateur' => 'operateur', 'Operateur' => 'operateur.email',
'Moyen' => 'moyen', 'Moyen' => 'moyen',
'Reference' => 'reference', 'Reference' => 'reference',
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment