Skip to content

Commit

Permalink
Ref #215: save comments into payment
Browse files Browse the repository at this point in the history
  • Loading branch information
LucileDT committed Dec 13, 2020
1 parent 4aa9242 commit 633fa7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controller/MembershipController.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public function createAction(Request $request, TranslatorInterface $translator)
{
$payment->setBank(null);
}
$payment->setComment($updateMembershipFDO->getComment());

$payment->setPayer($updateMembershipFDO->getPayer());
$payment->setMembership($membership);
Expand Down Expand Up @@ -252,6 +253,7 @@ public function editAction(Membership $membership, Request $request, TranslatorI
{
$payment->setBank(null);
}
$payment->setComment($updateMembershipFDO->getComment());

$payment->setPayer($updateMembershipFDO->getPayer());

Expand Down

0 comments on commit 633fa7c

Please sign in to comment.