finance email

remotes/origin/yandex_rebiling
Andrey 8 years ago
parent a4df17bf44
commit 4dc4a23040
  1. 2
      finance/views.py

@ -525,7 +525,7 @@ class DemoYandexAvisoView(APIView):
data[key] = val
now = timezone.now()
if data['orderSumAmount'] < 1001:
if float(data['orderSumAmount']) < 1001:
xml_res = """<checkOrderResponse performedDatetime="%s" code="0" invoiceId="%s" shopId="%s"/>
""" % (now.isoformat(), str(data['invoiceId']), str(data['shopId']))
else:

Loading…
Cancel
Save