diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 9ad04a4..b9708ad 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_messaging","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging-16.0.4/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"flutter_secure_storage","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage-9.2.4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/venba/.pub-cache/hosted/pub.dev/fluttertoast-9.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"google_sign_in_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_ios-6.2.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_ios-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"syncfusion_flutter_pdfviewer","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-31.1.19/","native_build":true,"dependencies":["device_info_plus"],"dev_dependency":false},{"name":"url_launcher_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.4/","native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_messaging","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging-16.0.4/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"flutter_plugin_android_lifecycle","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.31/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_secure_storage","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage-9.2.4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/venba/.pub-cache/hosted/pub.dev/fluttertoast-9.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"google_sign_in_android","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_android-7.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_android","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_android-1.0.52/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"open_file_android","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_android-1.0.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_android-2.2.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.13/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"syncfusion_flutter_pdfviewer","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-31.1.19/","native_build":true,"dependencies":["device_info_plus"],"dev_dependency":false},{"name":"url_launcher_android","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.20/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_messaging","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging-16.0.4/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"flutter_secure_storage_macos","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_macos-3.1.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"google_sign_in_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_ios-6.2.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_mac","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_mac-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"syncfusion_pdfviewer_macos","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_macos-31.1.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_macos","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.3/","native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"flutter_secure_storage_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_linux-1.2.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_linux-0.0.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"path_provider_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false},{"name":"syncfusion_pdfviewer_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_linux-31.1.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.2/","native_build":true,"dependencies":[],"dev_dependency":false}],"windows":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_secure_storage_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_windows-3.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_windows-1.0.11/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_windows-0.0.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"path_provider_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false},{"name":"syncfusion_pdfviewer_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_windows-31.1.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.5/","native_build":true,"dependencies":[],"dev_dependency":false}],"web":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","dependencies":[],"dev_dependency":false},{"name":"firebase_auth_web","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth_web-6.1.0/","dependencies":["firebase_core_web"],"dev_dependency":false},{"name":"firebase_core_web","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core_web-3.3.0/","dependencies":[],"dev_dependency":false},{"name":"firebase_messaging_web","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging_web-4.1.0/","dependencies":["firebase_core_web"],"dev_dependency":false},{"name":"flutter_secure_storage_web","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_web-1.2.1/","dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/venba/.pub-cache/hosted/pub.dev/fluttertoast-9.0.0/","dependencies":[],"dev_dependency":false},{"name":"google_sign_in_web","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_web-1.1.0/","dependencies":[],"dev_dependency":false},{"name":"open_file_web","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_web-0.0.4/","dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","dependencies":[],"dev_dependency":false},{"name":"shared_preferences_web","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3/","dependencies":[],"dev_dependency":false},{"name":"syncfusion_pdfviewer_web","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-31.1.19/","dependencies":[],"dev_dependency":false},{"name":"url_launcher_web","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_web-2.4.1/","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":[]},{"name":"device_info_plus","dependencies":[]},{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_messaging","dependencies":["firebase_core","firebase_messaging_web"]},{"name":"firebase_messaging_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_secure_storage","dependencies":["flutter_secure_storage_linux","flutter_secure_storage_macos","flutter_secure_storage_web","flutter_secure_storage_windows"]},{"name":"flutter_secure_storage_linux","dependencies":[]},{"name":"flutter_secure_storage_macos","dependencies":[]},{"name":"flutter_secure_storage_web","dependencies":[]},{"name":"flutter_secure_storage_windows","dependencies":["path_provider"]},{"name":"fluttertoast","dependencies":[]},{"name":"google_sign_in","dependencies":["google_sign_in_android","google_sign_in_ios","google_sign_in_web"]},{"name":"google_sign_in_android","dependencies":[]},{"name":"google_sign_in_ios","dependencies":[]},{"name":"google_sign_in_web","dependencies":[]},{"name":"local_auth","dependencies":["local_auth_android","local_auth_darwin","local_auth_windows"]},{"name":"local_auth_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"local_auth_darwin","dependencies":[]},{"name":"local_auth_windows","dependencies":[]},{"name":"open_file","dependencies":["open_file_android","open_file_web","open_file_ios","open_file_mac","open_file_windows","open_file_linux"]},{"name":"open_file_android","dependencies":[]},{"name":"open_file_ios","dependencies":[]},{"name":"open_file_linux","dependencies":[]},{"name":"open_file_mac","dependencies":[]},{"name":"open_file_web","dependencies":[]},{"name":"open_file_windows","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"pdf_render","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"syncfusion_flutter_pdfviewer","dependencies":["url_launcher","device_info_plus","syncfusion_pdfviewer_web","syncfusion_pdfviewer_macos","syncfusion_pdfviewer_windows","syncfusion_pdfviewer_linux"]},{"name":"syncfusion_pdfviewer_linux","dependencies":[]},{"name":"syncfusion_pdfviewer_macos","dependencies":[]},{"name":"syncfusion_pdfviewer_web","dependencies":[]},{"name":"syncfusion_pdfviewer_windows","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2026-02-03 17:07:24.283936","version":"3.32.1","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_messaging","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging-16.0.4/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"flutter_secure_storage","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage-9.2.4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/venba/.pub-cache/hosted/pub.dev/fluttertoast-9.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"google_sign_in_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_ios-6.2.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_ios-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"syncfusion_flutter_pdfviewer","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-31.1.19/","native_build":true,"dependencies":["device_info_plus"],"dev_dependency":false},{"name":"url_launcher_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.4/","native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_messaging","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging-16.0.4/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"flutter_plugin_android_lifecycle","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.31/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_secure_storage","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage-9.2.4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/venba/.pub-cache/hosted/pub.dev/fluttertoast-9.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"google_sign_in_android","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_android-7.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_android","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_android-1.0.52/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"open_file_android","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_android-1.0.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_android-2.2.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.13/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"syncfusion_flutter_pdfviewer","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-31.1.19/","native_build":true,"dependencies":["device_info_plus"],"dev_dependency":false},{"name":"url_launcher_android","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.20/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"firebase_messaging","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging-16.0.4/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"flutter_secure_storage_macos","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_macos-3.1.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"google_sign_in_ios","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_ios-6.2.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_mac","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_mac-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"syncfusion_pdfviewer_macos","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_macos-31.1.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_macos","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.3/","native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"flutter_secure_storage_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_linux-1.2.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_linux-0.0.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"path_provider_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false},{"name":"syncfusion_pdfviewer_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_linux-31.1.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_linux","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.2/","native_build":true,"dependencies":[],"dev_dependency":false}],"windows":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"firebase_auth","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth-6.1.2/","native_build":true,"dependencies":["firebase_core"],"dev_dependency":false},{"name":"firebase_core","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core-4.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_secure_storage_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_windows-3.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/local_auth_windows-1.0.11/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"open_file_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_windows-0.0.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"path_provider_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false},{"name":"syncfusion_pdfviewer_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_windows-31.1.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_windows","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.5/","native_build":true,"dependencies":[],"dev_dependency":false}],"web":[{"name":"connectivity_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","dependencies":[],"dev_dependency":false},{"name":"device_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/device_info_plus-11.5.0/","dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/venba/.pub-cache/hosted/pub.dev/file_picker-10.3.7/","dependencies":[],"dev_dependency":false},{"name":"firebase_auth_web","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_auth_web-6.1.0/","dependencies":["firebase_core_web"],"dev_dependency":false},{"name":"firebase_core_web","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_core_web-3.3.0/","dependencies":[],"dev_dependency":false},{"name":"firebase_messaging_web","path":"/home/venba/.pub-cache/hosted/pub.dev/firebase_messaging_web-4.1.0/","dependencies":["firebase_core_web"],"dev_dependency":false},{"name":"flutter_secure_storage_web","path":"/home/venba/.pub-cache/hosted/pub.dev/flutter_secure_storage_web-1.2.1/","dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/venba/.pub-cache/hosted/pub.dev/fluttertoast-9.0.0/","dependencies":[],"dev_dependency":false},{"name":"google_sign_in_web","path":"/home/venba/.pub-cache/hosted/pub.dev/google_sign_in_web-1.1.0/","dependencies":[],"dev_dependency":false},{"name":"open_file_web","path":"/home/venba/.pub-cache/hosted/pub.dev/open_file_web-0.0.4/","dependencies":[],"dev_dependency":false},{"name":"package_info_plus","path":"/home/venba/.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/","dependencies":[],"dev_dependency":false},{"name":"pdf_render","path":"/home/venba/.pub-cache/hosted/pub.dev/pdf_render-1.4.12/","dependencies":[],"dev_dependency":false},{"name":"shared_preferences_web","path":"/home/venba/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3/","dependencies":[],"dev_dependency":false},{"name":"syncfusion_pdfviewer_web","path":"/home/venba/.pub-cache/hosted/pub.dev/syncfusion_pdfviewer_web-31.1.19/","dependencies":[],"dev_dependency":false},{"name":"url_launcher_web","path":"/home/venba/.pub-cache/hosted/pub.dev/url_launcher_web-2.4.1/","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":[]},{"name":"device_info_plus","dependencies":[]},{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_messaging","dependencies":["firebase_core","firebase_messaging_web"]},{"name":"firebase_messaging_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_secure_storage","dependencies":["flutter_secure_storage_linux","flutter_secure_storage_macos","flutter_secure_storage_web","flutter_secure_storage_windows"]},{"name":"flutter_secure_storage_linux","dependencies":[]},{"name":"flutter_secure_storage_macos","dependencies":[]},{"name":"flutter_secure_storage_web","dependencies":[]},{"name":"flutter_secure_storage_windows","dependencies":["path_provider"]},{"name":"fluttertoast","dependencies":[]},{"name":"google_sign_in","dependencies":["google_sign_in_android","google_sign_in_ios","google_sign_in_web"]},{"name":"google_sign_in_android","dependencies":[]},{"name":"google_sign_in_ios","dependencies":[]},{"name":"google_sign_in_web","dependencies":[]},{"name":"local_auth","dependencies":["local_auth_android","local_auth_darwin","local_auth_windows"]},{"name":"local_auth_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"local_auth_darwin","dependencies":[]},{"name":"local_auth_windows","dependencies":[]},{"name":"open_file","dependencies":["open_file_android","open_file_web","open_file_ios","open_file_mac","open_file_windows","open_file_linux"]},{"name":"open_file_android","dependencies":[]},{"name":"open_file_ios","dependencies":[]},{"name":"open_file_linux","dependencies":[]},{"name":"open_file_mac","dependencies":[]},{"name":"open_file_web","dependencies":[]},{"name":"open_file_windows","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"pdf_render","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"syncfusion_flutter_pdfviewer","dependencies":["url_launcher","device_info_plus","syncfusion_pdfviewer_web","syncfusion_pdfviewer_macos","syncfusion_pdfviewer_windows","syncfusion_pdfviewer_linux"]},{"name":"syncfusion_pdfviewer_linux","dependencies":[]},{"name":"syncfusion_pdfviewer_macos","dependencies":[]},{"name":"syncfusion_pdfviewer_web","dependencies":[]},{"name":"syncfusion_pdfviewer_windows","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2026-02-04 17:59:52.895910","version":"3.32.1","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file diff --git a/lib/core/config/env.dart b/lib/core/config/env.dart index d204ef4..1be7b07 100644 --- a/lib/core/config/env.dart +++ b/lib/core/config/env.dart @@ -5,8 +5,8 @@ class Env { ); static const String apiUrl = String.fromEnvironment( 'API_URL', - defaultValue: 'https://partner.nhanceindia.in/partner_api/api/', /* Live build (enable index.html line 18) */ - // defaultValue: 'https://venbait.in/nhance/partner/dev/api/', /* Test build (enable index.html line 19) */ + // defaultValue: 'https://partner.nhanceindia.in/partner_api/api/', /* Live build (enable index.html line 18) */ + defaultValue: 'https://venbait.in/nhance/partner/dev/api/', /* Test build (enable index.html line 19) */ // defaultValue: 'http://localhost/nhance_partner_be/', /* localhost build (enable index.html line 19) */ ); // static const String baseUrl = String.fromEnvironment( @@ -18,3 +18,36 @@ class Env { defaultValue: 'nhance-partner-2025-signature-35468846JRhH551HK', ); } + +// class Env { +// +// static const String App_Signature = String.fromEnvironment( +// 'App_Signature', +// defaultValue: 'nhance-partner-2025-signature-35468846JRhH551HK', +// ); +// +// static const String env = String.fromEnvironment('ENV', defaultValue: 'dev'); +// +// static String get apiUrl { +// switch (env) { +// case 'prod': +// return 'https://partner.nhanceindia.in/partner_api/api/'; +// case 'test': +// return 'https://venbait.in/nhance/partner/dev/api/'; +// default: +// return 'https://localhost/api/'; +// } +// } +// +// static String get baseHref { +// switch (env) { +// case 'prod': +// return '/partner/'; +// case 'test': +// return '/nhance/partner/app/'; +// default: +// return '/localhost/partner/app/'; +// } +// } +// +// } diff --git a/lib/core/services/api_service.dart b/lib/core/services/api_service.dart index 0de384f..4384bc2 100644 --- a/lib/core/services/api_service.dart +++ b/lib/core/services/api_service.dart @@ -2218,7 +2218,7 @@ class ApiService { // '${Env.apiUrl}audit/history?table_name=partner_policy&pk=${id ?? ''}', // ); final url = Uri.parse( - '${Env.apiUrl}audit/history?table_name==${table ?? ''}&pk=${id ?? ''}', + '${Env.apiUrl}audit/history?table_name=${table ?? ''}&pk=${id ?? ''}', ); final headers = { diff --git a/lib/presentation/screens/Enquiry/enquiryList.dart b/lib/presentation/screens/Enquiry/enquiryList.dart index ad2c48c..c95add9 100644 --- a/lib/presentation/screens/Enquiry/enquiryList.dart +++ b/lib/presentation/screens/Enquiry/enquiryList.dart @@ -288,7 +288,7 @@ class EnquiryListState extends ConsumerState { filteredData = getStaffData.where((item) { // final isActiveStatus = item['is_active'] == "1" ? "active" : "inactive"; - return (_formatDate(item['created_on']) ?? '-').toLowerCase().contains( + return (_formatDate(item['enquiry_created_on']) ?? '-').toLowerCase().contains( query.toLowerCase(), ) || (_formatDate(item['updated_on']) ?? '-').toLowerCase().contains( @@ -555,7 +555,8 @@ class EnquiryListState extends ConsumerState { // headers: [], displayHeaders: [ "S.No.", - "Received Date & Time", + // "Received Date & Time", + "Received Date", "Vehicle.No.", "Insurer", "Updated Date", @@ -564,7 +565,8 @@ class EnquiryListState extends ConsumerState { ], keys: [ "sno", // handled internally as i + 1 - "created_on", + // "created_on", + "enquiry_created_on", "reg_no", "insurer_name", "updated_on", @@ -660,6 +662,7 @@ class EnquiryListState extends ConsumerState { Expanded( flex: 3, child: Text('Received Date', style: _headerStyle), + // child: Text('Enquiry Created Date', style: _headerStyle), ), Expanded( @@ -774,7 +777,7 @@ class EnquiryListState extends ConsumerState { Expanded( flex: 3, child: Text( - _formatDate(item['created_on']) ?? '-', + _formatDate(item['enquiry_created_on']) ?? '-', style: _dataBold, ), ), @@ -1035,9 +1038,10 @@ class EnquiryListState extends ConsumerState { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text("Received Date & Time", style: _cardheaderStyle), + Text('Received Date', style: _cardheaderStyle), + // Text("Received Date & Time", style: _cardheaderStyle), Text( - _formatDate(item['created_on']) ?? '-', + _formatDate(item['enquiry_created_on']) ?? '-', style: _cardBodyStyle, ), ], diff --git a/lib/presentation/screens/handler/enquiryList.dart b/lib/presentation/screens/handler/enquiryList.dart index 5e4a8d1..bb6e263 100644 --- a/lib/presentation/screens/handler/enquiryList.dart +++ b/lib/presentation/screens/handler/enquiryList.dart @@ -32,6 +32,7 @@ import '../../providers/userRoleProvider.dart'; import '../../themes/indicators/customizd_file_upload.dart'; import '../../themes/indicators/export_btn.dart'; import '../../themes/indicators/input_field_decoration.dart'; +import '../../themes/indicators/date_field_theme.dart'; import '../../themes/indicators/search_field_theme.dart'; import '../../themes/indicators/text_field_theme.dart'; import '../../themes/indicators/text_field_theme_inline_editor.dart' @@ -81,6 +82,7 @@ class EnquiryHandlerState extends ConsumerState { 'address', 'regNo', 'remarks', + 'enquiry_created_on', // 👈 Add this line ]; Map isEditingRow = {}; @@ -133,7 +135,7 @@ class EnquiryHandlerState extends ConsumerState { // "id_proof_file_name": "id_proof.pdf", // "previous_policy_file_name": "previous_policy.pdf", "remarks": controllers["remarks"]?.text, - + "enquiry_created_on" : controllers["enquiry_created_on"]?.text, "assigned_to": selectedStaff, "insurer_id": selectedInsurer, "broker_id": selectedBroker, @@ -525,6 +527,12 @@ class EnquiryHandlerState extends ConsumerState { (_formatDate(item['created_on']) ?? '-').toLowerCase().contains( query.toLowerCase(), ) || + (_formatDate(item['enquiry_created_on']) ?? '-').toLowerCase().contains( + query.toLowerCase(), + ) || + // (_formatDate(item['created_on']) ?? '-').toLowerCase().contains( + // query.toLowerCase(), + // ) || (_formatDate(item['updated_on']) ?? '-').toLowerCase().contains( query.toLowerCase(), ) || @@ -623,6 +631,13 @@ class EnquiryHandlerState extends ConsumerState { managerId = item['manager_id']; controllers["regNo"]?.text = item['reg_no']; controllers["remarks"]?.text = item['remarks']; + // Handle the date formatting for the controller + if (item['enquiry_created_on'] != null) { + DateTime dt = DateTime.parse(item['enquiry_created_on'].toString()); + controllers['enquiry_created_on']!.text = DateFormat('dd-MM-yyyy').format(dt); + } else { + controllers['enquiry_created_on']!.text = ''; + } setState(() {}); @@ -789,7 +804,7 @@ class EnquiryHandlerState extends ConsumerState { decoration: InputDecoration( filled: true, fillColor: Colors.white, - hintText: "Search Staff ...", + hintText: " IO Search Staff ...", hintStyle: GoogleFonts.inter(fontSize: 12, color: Colors.black), enabledBorder: OutlineInputBorder( borderSide: BorderSide(color: Colors.white), // 👈 Normal border @@ -1262,6 +1277,60 @@ class EnquiryHandlerState extends ConsumerState { ); } + // Widget buildEnquiryCreatedOn(BuildContext context) { + // return Container( + // width: 150, // Set a specific width for the table cell + // child: ThemedDateField( + // controller: controllers['enquiry_created_on'], + // hintText: "Select Date", + // borderColor: Colors.black, + // // Pass the date back to your item or state + // onDateSelected: (DateTime pickedDate) { + // setState(() { + // // Format it back to your backend requirement if needed + // String formatted = DateFormat('dd-MM-yyyy').format(pickedDate); + // controllers['enquiry_created_on']!.text = formatted; + // }); + // }, + // ), + // ); + // } + // Widget buildEnquiryCreatedOn(BuildContext context) { + // return SizedBox( + // width: 140, // Adjust width to fit the column + // height: 35, // Standardized height for your inline edit row + // child: ThemedDateField( + // controller: controllers['enquiry_created_on'], + // hintText: "Select Date", + // borderColor: Colors.black, + // onDateSelected: (DateTime pickedDate) { + // setState(() { + // // Store only the date part in the controller + // String formatted = DateFormat('dd-MM-yyyy').format(pickedDate); + // controllers['enquiry_created_on']!.text = formatted; + // }); + // }, + // ), + // ); + // } + Widget buildEnquiryCreatedOn(BuildContext context) { + return SizedBox( + height: 35, + width: 140, // Give it a fixed width so it doesn't disappear in the table + child: ThemedDateField( + controller: controllers['enquiry_created_on'], + hintText: "Select Date", + borderColor: Colors.black, + onDateSelected: (DateTime pickedDate) { + setState(() { + String formatted = DateFormat('dd-MM-yyyy').format(pickedDate); + controllers['enquiry_created_on']!.text = formatted; + }); + }, + ), + ); + } + Widget buildVehicleNumber(BuildContext context) { return ThemedFormInlineField( controller: controllers['regNo']!, @@ -2187,7 +2256,10 @@ class EnquiryHandlerState extends ConsumerState { data: filteredData, txt: !ResponsiveLayout.isMobile(context) ? true : false, displayHeaders: [ - "Received Date & Time", + // "Received Date & Time", + "Received Date", + // "Created Date & Time", + // "Enquiry Created Date", "Partner", "Assigned To", "Insurer", @@ -2200,7 +2272,8 @@ class EnquiryHandlerState extends ConsumerState { "Status", ], keys: [ - "created_on", + // "created_on", + "enquiry_created_on", "agent_name", "assigned_to_name", "insurer_name", @@ -2248,7 +2321,7 @@ class EnquiryHandlerState extends ConsumerState { // Create a new empty row data final newRow = { 'id': newId.toString(), // Keep as String for consistency - 'created_on': '', + 'enquiry_created_on': '', 'agent_name': '', 'agent_id': '', 'assigned_to_name': '', @@ -2514,16 +2587,23 @@ class EnquiryHandlerState extends ConsumerState { // DataCell(Text('$sno', style: _dataBold)), // Created On + // DataCell( + // Row( + // children: [ + // // Text(item['created_on'], style: _dataBold), + // Text( + // formatDateTimeForTable(item['created_on'], newLine: true), + // style: _dataBold, + // ), + // ], + // ), + // ), + + // Enquiry Created On DataCell( - Row( - children: [ - // Text(item['created_on'], style: _dataBold), - Text( - formatDateTimeForTable(item['created_on'], newLine: true), - style: _dataBold, - ), - ], - ), + editing + ? buildEnquiryCreatedOn(context) + : Text(item['enquiry_created_on'] ?? '-', style: _dataBold), ), // Agent Name diff --git a/lib/presentation/screens/staff/Enquiry/enquiry_inline_SubRow.dart b/lib/presentation/screens/staff/Enquiry/enquiry_inline_SubRow.dart index 0ec6f26..6cb25bb 100644 --- a/lib/presentation/screens/staff/Enquiry/enquiry_inline_SubRow.dart +++ b/lib/presentation/screens/staff/Enquiry/enquiry_inline_SubRow.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:google_fonts/google_fonts.dart'; +import 'package:intl/intl.dart'; import 'package:shared_preferences/shared_preferences.dart'; import '../../../../core/services/api_service.dart'; @@ -16,6 +17,7 @@ import '../../../themes/indicators/input_field_decoration.dart'; import '../../../themes/indicators/text_field_theme.dart'; import '../../../themes/indicators/text_field_theme_inline_editor.dart' hide UpperCaseTextFormatter; +import '../../../themes/indicators/date_field_theme.dart'; class SubRowWidget extends ConsumerStatefulWidget { final String selectId; @@ -421,6 +423,7 @@ class _SubRowWidgetState extends ConsumerState { spacing: 12, runSpacing: 12, children: [ + buildEnquiryCreatedOn(context), buildSelectStaffMem(context), buildAgentName(context, fromHeader: false), buildInsurer(context), @@ -474,6 +477,88 @@ class _SubRowWidgetState extends ConsumerState { ); } + Widget buildEnquiryCreatedOn(BuildContext context) { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Received Date', style: _subLabelTimeStyle), + SizedBox(height: 5), + SizedBox( + width: MediaQuery.of(context).size.width * 0.10, + + child: Stack( + alignment: Alignment.centerRight, + children: [ + + // 🔹 Your existing field + ThemedFormField( + controller: controllers['enquiry_created_on']!, + hintText: 'Select Date', + borderColor: Color(0XFF6366F1), + textColr: Color(0XFF6366F1), + enableBorderWidth: 0.5, + bordedRad: 5, + errFieldHgt: 10, + errFieldFont: 0, + isdense: true, + readOnly: true, + + validator: (value) { + if (fieldErrors['enquiry_created_on'] != null && + fieldErrors['enquiry_created_on']!.isNotEmpty) { + return fieldErrors['enquiry_created_on']; + } + + return Validators.requiredField( + value, "enquiry created on"); + }, + ), + + // 🔥 Independent calendar button + Positioned( + right: 4, + child: InkWell( + onTap: () async { + await _pickDate(context); + }, + child: Padding( + padding: const EdgeInsets.all(6.0), + child: Icon( + Icons.calendar_month, + color: Color(0XFF6366F1), + size: 18, + ), + ), + ), + ), + ], + ), + ), + ], + ); + } + + Future _pickDate(BuildContext context) async { + DateTime? picked = await showDatePicker( + context: context, + initialDate: DateTime.now(), + firstDate: DateTime(1900), + lastDate: DateTime(2100), + ); + + if (picked != null) { + setState(() { + String formatted = + DateFormat('dd-MM-yyyy').format(picked); + + controllers['enquiry_created_on']!.text = formatted; + + // clear error after select + fieldErrors['enquiry_created_on'] = ''; + }); + } + } + Widget buildAgentName(BuildContext context, {fromHeader = true}) { Map? selectedAgntName = filteredAgentData.firstWhere( (item) => item['id'].toString() == widget.selectedAgent, diff --git a/lib/presentation/screens/staff/Enquiry/enquiry_inline_list.dart b/lib/presentation/screens/staff/Enquiry/enquiry_inline_list.dart index d54d0c0..e9aa5d3 100644 --- a/lib/presentation/screens/staff/Enquiry/enquiry_inline_list.dart +++ b/lib/presentation/screens/staff/Enquiry/enquiry_inline_list.dart @@ -119,6 +119,7 @@ class EnquiryStaffState extends ConsumerState { 'address', 'regNo', 'remarks', + 'enquiry_created_on', ]; String formRebuildKey = UniqueKey().toString(); @@ -194,6 +195,7 @@ class EnquiryStaffState extends ConsumerState { // "id_proof_file_name": "id_proof.pdf", // "previous_policy_file_name": "previous_policy.pdf", "remarks": controllers["remarks"]?.text, + "enquiry_created_on": controllers["enquiry_created_on"]?.text, "assigned_to": selectedStaff, "insurer_id": selectedInsurer, "broker_id": selectedBroker, @@ -908,7 +910,8 @@ class EnquiryStaffState extends ConsumerState { _s(map['enquiry_status']), _s(map['insurance_plan_type']), _s(map['status']), - _s(_formatDate(map['created_on'])), + _s(_formatDate(map['enquiry_created_on'])), + // _s(_formatDate(map['created_on'])), _s(_formatDate(map['updated_on'])), ]; @@ -990,8 +993,11 @@ class EnquiryStaffState extends ConsumerState { item['enquiry_status']?.toLowerCase() == 'assigned' && item['quotation_id'] != null) || safeString( - _formatDate(item['created_on']), + _formatDate(item['enquiry_created_on']), ).toLowerCase().contains(q) || + // safeString( + // _formatDate(item['created_on']), + // ).toLowerCase().contains(q) || safeString( _formatDate(item['updated_on']), ).toLowerCase().contains(q); @@ -1166,9 +1172,12 @@ class EnquiryStaffState extends ConsumerState { (item['broker_name'] ?? '-').toLowerCase().contains( query.toLowerCase(), ) || - (_formatDate(item['created_on']) ?? '-').toLowerCase().contains( + (_formatDate(item['enquiry_created_on']) ?? '-').toLowerCase().contains( query.toLowerCase(), ) || + // (_formatDate(item['created_on']) ?? '-').toLowerCase().contains( + // query.toLowerCase(), + // ) || (_formatDate(item['updated_on']) ?? '-').toLowerCase().contains( query.toLowerCase(), ) || @@ -1291,6 +1300,7 @@ class EnquiryStaffState extends ConsumerState { managerId = item['manager_id']; controllers["regNo"]?.text = item['reg_no']; controllers["remarks"]?.text = item['remarks']; + controllers["enquiry_created_on"]?.text = item['enquiry_created_on']; selectedInsurer = item['insurer_id']; selectedStaff = item['assigned_to']; @@ -1420,6 +1430,7 @@ class EnquiryStaffState extends ConsumerState { // "id_proof_file_name": "id_proof.pdf", // "previous_policy_file_name": "previous_policy.pdf", "remarks": controllers["remarks"]?.text, + "enquiry_created_on" : controllers["enquiry_created_on"]?.text, "manager_id": managerId, "created_by": userId, }; @@ -2088,7 +2099,9 @@ class EnquiryStaffState extends ConsumerState { data: filteredData, txt: !ResponsiveLayout.isMobile(context) ? true : false, displayHeaders: [ - "Received Date & Time", + // "Received Date & Time", + // "Created Date & Time", + "Received Date", "Assigned To", "Partner Code", "Partner Name", @@ -2103,7 +2116,8 @@ class EnquiryStaffState extends ConsumerState { "Status", ], keys: [ - "created_on", + // "created_on", + "enquiry_created_on", "assigned_to_name", "agent_code", "agent_name", @@ -2492,6 +2506,7 @@ class EnquiryStaffState extends ConsumerState { List _buildDataColumns() { return [ DataColumn(label: Text('Received Date', style: _headerStyle)), + // DataColumn(label: Text('Enquiry Created Date', style: _headerStyle)), DataColumn(label: Text('Assigned To', style: _headerStyle)), DataColumn(label: Text('Partner', style: _headerStyle)), @@ -2516,6 +2531,7 @@ class EnquiryStaffState extends ConsumerState { child: Row( children: [ _buildHeaderCell('Received Date', 110), + // _buildHeaderCell('Enquiry Created Date', 110), _buildHeaderCell('Assigned To', 110), _buildHeaderCell('Partner', 100), @@ -3235,12 +3251,12 @@ class EnquiryStaffState extends ConsumerState { return DataRow( cells: [ - // Received Date + // Enquiry Created Date DataCell( SizedBox( width: 70, child: Text( - formatDateTimeForTable(item['created_on'], newLine: true), + item['enquiry_created_on'], style: _dataBoldthm1, ), ), diff --git a/lib/presentation/screens/staff/Enquiry/enquiry_list.dart b/lib/presentation/screens/staff/Enquiry/enquiry_list.dart index 7e5cc8e..52d53d7 100644 --- a/lib/presentation/screens/staff/Enquiry/enquiry_list.dart +++ b/lib/presentation/screens/staff/Enquiry/enquiry_list.dart @@ -866,7 +866,8 @@ class EnquiryStaffState extends ConsumerState { data: filteredData, txt: !ResponsiveLayout.isMobile(context) ? true : false, displayHeaders: [ - "Received Date & Time", + // "Received Date & Time", + "Received Date", "Partner", "Assigned To", "Insurer", @@ -876,7 +877,7 @@ class EnquiryStaffState extends ConsumerState { "Status", ], keys: [ - "created_on", + "enquiry_created_on", "agent_name", "assigned_to_name", "insurer_name", @@ -944,6 +945,7 @@ class EnquiryStaffState extends ConsumerState { children: [ const Expanded( flex: 2, + // child: Text('Enquiry Created Date', style: _headerStyle), child: Text('Received Date', style: _headerStyle), ), const Expanded( @@ -1043,7 +1045,7 @@ class EnquiryStaffState extends ConsumerState { Expanded( flex: 2, child: Text( - _formatDate(item['created_on']) ?? '-', + _formatDate(item['enquiry_created_on']) ?? '-', style: _dataBold, softWrap: true, maxLines: 3, diff --git a/lib/presentation/screens/staff/policy/policy_validation.dart b/lib/presentation/screens/staff/policy/policy_validation.dart index 19d8de1..370d81d 100644 --- a/lib/presentation/screens/staff/policy/policy_validation.dart +++ b/lib/presentation/screens/staff/policy/policy_validation.dart @@ -927,6 +927,15 @@ class _policyValidationState extends ConsumerState { return; // 🛑 STOP: Does not proceed to API call } + // Show the dialog and wait for the result + final bool confirmed = await _confirmChange(context); + + // Logic: If 'Cancel' was pressed (false), stop execution here + if (!confirmed) { + debugPrint("User cancelled submission"); + return; + } + final payload = {"id": policyId, ...dataDetails(), "updated_by": userId}; if (!mounted) return; @@ -1043,6 +1052,257 @@ class _policyValidationState extends ConsumerState { ) ?? false; } + // Future _confirmChange(BuildContext context) async { + // return await showDialog( + // context: context, + // barrierDismissible: false, + // builder: (context) => AlertDialog( + // contentPadding: EdgeInsets.zero, // Allows inner containers to touch edges + // shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)), + // content: Column( + // mainAxisSize: MainAxisSize.min, + // children: [ + // // --- Top Section: Content with Green Sidebar --- + // Container( + // // decoration: const BoxDecoration( + // // color: Colors.white, + // // borderRadius: BorderRadius.vertical(top: Radius.circular(16)), + // // border: Border( + // // left: BorderSide(color: Color(0xFF00C853), width: 6), // Green accent + // // ), + // // ), + // padding: const EdgeInsets.all(24), + // child: Column( + // crossAxisAlignment: CrossAxisAlignment.start, + // children: [ + // Row( + // children: [ + // // Icon Container + // Container( + // padding: const EdgeInsets.all(6), + // decoration: BoxDecoration( + // color: const Color(0xFFE8F5E9), + // borderRadius: BorderRadius.circular(8), + // ), + // child: const Icon(Icons.check_circle_outline, + // color: Color(0xFF00C853), size: 28), + // ), + // const SizedBox(width: 12), + // Text( + // "Action Required", + // style: GoogleFonts.poppins( + // fontWeight: FontWeight.bold, + // fontSize: 18, + // color: Colors.black87, + // ), + // ), + // ], + // ), + // const SizedBox(height: 20), + // _bulletItem("Please review your changes before submitting."), + // const SizedBox(height: 12), + // _bulletItem("Changes cannot be made after submission."), + // ], + // ), + // ), + // + // // --- Bottom Section: Buttons with Gray Background --- + // Container( + // padding: const EdgeInsets.all(16), + // decoration: const BoxDecoration( + // color: Color(0xFFE5EAE9), // Light gray background for footer + // borderRadius: BorderRadius.vertical(bottom: Radius.circular(16)), + // ), + // child: Row( + // children: [ + // Expanded( + // child: ElevatedButton( + // style: ElevatedButton.styleFrom( + // backgroundColor: const Color(0xFFF5F5F5), + // foregroundColor: Colors.grey[700], + // elevation: 0, + // padding: const EdgeInsets.symmetric(vertical: 14), + // shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)), + // ), + // onPressed: () => Navigator.pop(context, false), + // child: const Text("Cancel", style: TextStyle(fontWeight: FontWeight.bold)), + // ), + // ), + // const SizedBox(width: 12), + // Expanded( + // child: ElevatedButton( + // style: ElevatedButton.styleFrom( + // backgroundColor: const Color(0xFF13B156), + // foregroundColor: Colors.white, + // elevation: 0, + // padding: const EdgeInsets.symmetric(vertical: 14), + // shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)), + // ), + // onPressed: () => Navigator.pop(context, true), + // child: const Text("PROCEED", style: TextStyle(fontWeight: FontWeight.bold)), + // ), + // ), + // ], + // ), + // ), + // ], + // ), + // ), + // ) ?? false; + // } + // + // // Helper widget for bullets + // Widget _bulletItem(String text) { + // return Row( + // crossAxisAlignment: CrossAxisAlignment.start, + // children: [ + // const Padding( + // padding: EdgeInsets.only(top: 8), + // child: Icon(Icons.circle, size: 6, color: Colors.black), + // ), + // const SizedBox(width: 12), + // Expanded( + // child: Text( + // text, + // style: GoogleFonts.poppins(fontSize: 14, color: Colors.black87), + // ), + // ), + // ], + // ); + // } + + Future _confirmChange(BuildContext context) async { + return await showDialog( + context: context, + barrierDismissible: false, + builder: (context) => AlertDialog( + // --- These two lines ensure the background is exactly white --- + backgroundColor: Colors.white, + surfaceTintColor: Colors.transparent, + // -------------------------------------------------------------- + contentPadding: EdgeInsets.zero, + shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)), + content: Column( + mainAxisSize: MainAxisSize.min, + children: [ + // --- Top Section: Content with Green Sidebar --- + Container( + decoration: const BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.vertical(top: Radius.circular(16)), + // border: Border( + // left: BorderSide(color: Color(0xFF00C853), width: 6), // Green accent + // ), + ), + padding: const EdgeInsets.all(24), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + children: [ + // Icon Container + Container( + padding: const EdgeInsets.all(6), + decoration: BoxDecoration( + color: const Color(0xFFE8F5E9), + borderRadius: BorderRadius.circular(8), + ), + child: const Icon( + Icons.warning_amber_rounded, + color: Color(0xFF00C853), + size: 28, + ), + ), + const SizedBox(width: 12), + Text( + "Action Required", + style: GoogleFonts.poppins( + fontWeight: FontWeight.bold, + fontSize: 18, + color: Colors.black87, + ), + ), + ], + ), + const SizedBox(height: 20), + _bulletItem("Please review your changes before submitting."), + const SizedBox(height: 12), + _bulletItem("Changes cannot be made after submission."), + ], + ), + ), + + // --- Bottom Section: Buttons with Gray Background --- + Container( + padding: const EdgeInsets.all(16), + decoration: const BoxDecoration( + color: Colors.white, // Gray footer background + borderRadius: BorderRadius.vertical(bottom: Radius.circular(16)), + ), + child: Row( + children: [ + Expanded( + child: ElevatedButton( + style: ElevatedButton.styleFrom( + backgroundColor: const Color(0xFFF5F5F5), + foregroundColor: Colors.grey[700], + elevation: 0, + padding: const EdgeInsets.symmetric(vertical: 14), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(10), + ), + ), + onPressed: () => Navigator.pop(context, false), + child: const Text("Cancel", + style: TextStyle(fontWeight: FontWeight.bold)), + ), + ), + const SizedBox(width: 12), + Expanded( + child: ElevatedButton( + style: ElevatedButton.styleFrom( + backgroundColor: const Color(0xFF13B156), + foregroundColor: Colors.white, + elevation: 0, + padding: const EdgeInsets.symmetric(vertical: 14), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(10), + ), + ), + onPressed: () => Navigator.pop(context, true), + child: const Text("PROCEED", + style: TextStyle(fontWeight: FontWeight.bold)), + ), + ), + ], + ), + ), + ], + ), + ), + ) ?? false; + } + +// Helper widget for the bullet points + Widget _bulletItem(String text) { + return Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + const Padding( + padding: EdgeInsets.only(top: 6), + child: Icon(Icons.circle, size: 6, color: Colors.black54), + ), + const SizedBox(width: 10), + Expanded( + child: Text( + text, + style: const TextStyle(color: Colors.black54, fontSize: 14), + ), + ), + ], + ); + } + Widget _dialogBrokerRow(String label, String value) { return Column( crossAxisAlignment: CrossAxisAlignment.start, diff --git a/pubspec.yaml b/pubspec.yaml index 2a2cf7d..838b752 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -133,3 +133,14 @@ flutter: # # For details regarding fonts from package dependencies, # see https://flutter.dev/to/font-from-package +# scripts: +# dev: flutter build web --dart-define=ENV=dev +# test: flutter build web --dart-define=ENV=test +# prod: flutter build web --dart-define=ENV=prod +# + +# venba@venba-Inspiron-3558:~/Desktop/FlutterProjects/nhance_partner$ flutter clean && flutter pub get +# Error detected in pubspec.yaml: +# Unexpected child "scripts" found under "flutter". +# Please correct the pubspec.yaml file at /home/venba/Desktop/FlutterProjects/nhance_partner/pubspec.yaml + diff --git a/web/index.html b/web/index.html index 46f92fd..91b032b 100644 --- a/web/index.html +++ b/web/index.html @@ -14,10 +14,10 @@ This is a placeholder for base href that will be replaced by the value of the `--base-href` argument provided to `flutter build`. --> - - - - + + + +