diff --git a/templates/wallet/transaction_detail.html b/templates/wallet/transaction_detail.html index 60381c2..9411c2c 100644 --- a/templates/wallet/transaction_detail.html +++ b/templates/wallet/transaction_detail.html @@ -12,11 +12,11 @@ {{ object.state }} {{ StateChoices.CREATED }} {% csrf_token %} - {% if object.state == StateChoices.CREATED %} + {% if object.state == StateChoices.CREATED and object.payer == request.user %}