From a678fb467d8c5665620ece314f42781fb5d042ee Mon Sep 17 00:00:00 2001 From: sysadminix Date: Tue, 9 Jul 2024 21:25:20 +0300 Subject: [PATCH 1/4] 1.0.22 robots.txt modify --- robots.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 From 9df1bf27434cb5dedc5da5d0aa1ad98caf583ac8 Mon Sep 17 00:00:00 2001 From: SDE Date: Wed, 10 Jul 2024 16:20:48 +0300 Subject: [PATCH 2/4] 1.5.2 change currency pay --- BillingApp/models.py | 2 +- SubscribesApp/js_views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, } From 6254b1dcda1d0c8b8ffd8080abd6cc6a4311fcea Mon Sep 17 00:00:00 2001 From: sysadminix Date: Wed, 10 Jul 2024 16:21:35 +0300 Subject: [PATCH 3/4] 1.0.23 add tenge currency --- templates/blocks/profile/b_subscribe_variants.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} From 807edecbf431d0b06121582518e3c6293c7a3a3c Mon Sep 17 00:00:00 2001 From: sysadminix Date: Wed, 10 Jul 2024 16:34:37 +0300 Subject: [PATCH 4/4] 1.0.23 add tenge currency --- templates/blocks/profile/b_subscribe_current.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}