From 288f1fc0301e815aa9d985f05cc5af70dcbc8795 Mon Sep 17 00:00:00 2001 From: Mahmoud Nasser Abdulhamed <55510819+MahmoudNasser01@users.noreply.github.com> Date: Mon, 17 Feb 2025 13:11:58 +0200 Subject: [PATCH] =?UTF-8?q?[UPDT]=20not=20allow=20employees=20from=20answe?= =?UTF-8?q?ring=20feedback=20if=20it=20does=20not=20sta=E2=80=A6=20(#491)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [UPDT] not allow employees from answering feedback if it does not started yet * [FIX] fix holiday edit form it raise error for missing company_id field --------- Co-authored-by: Mahmoud Nasser --- base/templates/holiday/holiday_update_form.html | 4 ++++ pms/views.py | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/base/templates/holiday/holiday_update_form.html b/base/templates/holiday/holiday_update_form.html index 38a589202..dd560d404 100644 --- a/base/templates/holiday/holiday_update_form.html +++ b/base/templates/holiday/holiday_update_form.html @@ -38,6 +38,10 @@
{{form.recurring}} {{form.recurring.errors}}
+ +
{{ form.company_id }} {{ form.company_id.errors }}
+ +