mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
fix typos
This commit is contained in:
parent
6200eaa48d
commit
03ce000e9a
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ class Bill(db.Model):
|
|||
processed = db.Column(db.Boolean, default=False)
|
||||
|
||||
def pay_each(self):
|
||||
"""Compute what each person have to pay"""
|
||||
"""Compute what each person has to pay"""
|
||||
return round(self.amount / len(self.owers), 2)
|
||||
|
||||
def __repr__(self):
|
||||
|
@ -58,7 +58,7 @@ class BillForm(Form):
|
|||
what = TextField("What?", validators=[Required()])
|
||||
payer = SelectField("Payer", validators=[Required()], choices=PAYER_CHOICES)
|
||||
amount = DecimalField("Amount payed", validators=[Required()])
|
||||
payed_for = SelectMultipleField("Who have to pay for this?", validators=[Required()], choices=PAYER_CHOICES)
|
||||
payed_for = SelectMultipleField("Who has to pay for this?", validators=[Required()], choices=PAYER_CHOICES)
|
||||
submit = SubmitField("Add the bill")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue