diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-09-26 14:50:54 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-09-29 17:53:56 +0200 |
commit | 447c972cf4f9f99c02434b96097d0e914d96056c (patch) | |
tree | b2766839a2fff173d4a7e94ece618bb798ccd100 /archaeological_finds/forms_treatments.py | |
parent | 2828a7ff52a5772b430e2c5af5603a1be15ece0b (diff) | |
download | Ishtar-447c972cf4f9f99c02434b96097d0e914d96056c.tar.bz2 Ishtar-447c972cf4f9f99c02434b96097d0e914d96056c.zip |
✨ treatment search: add start and end date criteria
Diffstat (limited to 'archaeological_finds/forms_treatments.py')
-rw-r--r-- | archaeological_finds/forms_treatments.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py index a15571a06..8122f75ad 100644 --- a/archaeological_finds/forms_treatments.py +++ b/archaeological_finds/forms_treatments.py @@ -70,6 +70,8 @@ class TreatmentSelect(DocumentItemSelect): label=_("Reference"), max_length=200, required=False) treatment_status = forms.ChoiceField(label=_("Status"), choices=[]) input_status = forms.ChoiceField(label=_("Input status"), choices=[]) + start_date = DateField(label=_("Start date")) + end_date = DateField(label=_("End date")) location = forms.IntegerField( label=_("Location"), widget=widgets.JQueryAutoComplete( |