Commit Graph

57 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 f37ddd1b88 Refactor tender status handling in desktop and tablet pages
- Updated the status checks in `_YourTendersDesktopPageState` and `_YourTendersTabletPageState` to use `TenderFeedback` values instead of string constants for better maintainability.
2025-10-13 16:18:13 +03:30
a.ghabeli 5b0536aae8 Merge pull request 'dialogs_fix' (#212) from dialogs_fix into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/212
2025-10-12 15:30:34 +03:30
amirrezaghabeli 6d674a4a1b Update dependencies and enhance tender approval status handling
- Updated `pubspec.lock` to reflect new versions for several packages, including `async`, `fake_async`, `leak_tracker`, and `vm_service`.
- Modified `TenderApprovalStatus` enum to include a new status `approved`.
- Updated routing for `YourTendersRouteData` to accept a status parameter and pass it to the `YourTendersScreen`.
- Adjusted API calls and view models to utilize the new status handling, ensuring proper filtering and display of tender data based on approval status.
- Enhanced filter dialog to support new status options and improved user feedback in the UI for submitted and approved tenders.
2025-10-12 14:57:33 +03:30
llsajjad ecd6f863c2 Fixed icon color of web and tablet pagination 2025-10-12 11:36:24 +03:30
amirrezaghabeli b43ebf885b Refactor provider initialization to load only essential providers at startup. Introduce TabNavigationService for managing tab state and update screens to respond to tab changes. Clean up view models and navigation logic for improved performance and maintainability. 2025-10-06 14:12:40 +03:30
amirrezaghabeli 5f1b939d95 fixed jira tm-172 and pagination dialog design changed 2025-10-02 10:10:13 +03:30
amirrezaghabeli 82d907ef74 changed safe areas and filter string 2025-09-28 08:50:43 +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 5689e98a43 refactors on codes 2025-09-18 10:27:16 +03:30
amirrezaghabeli a6e2089eef removed directionality 2025-09-17 14:39:11 +03:30
amirrezaghabeli e015c941d2 fixed rtl supoort in some pages 2025-09-17 14:33:04 +03:30
amirrezaghabeli c421f85c95 cleared console problems 2025-09-16 08:36:03 +03:30
llsajjad d47c85ffd4 Fixed pagination bug in tender like filter and fixed current page bug in same page 2025-09-14 13:56:20 +03:30
amirrezaghabeli 7462d71b33 show eu flag if it is empty 2025-09-14 11:52:59 +03:30
llsajjad c7fc74a153 changed pagination to selectPage in t d yourTenders 2025-09-13 16:33:05 +03:30
llsajjad ddd464c2c2 replace unixToDate to timeConvertor 2025-09-13 12:59:47 +03:30
amirrezaghabeli 889a9a715c your tenders ui fix 2025-09-13 09:38:06 +03:30
amirrezaghabeli ffbc11d4cf removed country flags package and read flags from server and implement svg cahce structure 2025-09-11 11:04:29 +03:30
amirrezaghabeli f3d5c60c06 fixes 2025-09-08 15:15:04 +03:30
amirrezaghabeli d56261b664 strings check 2025-09-08 12:54:27 +03:30
amirrezaghabeli f6da74f739 removed hardcoded status feedback and submission mode 2025-09-08 12:22:08 +03:30
amirrezaghabeli 9a1ec0b34e fixed your tenders filters and service and home your tneders use your tenders service 2025-09-08 09:53:21 +03:30
amirrezaghabeli cd32bbd812 added pagination in your tenders and some fixes 2025-09-07 12:15:43 +03:30
llsajjad cd827ecbe4 added new response model for tenders 2025-09-07 10:07:53 +03:30
amirrezaghabeli 5649634464 some changes and fixes 2025-09-06 13:18:12 +03:30
llsajjad ef34952988 fixed TendersCard height size for desktop 2025-09-06 10:35:58 +03:30
llsajjad 0d9f0251d8 fixed dark mood in filter dialog
fixed TendersCard height
2025-09-06 10:17:12 +03:30
amirrezaghabeli 1e3bd9d9a8 filters in your tenders fixed 2025-09-03 13:25:40 +03:30
a.ghabeli 70181848aa Merge pull request 'your_tenders_changes' (#91) from your_tenders_changes into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/91
2025-09-03 09:21:15 +03:30
amirrezaghabeli 7b6f7d6dbd your tenders apprvals filter 2025-09-03 09:19:39 +03:30
llsajjad 79874c40b1 Added liked tenders desigm and data from api 2025-09-02 16:56:42 +03:30
amirrezaghabeli 513475cfb6 initial your tenders 2025-09-02 15:33:07 +03:30
llsajjad ac725b38a3 Added text in ui code to your_tenders_strings 2025-09-02 10:01:52 +03:30
amirrezaghabeli d8fc995804 some refactors 2025-09-01 18:18:46 +03:30
amirrezaghabeli cab78c8f4d added string for every screen and removed from app strings 2025-09-01 17:50:51 +03:30
llsajjad 96540c3cb3 Add filter dialog and bottom sheet for tenders 2025-08-31 16:24:35 +03:30
amirrezaghabeli 18834e492d fix web bug and navigations 2025-08-27 07:38:09 +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 fa9ff11376 fixed emty list text ans base button loading 2025-08-23 08:35:59 +03:30
amirrezaghabeli 37f4b20bfa added company profile and fixed some parts 2025-08-20 14:46:06 +03:30
llsajjad 4b0dc4cedf added approved api 2025-08-19 22:22:17 +03:30
amirrezaghabeli 36f66bfca5 merge branches 2025-08-18 08:28:18 +03:30
amirrezaghabeli 1f2dbb21da fixed your tenders dark colors and some logic changed 2025-08-13 11:11:29 +03:30
amirrezaghabeli 4aeb9229a4 networking and error handling 2025-08-12 14:40:49 +03:30
amirrezaghabeli 36c3faa747 refactor codes 2025-08-12 12:16:33 +03:30
llsajjad 8577e038b5 added login to this pages 2025-08-11 16:06:23 +03:30