diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-11 01:10:04 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-11 01:10:04 +0200 |
commit | 796c511682b93c2837b070e3aa70074b69d5236d (patch) | |
tree | 145475040c074ea34d8e390e565f221236511d38 /archaeological_files/models.py | |
parent | b1eff6301b875066685ff81bb7683d44e5b1eea9 (diff) | |
download | Ishtar-796c511682b93c2837b070e3aa70074b69d5236d.tar.bz2 Ishtar-796c511682b93c2837b070e3aa70074b69d5236d.zip |
Preventive file: add missing fields
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r-- | archaeological_files/models.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 92cadf2c1..cc1ca7c2a 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -586,7 +586,8 @@ class File( null=True, on_delete=models.SET_NULL, ) - permit_reference = models.TextField(_("Permit reference"), blank=True, default="") + permit_reference = models.TextField(_("Permit/order reference"), + blank=True, default="") end_date = models.DateField(_("Closing date"), null=True, blank=True) main_town = models.ForeignKey( Town, @@ -684,6 +685,9 @@ class File( PriceAgreement, verbose_name=_("Price agreement"), blank=True, null=True, on_delete=models.SET_NULL ) + intervention_period = models.CharField( + _("Intervention period"), max_length=200, default="", blank=True + ) study_period = models.CharField( _("Study period"), max_length=200, default="", blank=True ) @@ -694,6 +698,9 @@ class File( execution_report_date = models.DateField( _("Execution report date"), blank=True, null=True ) + report_due_date = models.DateField( + _("Report due by"), blank=True, null=True + ) linear_meter = models.IntegerField(_("Linear meter"), blank=True, null=True) type_of_agreement = models.ForeignKey( AgreementType, blank=True, null=True, |