diff --git a/views/communities/transaction_edit.php b/views/communities/transaction_edit.php index bff0ee5..b146d87 100644 --- a/views/communities/transaction_edit.php +++ b/views/communities/transaction_edit.php @@ -39,13 +39,15 @@ getPayerUserId() === $member->getUser()->getId() ? 'selected' : '' ?>>= $member->getUser()->getDisplayName() ?> -
Payee
Payee(s)
Description
Sum
= $transaction->getEvent()->getTitle() ?>
= $transaction->getDescription() ?>
= $transaction->getPayerUser()->getDisplayName() ?> = $transaction->getPayeeUser() ? $transaction->getPayeeUser()->getDisplayName() : '[common]' ?>
+ = $transaction->getPayerUser()->getDisplayName() ?> + + + getPayees()) > 0) { + $found = false; + foreach ($transaction->getPayees() as $payee) { + if ($member->getUserId() === $payee->getUserId()) { + $found = true; + } + } + } else { + $found = true; + } + ?> + + = $member->getUser()->getDisplayName() ?> + + = $member->getUser()->getDisplayName() ?> + + +
= $transaction->getTimeDate()->format('Y-m-d H:i') ?>