Skip to content

Commit

Permalink
Merge pull request #317 from LUCILE-DECROZANT-TRIQUENAUX-EIRL/develop
Browse files Browse the repository at this point in the history
Merge #316
  • Loading branch information
Yann-BUTSCHER-EIRL authored Mar 30, 2023
2 parents cfd0008 + dcc53a8 commit 521457a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Controller/Ajax/PeopleAjaxController.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ public function getMembershipsListAction(People $people)
'type_label' => $membership->getType()->getLabel(),
'type_description' => $membership->getType()->getDescription(),
'price' => $membership->getType()->getDefaultAmount(),
'date_start' => $membership->getDateStart()->format('d/m/Y'),
'date_end' => $membership->getDateEnd()->format('d/m/Y'),
'date_start' => $membership->getDateStart()?->format('d/m/Y'),
'date_end' => $membership->getDateEnd()?->format('d/m/Y'),
'payment' => [
'amount' => $payment->getAmount(),
'mean' => $payment->getType()->getLabel(),
'date_received' => $payment->getDateReceived()->format('d/m/Y'),
'date_cashed' => $payment->getDateCashed()->format('d/m/Y'),
'date_received' => $payment->getDateReceived()?->format('d/m/Y'),
'date_cashed' => $payment->getDateCashed()?->format('d/m/Y'),
'payer' => [
'id' => $payment->getPayer()->getId(),
'denomination' => $payment->getPayer()->getDenomination()->getLabel(),
Expand Down

0 comments on commit 521457a

Please sign in to comment.