summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-11 11:43:43 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-11 11:43:43 +0100
commitaaee64cb571a5efb34a0b37a591741aa90cb34de (patch)
treeb90b1997c7521e23827e133506ed51bf66bffb18 /archaeological_finds/models_treatments.py
parent7c4ecc3483bd1b6c608758bd4ca76c9648bb93a8 (diff)
downloadIshtar-aaee64cb571a5efb34a0b37a591741aa90cb34de.tar.bz2
Ishtar-aaee64cb571a5efb34a0b37a591741aa90cb34de.zip
Treatements: add cost fields
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index e5f338a48..5054d0da1 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -126,6 +126,14 @@ class Treatment(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
end_date = models.DateField(_(u"Closing date"), blank=True, null=True)
container = models.ForeignKey(Container, verbose_name=_(u"Container"),
blank=True, null=True)
+ estimated_cost = models.FloatField(_(u"Estimated cost"),
+ blank=True, null=True)
+ quoted_cost = models.FloatField(_(u"Quoted cost"),
+ blank=True, null=True)
+ realized_cost = models.FloatField(_(u"Realized cost"),
+ blank=True, null=True)
+ insurance_cost = models.FloatField(_(u"Insurance cost"),
+ blank=True, null=True)
target_is_basket = models.BooleanField(_(u"Target a basket"),
default=False)
cached_label = models.TextField(_(u"Cached name"), null=True, blank=True)