User should be able to fil the current month's timesheet only rest days should be readonly.

VIKAS MISHRA
Tera Contributor

As per requirement user should be able to fill the current month's days only rest days fields should be read only.

we have a field "weeks start on" there user has to select the first date of week.

If current date is 31/mar/2025 and weeks starts with 31 mar only , then user should be able to fill the field "monday" only rest all other days should be read only.

and if current date is 01/apri/2025 and field  week starts on 31 mar, in this case user should be able to fill all the days except Monday as Monday is from previous month hence monday should be read only. 

Please suggest how to achieve the same.

VIKASMISHRA_0-1744114513404.jpeg

 

5 REPLIES 5

Outcome, 30/03/2025 sunday and monday are editable

 

KieranAnson_0-1744118576788.png

Following Week

KieranAnson_1-1744118592785.png

 

End of April

KieranAnson_2-1744118613874.png