mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Merge branch 'bugfix' into 'master'
No negative values for cash summary See merge request !51
This commit is contained in:
commit
b90d930594
@ -688,26 +688,26 @@ class CashRegisterSummaryForm(forms.Form):
|
||||
"""
|
||||
Provide the cash summary form
|
||||
"""
|
||||
ten_cents = forms.IntegerField(label=_("10 cents"), required=False)
|
||||
twenty_cents = forms.IntegerField(label=_("20 cents"), required=False)
|
||||
fifty_cents = forms.IntegerField(label=_("50 cents"), required=False)
|
||||
one_euro = forms.IntegerField(label=_("1 euro"), required=False)
|
||||
two_euros = forms.IntegerField(label=_("2 euros"), required=False)
|
||||
five_euros = forms.IntegerField(label=_("5 euros"), required=False)
|
||||
ten_euros = forms.IntegerField(label=_("10 euros"), required=False)
|
||||
twenty_euros = forms.IntegerField(label=_("20 euros"), required=False)
|
||||
fifty_euros = forms.IntegerField(label=_("50 euros"), required=False)
|
||||
hundred_euros = forms.IntegerField(label=_("100 euros"), required=False)
|
||||
check_1_value = forms.DecimalField(label=_("Check amount"), required=False)
|
||||
check_1_quantity = forms.IntegerField(label=_("Check quantity"), required=False)
|
||||
check_2_value = forms.DecimalField(label=_("Check amount"), required=False)
|
||||
check_2_quantity = forms.IntegerField(label=_("Check quantity"), required=False)
|
||||
check_3_value = forms.DecimalField(label=_("Check amount"), required=False)
|
||||
check_3_quantity = forms.IntegerField(label=_("Check quantity"), required=False)
|
||||
check_4_value = forms.DecimalField(label=_("Check amount"), required=False)
|
||||
check_4_quantity = forms.IntegerField(label=_("Check quantity"), required=False)
|
||||
check_5_value = forms.DecimalField(label=_("Check amount"), required=False)
|
||||
check_5_quantity = forms.IntegerField(label=_("Check quantity"), required=False)
|
||||
ten_cents = forms.IntegerField(label=_("10 cents"), required=False, min_value=0)
|
||||
twenty_cents = forms.IntegerField(label=_("20 cents"), required=False, min_value=0)
|
||||
fifty_cents = forms.IntegerField(label=_("50 cents"), required=False, min_value=0)
|
||||
one_euro = forms.IntegerField(label=_("1 euro"), required=False, min_value=0)
|
||||
two_euros = forms.IntegerField(label=_("2 euros"), required=False, min_value=0)
|
||||
five_euros = forms.IntegerField(label=_("5 euros"), required=False, min_value=0)
|
||||
ten_euros = forms.IntegerField(label=_("10 euros"), required=False, min_value=0)
|
||||
twenty_euros = forms.IntegerField(label=_("20 euros"), required=False, min_value=0)
|
||||
fifty_euros = forms.IntegerField(label=_("50 euros"), required=False, min_value=0)
|
||||
hundred_euros = forms.IntegerField(label=_("100 euros"), required=False, min_value=0)
|
||||
check_1_value = forms.DecimalField(label=_("Check amount"), required=False, min_value=0)
|
||||
check_1_quantity = forms.IntegerField(label=_("Check quantity"), required=False, min_value=0)
|
||||
check_2_value = forms.DecimalField(label=_("Check amount"), required=False, min_value=0)
|
||||
check_2_quantity = forms.IntegerField(label=_("Check quantity"), required=False, min_value=0)
|
||||
check_3_value = forms.DecimalField(label=_("Check amount"), required=False, min_value=0)
|
||||
check_3_quantity = forms.IntegerField(label=_("Check quantity"), required=False, min_value=0)
|
||||
check_4_value = forms.DecimalField(label=_("Check amount"), required=False, min_value=0)
|
||||
check_4_quantity = forms.IntegerField(label=_("Check quantity"), required=False, min_value=0)
|
||||
check_5_value = forms.DecimalField(label=_("Check amount"), required=False, min_value=0)
|
||||
check_5_quantity = forms.IntegerField(label=_("Check quantity"), required=False, min_value=0)
|
||||
comment = forms.CharField(label=_("Comment"), required=False)
|
||||
emptied = forms.BooleanField(label=_("Emptied"), required=False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user