Commit Graph

25 Commits

Author SHA1 Message Date
amirrezaghabeli 13dbb5fae5 Enhance Customer model to include role attribute and update related components
- Added a new `role` attribute to the `Customer` model in `customer.dart` and updated the corresponding generated files.
- Modified the `AuthViewModel` to set the user role based on the logged-in user's role.
- Updated UI components in `TenderDetailActions` and `DesktopTendersPage` to conditionally render elements based on the user's role.
- Refactored tests to validate the new role attribute in the `Customer` model.
2025-10-14 09:12:24 +03:30
amirrezaghabeli f0cbe00b2f Update dependencies, enhance API endpoints, and refactor UI components
- Updated `pubspec.lock` to new package versions for `async`, `fake_async`, `leak_tracker`, and `vm_service`.
- Modified API endpoint for unread notifications to include `event_type=PUSH`.
- Refactored `CompletionOfDocumentsMobilePage` layout for improved structure.
- Simplified `DetailDropDown` widget by removing unnecessary animations.
- Updated `CommentBox` styling and adjusted padding for better UI consistency.
- Replaced deprecated `FormCard` implementation in final completion pages with a new widget structure.
- Enhanced button styles across various dialogs and pages for a cohesive design.
2025-10-13 16:10:18 +03:30
amirrezaghabeli 79a0ecd87f Refactor tender dialogs to utilize ViewModel and improve state management
- Updated `TendersFilterDialog` and `TendersSortDialog` to use a stateful approach, allowing for better management of selected filters and sorting options.
- Integrated `TendersViewModel` into both dialogs, enabling direct interaction with the view model for setting date ranges and statuses.
- Enhanced the UI to reflect changes in state, ensuring a more responsive user experience when applying filters and sorting.
- Updated the `d_tenders_page.dart` to pass the view model and handle filter and sort actions appropriately.
2025-10-12 15:29:54 +03:30
amirrezaghabeli 5f1b939d95 fixed jira tm-172 and pagination dialog design changed 2025-10-02 10:10:13 +03:30
amirrezaghabeli 92c759b6c6 fixed rest of the bugs 2025-09-30 12:37:54 +03:30
llsajjad e5cf89c2ce Added SafeArea to all page 2025-09-24 13:19:37 +03:30
llsajjad 987f499833 added Filter and Sort dialog design in tenders page 2025-09-22 17:18:41 +03:30
amirrezaghabeli 5b1d5d2681 removed submit and reject tender ability every where except tender details 2025-09-22 11:28:12 +03:30
amirrezaghabeli f70229ab30 search logic added to desktop tenders 2025-09-22 09:28:09 +03:30
llsajjad 6e6f248702 Fixed pagination tenders for desktop and
added new config for notification
2025-09-21 14:03:32 +03:30
llsajjad 8a289f2d05 added new design for tenders desktop 2025-09-20 23:09:00 +03:30
amirrezaghabeli c421f85c95 cleared console problems 2025-09-16 08:36:03 +03:30
amirrezaghabeli 2e0ff88b75 fix home and tenders scrolling and no data problem in tenders 2025-09-11 12:11:40 +03:30
amirrezaghabeli 33edb093f5 changed messages to toast 2025-09-07 10:14:05 +03:30
amirrezaghabeli 5649634464 some changes and fixes 2025-09-06 13:18:12 +03:30
amirrezaghabeli cab78c8f4d added string for every screen and removed from app strings 2025-09-01 17:50:51 +03:30
amirrezaghabeli 471f6e3119 web fixes codes 2025-08-31 15:04:35 +03:30
amirrezaghabeli 6f4cc67fe6 some changes in web pages 2025-08-31 14:41:50 +03:30
amirrezaghabeli f6ab5e0560 tenders refactor 2025-08-27 14:06:57 +03:30
amirrezaghabeli 4f07facbb8 tablet navigation bar fixed 2025-08-26 14:58:06 +03:30
amirrezaghabeli f964186a87 some changes navigation in web and response changes 2025-08-26 12:22:42 +03:30
amirrezaghabeli 14ab9a75ca check web and tablet for logic 2025-08-23 15:22:28 +03:30
amirrezaghabeli 36f66bfca5 merge branches 2025-08-18 08:28:18 +03:30
amirrezaghabeli a7e208a5de merged branches 2025-08-12 09:11:26 +03:30
amirrezaghabeli 9ea9480818 check and fix in ui 2025-08-10 16:05:03 +03:30