|
|
@ -731,6 +731,7 @@ def charts(request, gid, uid): |
|
|
charts_data = StatElem.objects.chart(abon.ip_address) |
|
|
charts_data = StatElem.objects.chart(abon.ip_address) |
|
|
|
|
|
|
|
|
abontariff = abon.active_tariff() |
|
|
abontariff = abon.active_tariff() |
|
|
|
|
|
if abontariff is not None: |
|
|
high = abontariff.speedIn + abontariff.speedOut |
|
|
high = abontariff.speedIn + abontariff.speedOut |
|
|
if high > 100: |
|
|
if high > 100: |
|
|
high = 100 |
|
|
high = 100 |
|
|
|