mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 20:03:11 +00:00
typos
This commit is contained in:
parent
ef846415b4
commit
6af65b787a
2 changed files with 3 additions and 3 deletions
|
@ -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
|
Don't forget to run migrations, several settings previously in the `preferences` app ar now
|
||||||
in their own Payment models.
|
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.
|
||||||
|
|
|
@ -562,7 +562,7 @@ class Article(RevMixin, AclMixin, models.Model):
|
||||||
return (
|
return (
|
||||||
self.available_for_everyone
|
self.available_for_everyone
|
||||||
or user.has_perm('cotisations.buy_every_article'),
|
or user.has_perm('cotisations.buy_every_article'),
|
||||||
_("You cannot use this Payment.")
|
_("You cannot buy this Article.")
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -677,7 +677,7 @@ class Paiement(RevMixin, AclMixin, models.Model):
|
||||||
The general way of ending a payment.
|
The general way of ending a payment.
|
||||||
|
|
||||||
:param invoice: The invoice being created.
|
: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`,
|
:param use_payment_method: If `self` has an attribute `payment_method`,
|
||||||
returns the result of
|
returns the result of
|
||||||
`self.payment_method.end_payment(invoice, request)`
|
`self.payment_method.end_payment(invoice, request)`
|
||||||
|
|
Loading…
Reference in a new issue