mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 11:59:23 +00:00
Test pay with sith
This commit is contained in:
@ -47,6 +47,10 @@ from counter.fields import CurrencyField
|
||||
from subscription.models import Subscription
|
||||
|
||||
|
||||
def get_eboutic() -> Counter:
|
||||
return Counter.objects.filter(type="EBOUTIC").order_by("id").first()
|
||||
|
||||
|
||||
class CustomerQuerySet(models.QuerySet):
|
||||
def update_amount(self) -> int:
|
||||
"""Update the amount of all customers selected by this queryset.
|
||||
|
Reference in New Issue
Block a user