# Path: payway/accounts/models.py
# MAX_MONEY_PLACES = 2
# 
# MAX_MONEY_DIGITS = 20


from django import forms
from django.forms.fields import ChoiceField
from django.forms.widgets import RadioSelect
from django.utils.translation import ugettext_lazy as _
from django_simptools.models import RandomUIDAbstractModel
from payway.accounts.models import MAX_MONEY_PLACES, MAX_MONEY_DIGITS
# -*- coding: UTF-8 -*-

__author__ = 'Razzhivin Alexander'
__email__ = 'admin@httpbots.com'

MIN_MONEY_VALUE = 1.0


PAYMENT_SYSTEM_CHOICES = (
    ('webmoney_add_money', 'Webmoney WMR'),
    ('qiwi_add_money', 'Qiwi RUB'),
)


class AddMoneyForm(forms.Form):
    money_amount = forms.DecimalField(
        label=_('money amount'),
        min_value=MIN_MONEY_VALUE,

# Path: payway/accounts/models.py
# MAX_MONEY_PLACES = 2
# 
# MAX_MONEY_DIGITS = 20


# Path: payway/accounts/forms/add_money.py
from django import forms
from django.forms.fields import ChoiceField
from django.forms.widgets import RadioSelect
from django.utils.translation import ugettext_lazy as _
from django_simptools.models import RandomUIDAbstractModel
from payway.accounts.models import MAX_MONEY_PLACES, MAX_MONEY_DIGITS

# -*- coding: UTF-8 -*-

__author__ = 'Razzhivin Alexander'
__email__ = 'admin@httpbots.com'

MIN_MONEY_VALUE = 1.0


PAYMENT_SYSTEM_CHOICES = (
    ('webmoney_add_money', 'Webmoney WMR'),
    ('qiwi_add_money', 'Qiwi RUB'),
)


class AddMoneyForm(forms.Form):
    money_amount = forms.DecimalField(
        label=_('money amount'),
        min_value=MIN_MONEY_VALUE,

        max_digits=MAX_MONEY_DIGITS,