diff --git a/BillingApp/models.py b/BillingApp/models.py index c8f5842..aaa5737 100644 --- a/BillingApp/models.py +++ b/BillingApp/models.py @@ -25,7 +25,7 @@ class SubscribeOrder(BaseModel): ) sum = models.PositiveSmallIntegerField(verbose_name=_('Сумма'), default=0) - currency = models.CharField(verbose_name=_('Валюта'), max_length=3, default='USD') + currency = models.CharField(verbose_name=_('Валюта'), max_length=3, default='KZT') segment = models.CharField(verbose_name=_('ID Сегмента'), null=True, default=None) merchant_order_id = models.CharField(verbose_name=_('merchant_order_id'), null=True, default=None) bank_order_id = models.CharField(verbose_name=_('ID заказа в банке'), null=True, default=None) diff --git a/SubscribesApp/js_views.py b/SubscribesApp/js_views.py index 4906222..26466d2 100644 --- a/SubscribesApp/js_views.py +++ b/SubscribesApp/js_views.py @@ -61,7 +61,7 @@ def subscribe_now_ajax(request): kwargs_for_order = { 'user': request.user, 'subscribe': subscribe, - 'currency': 'USD', + 'currency': 'KZT', 'sum': subscribe.price, } diff --git a/robots.txt b/robots.txt index 3bdc234..4bf494c 100644 --- a/robots.txt +++ b/robots.txt @@ -1,6 +1,4 @@ User-agent: * -Allow: / -Disallow: */articles/* -Disallow: */admin/* +Disallow: / -Host: tripwb.com \ No newline at end of file +Host: dev.tripwb.com \ No newline at end of file diff --git a/templates/blocks/profile/b_subscribe_current.html b/templates/blocks/profile/b_subscribe_current.html index ff95d7c..9928ca3 100644 --- a/templates/blocks/profile/b_subscribe_current.html +++ b/templates/blocks/profile/b_subscribe_current.html @@ -75,7 +75,7 @@ {% translate "Стоимость:" %} {% if item.price %} - {{ item.price|floatformat }}$ + {{ item.price|floatformat }}₸ {% else %} {% translate "Бесплатно" %} {% endif %} diff --git a/templates/blocks/profile/b_subscribe_variants.html b/templates/blocks/profile/b_subscribe_variants.html index 4eb0be6..f981a6d 100644 --- a/templates/blocks/profile/b_subscribe_variants.html +++ b/templates/blocks/profile/b_subscribe_variants.html @@ -28,7 +28,7 @@
{% if subscribe.price %} - {{ subscribe.price|floatformat }}$ + {{ subscribe.price|floatformat }}₸ {% else %} {% translate "Бесплатно" %} {% endif %}