|
|
|
@ -116,6 +116,8 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
initialDate: formattedDate,
|
|
|
|
initialDate: formattedDate,
|
|
|
|
firstDate: DateTime(searchYear - 2),
|
|
|
|
firstDate: DateTime(searchYear - 2),
|
|
|
|
lastDate: DateTime.now(),
|
|
|
|
lastDate: DateTime.now(),
|
|
|
|
|
|
|
|
confirmText: Text(LocaleKeys.confirm.tr()),
|
|
|
|
|
|
|
|
cancelText: Text(LocaleKeys.cancel.tr()),
|
|
|
|
).then((selectedDate) {
|
|
|
|
).then((selectedDate) {
|
|
|
|
if (selectedDate != null) {
|
|
|
|
if (selectedDate != null) {
|
|
|
|
searchMonth = getMonth(selectedDate.month);
|
|
|
|
searchMonth = getMonth(selectedDate.month);
|
|
|
|
|