From 447c972cf4f9f99c02434b96097d0e914d96056c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 26 Sep 2025 14:50:54 +0200 Subject: ✨ treatment search: add start and end date criteria MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/forms_treatments.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_finds/forms_treatments.py') 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( -- cgit v1.2.3