120 Commits

Author SHA1 Message Date
ff01c05a73 feat(expense): improve expense submission validation and UI feedback 2025-07-25 10:45:22 +05:30
a7bb24ee29 feat(expense): enhance expense submission process and UI feedback 2025-07-25 10:45:22 +05:30
af83d66390 feat: Add expense models and update expense detail screen
- Created ExpenseModel, Project, ExpenseType, PaymentMode, PaidBy, CreatedBy, and Status classes for expense management.
- Implemented JSON serialization and deserialization for expense models.
- Added ExpenseStatusModel and ExpenseTypeModel for handling status and type of expenses.
- Introduced PaymentModeModel for managing payment modes.
- Refactored ExpenseDetailScreen to utilize the new ExpenseModel structure.
- Enhanced UI components for better display of expense details.
- Added search and filter functionality in ExpenseMainScreen.
- Updated dependencies in pubspec.yaml to include geocoding package.
2025-07-25 10:45:21 +05:30
b40d371d43 feat(expense): add expense management screens and functionality 2025-07-25 10:41:32 +05:30
69e64ec789 feat: Update employee creation process and API endpoints for improved functionality 2025-07-23 11:58:09 +05:30
943c7c7b50 feat: Add employee assignment functionality and improve employee detail view
- Implemented employee skeleton card for loading states in the UI.
- Created AssignedProjectsResponse and AssignedProject models for handling project assignments.
- Enhanced EmployeeDetailBottomSheet to include project assignment button.
- Developed AssignProjectBottomSheet for selecting projects to assign to employees.
- Introduced EmployeeDetailPage for displaying detailed employee information.
- Updated EmployeesScreen to support searching and filtering employees.
- Improved layout and UI elements for better user experience.
2025-07-22 20:10:57 +05:30
4908db35ad resolved directory data update issues 2025-07-17 17:50:13 +05:30
Vaibhav Surve
befbead7ff added the edit bucket and assign fucntionallity 2025-07-15 17:34:36 +05:30
Vaibhav Surve
0335b0d3ab fix(add_contact): adjust padding in Add Contact Bottom Sheet for better layout 2025-07-15 14:56:44 +05:30
Vaibhav Surve
07bf9a93aa refactor(add_contact): improve phone list rendering and enhance layout structure 2025-07-14 10:15:11 +05:30
Vaibhav Surve
395444e8fc feat(contact): add contact picker functionality for selecting Indian phone numbers 2025-07-14 10:12:40 +05:30
Vaibhav Surve
574e7df447 feat(contact): streamline validation logic and enhance UI for adding contacts 2025-07-14 10:03:27 +05:30
Vaibhav Surve
33d267f18e feat(bucket): implement create bucket functionality with UI and API integration 2025-07-11 17:28:22 +05:30
Vaibhav Surve
8a729f23fe _handleButtonPressed 2025-07-10 17:58:52 +05:30
Vaibhav Surve
ae868bb0f6 feat(directory): reduce spacing and padding in category and bucket displays 2025-07-08 16:01:10 +05:30
Vaibhav Surve
2fef2e508e feat(contact): support multiple project selection in AddContact functionality 2025-07-08 15:28:20 +05:30
Vaibhav Surve
a8c890a60d feat(comment): improve comment submission feedback and validation messages 2025-07-08 13:17:21 +05:30
Vaibhav Surve
77e27ff98e feat(contact): enhance AddContact functionality with validation and initialization state 2025-07-08 13:10:15 +05:30
Vaibhav Surve
445cd75e03 feat(contact): implement contact editing functionality and update API integration 2025-07-07 15:34:07 +05:30
Vaibhav Surve
7a2798401a feat: Add Notes functionality and integrate with Directory
- Introduced NotesController to manage notes fetching, updating, and state management.
- Created NoteListResponseModel and NoteModel to handle notes data structure.
- Implemented API service method to fetch directory notes.
- Added NotesView to display notes with editing capabilities.
- Updated DirectoryController to include a flag for toggling between Directory and Notes views.
- Refactored DirectoryMainScreen to accommodate the new NotesView and toggle functionality.
- Enhanced UI components for better user experience in both Directory and Notes views.
2025-07-07 12:55:52 +05:30
Vaibhav Surve
087c77bbd2 feat(directory): enhance input validation and layout in AddContactBottomSheet 2025-07-05 17:38:26 +05:30
Vaibhav Surve
e7940941ed feat(directory): enhance AddContact functionality to support multiple emails and phones, improve logging, and refactor contact detail display 2025-07-05 13:19:53 +05:30
Vaibhav Surve
62c49b5429 feat(directory): add form reset functionality in AddContactController and initialize fields in AddContactBottomSheet 2025-07-05 11:57:15 +05:30
Vaibhav Surve
549d8cce3c feat(directory): add comment submission functionality and UI components 2025-07-04 16:55:50 +05:30
Vaibhav Surve
be71544ae4 feat(directory): implement comment editing functionality and enhance comment model 2025-07-04 15:09:49 +05:30
a0f1602f4e feat(directory): add contact profile and directory management features
- Implemented ContactProfileResponse and related models for handling contact details.
- Created ContactTagResponse and ContactTag models for managing contact tags.
- Added DirectoryCommentResponse and DirectoryComment models for comment management.
- Developed DirectoryFilterBottomSheet for filtering contacts.
- Introduced OrganizationListModel for organization data handling.
- Updated routes to include DirectoryMainScreen.
- Enhanced DashboardScreen to navigate to the new directory page.
- Created ContactDetailScreen for displaying detailed contact information.
- Developed DirectoryMainScreen for managing and displaying contacts.
- Added dependencies for font_awesome_flutter and flutter_html in pubspec.yaml.
2025-07-02 15:57:39 +05:30
8f87161d74 refactor: Replace MyButton with OutlinedButton and ElevatedButton in various bottom sheets for improved UI consistency 2025-06-28 13:14:22 +05:30
e6d05e247e Refactor logging implementation across controllers and services
- Replaced instances of the Logger package with a custom appLogger for consistent logging.
- Introduced app_logger.dart to manage logging with file output and storage permissions.
- Updated all controllers (e.g., DashboardController, EmployeesScreenController, etc.) to use appLogger for logging messages.
- Ensured that logging messages are appropriately categorized (info, warning, error) throughout the application.
- Implemented a file logging mechanism to store logs in a designated directory.
- Cleaned up old log files to maintain only the most recent logs.
2025-06-24 13:11:22 +05:30
f1764eed81 feat: Refactor project ID handling and enhance CommentTaskBottomSheet integration 2025-06-23 15:27:06 +05:30
6c3370437d feat: Update models and API service for improved data handling and type safety 2025-06-22 18:40:10 +05:30
6cdf35374d feat: Enhance dashboard functionality with attendance overview and chart visualization 2025-06-20 19:01:58 +05:30
ca8bc26ab5 feat: Refactor showCreateTaskBottomSheet for improved structure and readability 2025-06-19 18:02:37 +05:30
f7671bc5d3 feat: Refactor AddEmployeeBottomSheet for improved readability and maintainability 2025-06-19 18:01:27 +05:30
44d72b73ac feat: Add optional approvedBy field to TaskModel and update JSON parsing 2025-06-19 11:14:21 +05:30
c215c4c943 feat: Rename task management function to showCreateTaskBottomSheet and update references 2025-06-19 11:03:34 +05:30
3ede53713d feat: Refactor task management to include work area and activity IDs, update task creation logic, and enhance category selection 2025-06-18 19:15:41 +05:30
5148b41579 feat: Enhance task creation UI with title and description sections 2025-06-18 12:52:20 +05:30
206c84b3a1 feat: Implement task management features including task creation, assignment, and employee selection 2025-06-18 11:40:08 +05:30
93a2350858 feat: Add report action and comment functionality in daily task planning
- Implemented ReportActionBottomSheet for reporting actions on tasks.
- Created TaskActionButtons for handling report and comment actions.
- Added WorkStatusResponseModel and WorkStatus model for managing work statuses.
- Refactored DailyProgressReportScreen to utilize new action buttons for reporting and commenting.
- Enhanced task data preparation for reporting and commenting actions.
2025-06-17 15:41:23 +05:30
5275ad940b Remove Sales, Comment Task, and Report Task screens; update pubspec.yaml to clean up asset paths. 2025-06-13 11:37:08 +05:30
602d8a8dc9 feat: Update reportTask method to return success status and improve loading state handling in ReportTaskBottomSheet 2025-06-12 23:27:50 +05:30
59e6634023 feat: Refactor project selection handling in attendance actions and controllers 2025-06-12 23:18:58 +05:30
a97fb1f541 feat: Clear selected images instead of pre-signed URLs in comment task bottom sheet 2025-06-12 23:01:39 +05:30
916cfa3af4 feat: Add support for reported pre-signed URLs in comments and daily progress report 2025-06-12 22:02:19 +05:30
5cf0202cc1 feat: Remove unused selectedProjectId from DailyTaskPlaningController and update AssignTaskBottomSheet to use ProjectController's selectedProjectId 2025-06-12 21:13:12 +05:30
daf132c3b5 feat: Update comment task bottom sheet layout and enhance comment display with improved spacing and attachment handling 2025-06-12 19:14:27 +05:30
3a449441fa feat: Enhance project and task management features
- Added clearProjects method in ProjectController to reset project states.
- Updated fetchProjects and updateSelectedProject methods for better state management.
- Enhanced ReportTaskController to support image uploads with base64 encoding.
- Modified ApiService to handle image data in report and comment tasks.
- Integrated ProjectController in AuthService to fetch projects upon login.
- Updated LocalStorage to clear selectedProjectId on logout.
- Introduced ImageViewerDialog for displaying images in a dialog.
- Enhanced CommentTaskBottomSheet and ReportTaskBottomSheet to support image attachments.
- Improved AttendanceScreen to handle project selection and data fetching more robustly.
- Refactored EmployeesScreen to manage employee data based on project selection.
- Updated Layout to handle project selection and display appropriate messages.
- Enhanced DailyProgressReportScreen and DailyTaskPlaningScreen to reactively fetch task data based on project changes.
- Added photo_view dependency for improved image handling.
2025-06-12 17:28:06 +05:30
b81ac33b2d feat: Enhance project selection handling across various screens and controllers 2025-06-11 21:55:15 +05:30
deff7aea7d feat: Add contact picking functionality in employee form and update dependencies 2025-06-04 12:44:27 +05:30
ba42551b25 fix: Add validation to prevent target exceeding pending tasks in assign task functionality 2025-06-03 17:14:48 +05:30