Commit 484c7f4f authored by Michal Čihař's avatar Michal Čihař

Use mBTC as default unit, allow float as payment amount

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 45bbadd9
......@@ -148,11 +148,11 @@ class Invoice(models.Model):
billing = models.ForeignKey(Billing)
start = models.DateField()
end = models.DateField()
payment = models.IntegerField()
payment = models.FloatField()
currency = models.IntegerField(
choices=(
(CURRENCY_EUR, 'EUR'),
(CURRENCY_BTC, 'BTC'),
(CURRENCY_BTC, 'mBTC'),
),
default=CURRENCY_BTC
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment