getUserModule(); $this->setTitle('Cagnotte'); ?>
Somme totale en cagnotte

Clients avec une cagnotte en négatif

$dataProviderUsersWithNegativeCredit, 'summary' => '', 'columns' => [ [ 'label' => 'Client', 'value' => function ($user) use ($userModule) { return $userModule->getUsernameFromArray($user, true); } ], [ 'label' => 'Email', 'format' => 'raw', 'headerOptions' => ['class' => 'column-hide-on-mobile'], 'filterOptions' => ['class' => 'column-hide-on-mobile'], 'contentOptions' => ['class' => 'column-hide-on-mobile'], 'value' => function ($user) { return $user['email']; } ], [ 'label' => 'Téléphone', 'format' => 'raw', 'headerOptions' => ['class' => 'column-hide-on-mobile'], 'filterOptions' => ['class' => 'column-hide-on-mobile'], 'contentOptions' => ['class' => 'column-hide-on-mobile'], 'value' => function ($user) { return $user['phone']; } ], [ 'label' => 'Cagnotte', 'format' => 'raw', 'value' => function ($user) { return Price::format($user['credit']); } ] ] ]); ?>