diff --git a/lib/controller/task_planing/report_task_controller.dart b/lib/controller/task_planing/report_task_controller.dart index 6c47545..c921caa 100644 --- a/lib/controller/task_planing/report_task_controller.dart +++ b/lib/controller/task_planing/report_task_controller.dart @@ -111,7 +111,7 @@ class ReportTaskController extends MyController { } final completedWorkInt = int.tryParse(completedWork); - if (completedWorkInt == null || completedWorkInt <= 0) { + if (completedWorkInt == null || completedWorkInt < 0) { showAppSnackbar( title: "Error", message: "Completed work must be a positive integer.",