8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-13 22:26:14 +00:00
This commit is contained in:
Hugo LEVY-FALK 2018-07-13 13:29:07 +02:00
parent ef846415b4
commit 6af65b787a
2 changed files with 3 additions and 3 deletions

View file

@ -119,4 +119,4 @@ to the staff members so they can use every type of payment to buy anything.
Don't forget to run migrations, several settings previously in the `preferences` app ar now
in their own Payment models.
To have a closer look on how the payments works, pleas go to the wiki.
To have a closer look on how the payments works, please go to the wiki.

View file

@ -562,7 +562,7 @@ class Article(RevMixin, AclMixin, models.Model):
return (
self.available_for_everyone
or user.has_perm('cotisations.buy_every_article'),
_("You cannot use this Payment.")
_("You cannot buy this Article.")
)
@classmethod
@ -677,7 +677,7 @@ class Paiement(RevMixin, AclMixin, models.Model):
The general way of ending a payment.
:param invoice: The invoice being created.
:param request: Request sended by the user.
:param request: Request sent by the user.
:param use_payment_method: If `self` has an attribute `payment_method`,
returns the result of
`self.payment_method.end_payment(invoice, request)`